Most of the foreign elements and markers are lost when the file is saved. I am also interested in adding some custom attributes or information to ODF files.
Is there a recommended way of adding more information to an ODF document using the existing schema that would be persisted through saving in OO? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 29, 2006 10:10 AM To: [email protected] Subject: Re: [dev] Adding my own tags into ODF-Format Tom Schindl wrote: > thanks for your reply I think the easiest soltion would use the > attribute way described in the last mail I sent. Is it allowed to have > custom attributes in ODF? Do you just want to load the file, ignoring the extra content, or do you need to preserve your markers? Foreign elements and attributes are ignored in most places. In a few places, like style:table-cell-properties in a cell style, foreign attributes are read and preserved. In the case of a cell style, they are then included when the cell is copied or moved, and written again in the cell's style when the file is saved. Niklas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
