Next in thread →
Next in month →
RE: Editing Office Version & XML indent
Hi Svante Iâm using LibreOffice version 6.3.6.2 for Windows 10. I update LibreOffice when prompted. If I check for updates, LibreOffice says my copy is up-to-date. I could update to version 6.4.5, but I have tended not to think if myself as an âearly adopterâ. 😊 I generally use the Grid view in Oxygen to read content.xml, so I havenât been bothered by the lack of pretty printing, but I have now set âprettyprintingâ to âtrueâ in my copy of LibreOffice. Kind regards, Francis From: Svante Schubert <> Sent: 03 July 2020 18:43 To: Francis Cave <> Cc: Subject: Editing Office Version & XML indent Hello Francis, What office version are you currently using? The meta.xml of your last document was empty, so I could not figure it out. Same LibreOffice version for editing ODF TC deliverables It might be reasonable if we are working all with the same LibreOffice version for editing the ODF specification documents. The idea behind the above is that multiple people can load & save deliverable documents without changing unintentionally something. Therefore, I would suggest settling with the latest stable version 6.4.5.2: https://www.libreoffice.org/download/download/ Otherwise, state your version and I install your old one. Enabling Pretty Printing As I would like to be able to edit the content.xml easier and get some impression on what changes you made, therefore I would, in addition, suggest enabling XML indent by LibreOffice. Michael was so kind explaining to me how this can be enabled in LibreOffice - usual XML indent does not work as it would add whitespaces inside paragraph elements. Two ways to enable prettyprinting: Tools->Options->Advanced->Expert Configuration Search for "prettyprinting" and enable it. Open the config file registrymodifications.xcu within Windows: <USER SETTINGS> = %APPDATA%\libreoffice\4\user\ Linux: <USER SETTINGS> = ~/.config/libreoffice/4/user/ and add the following: <item oor:path="/org.openoffice.Office.Common/Save/Document"><prop oor:name="PrettyPrinting" oor:op="fuse"><value>true</value></prop></item> I taste option#1 successfully. Best regards, Svante
Next in thread →
Next in month →