incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Hopf (JIRA)" <>
Subject [jira] [Commented] (ODFTOOLKIT-193) setStyleLengthAttribute takes no string
Date Fri, 14 Sep 2012 06:15:08 GMT


Florian Hopf commented on ODFTOOLKIT-193:

I already had a quick look at this and have an idea as what needs to be changed in the generator
template. I will see if I can handle it, the templates currently are rather complex.
> setStyleLengthAttribute takes no string
> ---------------------------------------
>                 Key: ODFTOOLKIT-193
>                 URL:
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 0.8.7
>         Environment: Operating System: Linux
> Platform: PC
>            Reporter: teus
>            Assignee: issues
>             Fix For: 0.8.7
> Class StyleDropCapElement has method void setStyleLengthAttribute(Integer styleLengthValue).
This method takes oly an integer. I wanted to set the length of the drop cap to "word". This
works in LibreOffice. It is a possible value for style:length, according to the specification.
> See the specs:
> 19.494 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>
> The values of the style:length attribute are word or a value of type positiveInteger
> May the ODF Toolkit also implement:
> setStyleLengthAttribute(String styleLengthValue)
> Teus

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message