poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "praveen.400@gmail.com" <praveen....@gmail.com>
Subject Re: POI PPT XSLFTextParagraph know the point of text overflow.
Date Thu, 25 Apr 2019 03:44:45 GMT
kiwiwings wrote
> If the result satisfies you *), then you are able to figure out of the
> point of text overflow, which occurs when getTextHeight() is longer than
> your original textbox ...
> what exactly confuses you when you compare those two values?

On parsing through each RTE element, XSLFTextRun is added to
XSLFTextParagraph, calling getTextHeight will return text height on adding
each element, but I dont see any method in XSLFTextShape to know the
original height of the text box which I can compare against to figure out
the point of overflow. 

Sent from: http://apache-poi.1045710.n5.nabble.com/POI-User-f2280730.html

To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org

View raw message