[ 
https://issues.apache.org/jira/browse/ODFTOOLKIT-384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13905457#comment-13905457
 ] 

Nick Evans commented on ODFTOOLKIT-384:
---------------------------------------

I'm not sure if this is a LibreOffice problem.  The ODF spec also states the 
following:
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1416274_253892949
"Styles and font face declarations are referenced by their style:name 
attribute. A referenced style or font face declaration should be defined in the 
same file as the reference, or in styles.xml. "

In this case, the reference is in styles.xml itself, which means the style 
should also be defined in styles.xml.  In this way, it seems that LibreOffice 
is behaving correctly when it does not find the referenced style (and therefore 
doesn't show the cell as formatted in the desired way).  

I will add some code which creates the style in the styles.xml file so that the 
desired situation becomes visible in LibreOffice.



> Problem with even/uneven styles in spreadsheet
> ----------------------------------------------
>
>                 Key: ODFTOOLKIT-384
>                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-384
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: simple api
>    Affects Versions: 0.7-incubating
>            Reporter: Svante Schubert
>         Attachments: CellFormatTest.java, CellFormatTest.java, 
> SmallCellsEmpty.ods
>
>
> see 
> http://mail-archives.apache.org/mod_mbox/incubator-odf-users/201401.mbox/%3CCANgbAJgKwDgZUPqhTqcq7A-bKbi-uCpNccsFTOx1jYeDOwvzfg%40mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to