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: [email protected]
          Reporter: [email protected]
  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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to