Re: [Tracker] [cc-devel] Extracting Embedded Licenses



On Fri, 2007-06-22 at 15:00 -0400, Hubert Figuiere wrote:
Jason Kivlighn wrote:
Is this the old msoffice file format? It would be great to also account
for the new msxml and best practices for this. Is there any info on
this?
  
Right, that's the old format.  The CC add-in is only for the older
format, so I don't know how licenses are/could be handled in the new XML
format.  I don't have the newest Office either.

In the Office OpenXML format, they are inside the OpenPackage (the ZIP
file). You have to locate the xml file throught the content table.

I suggest you get the (huge) spec:
 http://www.ecma-international.org/publications/standards/Ecma-376.htm
(it has both .docx and PDF files)

Relevent parts of the spec are:

Part 2, Annex F list the content type.
Part 2, 10. "Core Properties" List the core properties from a package
point of view.
Part 3, 7.2 "Metadata" Explain these properties
Part 4, 7.2 "Extended Properties"
Part 4, 7.3 "Custom Properties" These last two describe the schema and
how to use it.

As for opening these files, libgsf in SVN now support these OpenPackage
files that the Microsoft Office OpenXML supports. This is what Gnumeric
and the AbiWord SoC use to open the new Microsoft files.


Have fun,

Hub

FYI, Hubert is working on MSXML <-> ODF conversion for Novell, right?

jon

-- 
Jon Phillips

San Francisco, CA
USA PH 510.499.0894
jon rejon org
http://www.rejon.org

MSN, AIM, Yahoo Chat: kidproto
Jabber Chat: rejon gristle org
IRC: rejon irc freenode net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]