https://bugs.freedesktop.org/show_bug.cgi?id=70180

--- Comment #3 from Mike Kaganski <[email protected]> ---
(In reply to comment #2)
I would begin at sw/source/core/text/txtdrop.cxx (it looks promising).

But even before that, I would recommend you to read ODF documentation
(https://www.oasis-open.org/standards#opendocumentv1.2).
Specifically, OpenDocument spec part 1.

17.9 <style:drop-cap>
> The <style:drop-cap> element specifies if the first character or more of a
> paragraph is displayed in a larger font, that spans multiple lines.
> The <style:drop-cap> element is usable within the following element:
> <style:paragraphproperties> 17.6.
> The <style:drop-cap> element has the following attributes: style:distance 
> 19.473,
> style:length 19.492, style:lines 19.494 and style:style-name 19.514.
> The <style:drop-cap> element has no child elements.

19.492 style:length
> The style:length attribute specifies the number of characters that are
> displayed in a larger font.
> The defined values for the style:length attribute are:
> ● word: specifies a set of characters to be displayed in a larger font.
> ● a value of type positiveInteger 18.2
> Note: What will be treated as a “word” by a consumer is locale specific.
> The default value for this attribute is 1.
> The style:length attribute is usable with the following element: 
> <style:drop-cap> 17.9.
> The values of the style:length attribute are word or a value of type 
> positiveInteger 18.2.

19.494 style:lines
> The style:lines attribute specifies the number of text lines which a font
> spans. If the value of this attribute is 1, <style:drop-cap> is disabled.
> The default value for this attribute is 1.
> The style:lines attribute is usable with the following element: 
> <style:drop-cap> 17.9.
> The style:lines attribute has the data type positiveInteger 18.2.

This makes this not an easy affair, because your proposal requires the change
in the standard. It's not impossible, just more work.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to