Niklas Nebel schrieb: > Tom Schindl wrote: >> From your mail i got the feeling that this is not possible at the moment >> in OpenOffice. Wouldn't it be a simple to restore this non-odf values >> e.g. as strings next to the object and insert them back when saving the >> object (I know this is not so easy but you may get my point :-). > > It's possible, but you need one indirection: The marker is added to an > (automatic) cell style, your processing code has to keep track of which > cell style contains which marker, and react on a cell with a style with > a marker. > > You don't even have to manually edit the content.xml file. A cell's > foreign attributes (from its style) are available in the API property > "UserDefinedAttributes". > > Niklas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Well ok let's see whether I understood it. You are talking about style.xml: -------------8<------------- <office:automatic-styles> -------------8<------------- or about contex.xml -------------8<------------- <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default"> -------------8<------------- Does this only apply to cell-styles (style:family="table-cell") or also to others like style:family="table-row", ... . Another problem is that the a style could be applied to more than one row, cell, ... but the template directive doesn't, or am i missunderstanding something completely? Tom
signature.asc
Description: OpenPGP digital signature
