The obvious answer is to create an additional paragraph but this has all
sorts of complications if the end user adjusts the paragraph spacing for
example. What I think you need to do is to find the coding for the line
break (shift and enter). It should be possible to find out the correct pair
of characters to insert into the document to accomplish this. You could then
simply include the control characters into the run and that should be
sufficient to accomplish what you are after. It might be worthwhile starting
with reading a a Word document with HWPF and seeing what you get back for
the shift/enter pairing. Alternatively, create an OOXML word document and
unzip the xml to look at what is stored in the markup and see if that gives
you any clues. Aside from that, I guess GIYF.

Mark B



--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/new-line-in-HWPF-Cell-tp5711093p5711112.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