Hello Justin, This morning, I had the opportunity to work on the piece of code that I sent to you. Sadly, it is till not copying the formatting information between the source and merged document. I am not at all sure what the cause of the problem is but will continue to look. If I make any progress, I will post a message to the list. The code will work however if all you need to do is merge text from one document into another and if the default font - Times New Roman on my PC - is satisfactory. If that is the case, then just uncomment the line that reads something like this;
newCharRun = range.insertAfter(text); and instead comment out this line; newCharRun = range.insertAfter(text, charProps); Yours Mark B Beltran, Justin wrote: > > Hi all, > > I'm doing initial research on a project and I'm trying to see what how > mature the capabilities are in POI in regards to the following: > > > 1. Parsing text in documents (i.e. in paragraphs, tables, etc.) > > 2. Merging different word documents > > 3. Creating hyperlinks (not to external URLs, but to other places in > document) > > 4. Creating table of contents > > If POI currently doesn't have these capabilities, are there any other open > source Java packages that can deliver the same functionality? Thanks in > advance! > > Justin > > > > > This e-mail is intended solely for the person or entity to which it is > addressed > and may contain confidential and/or privileged information. Any review, > dissemination, > copying, printing or other use of this e-mail by persons or entities other > than the > addressee is prohibited. If you have received this e-mail in error, please > contact > the sender immediately and delete the material from any computer. > To unsubscribe send an email to: [email protected] > Hitachi Consulting Corporation, 2001 Bryan Street, Suite 3600, Dallas, > Texas 75201 > > > -- View this message in context: http://www.nabble.com/Use-cases-for-MS-Word-files-tp24281577p24334849.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]
