[
https://issues.apache.org/jira/browse/ODFTOOLKIT-392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095391#comment-14095391
]
william commented on ODFTOOLKIT-392:
------------------------------------
Hello,
By the way, If i just want to get the content value of a Cell no matter it
contains comment or not, which API is correct?
Since i have to use String.subString(...) to generate the value, but if it
returns ruleless value, i can't do it correctly.
Best Regards
William
> cell content is not uniform if contains comment
> -----------------------------------------------
>
> Key: ODFTOOLKIT-392
> URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-392
> Project: ODF Toolkit
> Issue Type: Bug
> Components: odfdom
> Affects Versions: 0.6.1-incubating
> Environment: Linux, Redhat5
> Reporter: william
>
> 1. Define ods file, setup cell content, comment.
> 2. Try with API cell.getDisplayText() or cell.getStringText(), sometimes it
> returns as format "2014-08-13T00:00:00\n{comment}\n{cell content}", but
> sometimes it returns as format "{cell
> content}\n{comment}\n2014-08-13T00:00:00".
> 3. I just want to get the cell content value, if don't setup comment, it's
> returns the same value everytime, otherwise, the Time/Comment/Content is
> ruleless.
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)