Andrey, You can ontain full document text (but without included OLE files!) using TextPieceTable.getText(). It will return text only with all included special chars (no filtering).
Sergey On Tue, Jan 10, 2012 at 11:20 PM, Andrei Khveras <[email protected]> wrote: > Thank you. I'll try look the source code or look for some other solution. > > On Tue, Jan 10, 2012 at 9:47 PM, Nick Burch <[email protected]> wrote: > >> On Tue, 10 Jan 2012, Andrei Khveras wrote: >> >>> Hi. Thank you for prompt reply. Unfortunately, getParagraph() function >>> fetches not paragraphs, but single lines, that ends with >>> newline<http://en.wikipedia.**org/wiki/Newline<http://en.wikipedia.org/wiki/Newline> >>> >symbols. >>> >> >> It'll only do that if someone has done something really really odd with >> their file... HWPF will give you back what's actually in your file, which >> normally means paragraphs as you expect them. It sounds like in your case >> though, someone has created one paragraph per line, and messed about with >> the paragraph spacing! Not a lot we can do to help in the case of such odd >> files - HWPF just gives you what the file contains >> >> >> Nick >> >> ------------------------------**------------------------------**--------- >> To unsubscribe, e-mail: >> [email protected].**org<[email protected]> >> For additional commands, e-mail: [email protected] >> > * > * -- Sergey Vladimirov --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
