[ 
https://issues.apache.org/jira/browse/ODFTOOLKIT-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florian Hopf updated ODFTOOLKIT-193:
------------------------------------

    Fix Version/s:     (was: odfdom-0.8.7)
    
> setStyleLengthAttribute takes no string
> ---------------------------------------
>
>                 Key: ODFTOOLKIT-193
>                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-193
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: java
>    Affects Versions: odfdom-0.8.7
>         Environment: Operating System: Linux
> Platform: PC
>            Reporter: teus
>            Assignee: issues
>
> 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> 17.9.
> The values of the style:length attribute are word or a value of type 
> positiveInteger 18.2.
> http://odfdom.odftoolkit.org/0.8.7/odfdom/apidocs/doc-files/OpenDocument-v1.2-cd05-part1.html#a_19_494_style_length
> 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: http://www.atlassian.com/software/jira

Reply via email to