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/12/18 21:59:29 UTC

[Bug 63017] New: Remove rows from a XSLFTable

https://bz.apache.org/bugzilla/show_bug.cgi?id=63017

            Bug ID: 63017
           Summary: Remove rows from a XSLFTable
           Product: POI
           Version: 4.0.x-dev
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLF
          Assignee: dev@poi.apache.org
          Reporter: kiwiwings@apache.org
  Target Milestone: ---

To calculate the needed space for a table and shift a row to the next slide, it
might be necessary to remove an added row, therefore a new
XSLFTable.removeRow(int rowIndex) has been added.

The anchor calculation can be triggered via XSLFTable.updateCellAnchor(), which
is now public and changes also the table anchor.

Find the corresponding test under TestXSLFTable.testResize().

Furthermore I've discovered, that setting graphics2d.setPaint(null) has no
effect, therefore this is now replaced by returning a transparent paint on
DrawPaint.getPaint() which is usually followed by graphics2d.setPaint()

-- 
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 63017] Remove rows from a XSLFTable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63017

Andreas Beeker <ki...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Andreas Beeker <ki...@apache.org> ---
Applied via r1849244

-- 
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