Dave Calkins wrote:
Matt Needles wrote:
If I were doing this, to avoid trying to produce a binary file in a
format that is not documented outside of Redmond, I would try
producing
a file using the new Office XML format. That might be easier, too.
I didn't think the new format opened in older versions of office. I
don't think we want to require our customers to have Office 2007.
Does OOo support the new format?
That format was introduced with Office 2003. OOo 2.x supports it.
Interesting; I'll check if requiring 2003/2.x or newer is ok. Now
that you mentioned it, I've used XML with Word before (i.e., created a
template file in Word with placeholder values, saved it as XML then
just done a search/replace to create the actual document), however, I
thought Office 2007 had a new open format though which wasn't the same
as the XML formats used by the previous versions. Granted, if the
older XML format works and the version requirements are ok, that might
be the way to go.
Dave
fyi, someone pointed me to the below link, which has some info on the
binary format.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/html/vsofficedev.asp
See "Office Document Format Information". Granted, they're suggesting
you use the OS APIs to do the generation to ensure compatibility, which
would be a step down from the OOo code which I'm guessing just does it
directly.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]