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 2016/06/09 23:14:09 UTC

[Bug 59686] Error when trying to access XSLFTableCell properties like textHeight, lineWidth, etc.

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|PC                          |All
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
                 OS|                            |All
            Version|3.14-FINAL                  |3.15-dev

--- Comment #1 from Andreas Beeker <ki...@apache.org> ---
Thanks for bringing this up - fixed with r1747605

So getTextHeight() didn't crash on my test, but getLineWidth() did.
Just recently I've implemented the rendering of xslf tables.
One of the methods where were necessary is XSLFTable.updateCellAnchor() which
calculates the positions of the cells and their anchors.
This method is triggered, when you call XSLFTableCell.getAnchor() the first
time ... maybe this info is useful to you.

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