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

DaLi Liu reopened ODFTOOLKIT-311:
---------------------------------


want to add fix version info
                
> TextExtractor uses wrong new line character
> -------------------------------------------
>
>                 Key: ODFTOOLKIT-311
>                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-311
>             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: http://www.atlassian.com/software/jira

Reply via email to