OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: Editing Office Version & XML indent

Hi Svante


Iâm using LibreOffice version 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,






From: Svante Schubert <svante.schubert@gmail.com>
Sent: 03 July 2020 18:43
To: Francis Cave <francis@franciscave.com>
Cc: office@lists.oasis-open.org
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

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:

  1. Tools->Options->Advanced->Expert Configuration
    Search for "prettyprinting" and enable it.
  2. 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,



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]