Thanks Piet, your knowledge on the matter is really helpful!
Seeing your advice I can only imagine how many errors my templates contains. Just two questions: - How do you validate your FODT files? - Do you have a preferred documentation reference for generating FODT files? I think that the error UI is not correctly describing what is an XML error and it should prompt a more specific error message (for example "Cannot save malformed XML") and maybe a technical detail could be outputted to in the console. I submitted the following bug report: https://bugs.documentfoundation.org/show_bug.cgi?id=125019 Maybe this issue is impacting even other users. Thanks, Francesco On 27/04/19 17:49, Piet van Oostrum wrote: > Francesco Ongaro <[email protected]> writes: > >> >> By removing the whole 'FooterTable_Row' it successfully saves an FODT. >> >> By removing 'style:family="table-cell"' it successfully saves an FODT. >> > You should put the table-related styled (style:family="table*") inside the > <office:automatic-styles> rather than the <office:styles>. > > <office:styles> is meant to be used for named styles that the user can select > through the user interface, for example the Styles and Formatting side bar, > or the Styles menu. The user interface doesn't have named table column, row > or cell styles. On the other hand <office:automatic-styles> is for styles > that are directly set in an object. > > With these changes (and the corrections to the XML in my previous message), > it works.) > -- To unsubscribe e-mail to: [email protected] Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy
