Is the file to be output in the 'new' xml format that Microsoft has recently 
adopted for Word documents? If so, then I would suggest that you visit 
Sourceforge to see if anyone has coded a tool to parse/create this type of 
file; I know that someone has already done so for SpreadsheetML.

Christian Bongiorno <[EMAIL PROTECTED]> wrote: Hey all, I am new to this list 
and I was hoping for some insight on how 
to use POI to solve a problem I have.

I am currently tasked with updating some code that outputs MSHTML that 
word interprets as a doc. The guy who wrote the code actually hardcoded 
hundreds of lines of MSHTML/XML in java, and inserted the fields he 
needed. Sample:

 "1         \n" +
                "INTRODUCTION\n" +
                "\n" +
                "This\n" +
                "assessment report has been generated upon completion of 
an automated\n" +
                "certification and accreditation of the <
style='mso-bidi-font-style:normal'>PCI
                "style='color:black'> Facility
style='color:black'>>. It\n" +
                "describes the processes used by the facility to 
register and issue PIV Cards to\n" +
                "approved personnel in the PIV system. 

\n" +
                "\n" +
                "

                "style='color:black'>This assessment
style='color:black'> was conducted\n" +
                "based on requirements of FIPS 201, 
As you can see. This is hack. So, I am desperately trying to improve it 
now that I have been tasked with updating it.

ideally what I would like is to have a Template .DOT file and Identify 
fields in it that I can then update programatically and save out. I can 
do anything I like with the DOT that makes this easier but I simply know 
nothing of the MS document format spec to accomplish this.

Ideas anyone?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/




 
---------------------------------
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.

Reply via email to