incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Hopf (JIRA)" <>
Subject [jira] [Updated] (ODFTOOLKIT-193) setStyleLengthAttribute takes no string
Date Wed, 19 Dec 2012 06:07:13 GMT


Florian Hopf updated ODFTOOLKIT-193:

    Fix Version/s:     (was: odfdom-0.8.7)
> setStyleLengthAttribute takes no string
> ---------------------------------------
>                 Key: ODFTOOLKIT-193
>                 URL:
>             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>
> 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