You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2018/01/19 02:36:22 UTC
[Bug 62018] New: RichTextString.numFormattingRuns not work on pasted
cell contains styled text.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62018
Bug ID: 62018
Summary: RichTextString.numFormattingRuns not work on pasted
cell contains styled text.
Product: POI
Version: 3.17-FINAL
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
Assignee: dev@poi.apache.org
Reporter: starrybleu@gmail.com
Target Milestone: ---
There is a method numFormattingRuns() in RichTextString class(interface).
I have been using that method to get font and style of a rich text.
However, there is a bug that numFormattingRuns() always return 0(zero) when
processing cell was pasted from other cell with string-level style(it means
partial text was styled, not entire cell).
So I cannot get same returned value of numFormattingRuns() and rich string with
style.
In a case I made change cell string or style on pasted cell, then
numFormattingRuns() returns value that I expected.
I report this bug.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 62018] RichTextString.numFormattingRuns not work on pasted cell
contains styled text.
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62018
Nick Burch <ap...@gagravarr.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
Status|NEW |NEEDINFO
--- Comment #1 from Nick Burch <ap...@gagravarr.org> ---
Could you please upload a very small file that demonstrates the problem? A
junit test using it that shows it would be amazing too, but file and details to
trigger should be enough
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 62018] RichTextString.numFormattingRuns not work on pasted cell
contains styled text.
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62018
Hanbyul Lee <st...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEEDINFO |RESOLVED
--- Comment #2 from Hanbyul Lee <st...@gmail.com> ---
(In reply to Nick Burch from comment #1)
> Could you please upload a very small file that demonstrates the problem? A
> junit test using it that shows it would be amazing too, but file and details
> to trigger should be enough
Hello, Nick. Thanks for your response.
I have made a test code and found there was no bug on common cells.
Sorry for my mistake.
But I should found a bug on my program from a former work colleague.
Thank you anyway!
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org