incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DaLi Liu (JIRA)" <>
Subject [jira] [Reopened] (ODFTOOLKIT-311) TextExtractor uses wrong new line character
Date Thu, 10 Jan 2013 03:34:12 GMT


DaLi Liu reopened ODFTOOLKIT-311:

want to add fix version info
> TextExtractor uses wrong new line character
> -------------------------------------------
>                 Key: ODFTOOLKIT-311
>                 URL:
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: simple api
>            Reporter: Oliver Rau
>            Assignee: Oliver Rau
>   Original Estimate: 0h
>  Remaining Estimate: 0h
> org.odftoolkit.simple.common.TextExtractor uses '\r' instead of '\n' as new line character.
This leads to problems with other ODF Toolkit processing, as \r is ignored by most line break
helper functions, e.g.  org.odftoolkit.simple.common.WhitespaceProcessor.append(Element, String)
> The best way to see the issue is to use the TextNavigation to find an element inside
of a cell and use replaceWith on the item to replace the value. One can see that the element
value is set correctly but the String value of the cell is set using TextExtractor functionalities
which leads to the Cell Value not containing a new line.
> As the Unit-Tests are also tailored towards the '\r' those need to be updated as well.

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