OpenOffice-OODoc - Re: new version to create empty odt file and modify style properties

Posted on Fri Sep 15 17:31:16 2006 by jeunice in response to 3039 (See the whole thread of 4)
Re: new version to create empty odt file and modify style properties

Inside source code, I update 'Text body' or 'Text_20_body', but for Quotations, I cant update it, I can't find it's display name, So I just create it myself, I mainly use this style for my source code in report. Need your suggestion, I will check OO specification to find Quotations' display name to improvement this little script file.

Don't look too long, as it's not there. Quotations seems to be a "phantom" style--one that the OpenOffice code knows about, and will record it in the style component of documents that use it--but one that is not written to a document unless it is used.

With OpenOffice::OODoc, you are not using the OpenOffice code base and machinery to manipulate OpenOffice files. Rather, you are using Perl modules that operate directly on the ZIP archives and XML contents of ODF files. So not all the functionality you find in OpenOffice will be available. This happens to include default definitions for a number of styles.

Write a response