....but I should have gone on to say that you may be able to calculate what
the height will be. Get the column width. Get the text that will be placed
into is along with information about the font face and size. Next, use the
support available under Java's core api to work out how that text would have
to be formatted - how many rows it should occupy - to fit into the column.
>From that you know how high the row should be to accommodate that many lines
of text.

It is likely that there will be some minor discrepancy between the value you
calculate and the one the application would, but the two should be very
close.



--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Create-Header-XWPF-tp5711976p5712293.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to