https://bugs.documentfoundation.org/show_bug.cgi?id=157350
--- Comment #19 from Jambunathan K <[email protected]> --- (In reply to Stéphane Guillou (stragu) from comment #17) > (In reply to Regina Henschel from comment #16) > > You need to remove direct formatting from the table. Otherwise the styles > > from the template will not become active. > > Thank you Regina for pointing what should have been my obvious first try, > before digging into the XML... > > Jambunathan, if you clear the table's direct formatting in both the before > and after ODTs, you'll end up with the same formatting. When you say "clear direct formatting" did you attach the table cells to the table styles from styles.xml ... My assumption was that when the table style names are left out-----that is, NO direct formatting (with names from content.xml-local automatic styles), or NO custom formatting (with names from styles.xml-local custom styles)----- then LO should look at the table template name to infer the cell styles, and attach the respective style (with same names as style that appears in styles.xml or an automatic name whose XML definition is same as what appears in styles.xml) I really would like to see your hand-edited XML file. (If you re-save LO rewrites XML, and it gets difficult track with automatically generated numbers) I will be happy if Regina or you could clarify what you tried at your end. If you share an artefacts that you created as part of investigating this bug, please share it, before you throw it away. -- You are receiving this mail because: You are the assignee for the bug.
