Saving as OOXML strict vs transitional

Howdy,

I searched the Writer Guide and the ask forum with no luck on this question.

In LibreOffice I would like save (export) files to the OOXML format. I
would like to if possible create OOXML strict files vs transitional files.

Now in the Save As dialog there are a number of different choices for .docx
(as one example) file type.

Two of these is "Word 2007-265 (.docx)" / "Word 2007-365 (.docm) and I'm
going out on a limb and guessing these generate 'transitional' files.

The other choice is "Office Open XML Text (.docx)" and I'm going to guess
this is 'strict'.

Can anyone tell if that is correct?

Thanks so much for you help.

Drew

Hi Drew,

Howdy,

I searched the Writer Guide and the ask forum with no luck on this question.

In LibreOffice I would like save (export) files to the OOXML format. I
would like to if possible create OOXML strict files vs transitional files.

Now in the Save As dialog there are a number of different choices for .docx
(as one example) file type.

Two of these is "Word 2007-265 (.docx)" / "Word 2007-365 (.docm) and I'm
going out on a limb and guessing these generate 'transitional' files.

The other choice is "Office Open XML Text (.docx)" and I'm going to guess
this is 'strict'.

Can anyone tell if that is correct?

No, it is not 'strict'. To be "strict" it would need an attribute conformance="strict". If that is missing it is "transitional". The attribute should be in subfile word/document.xml in node w:document. Same for presentations. There it should be in subfile ppt/presentation.xml in node p.presentation.

For presentations exists roundtrip bug https://bugs.documentfoundation.org/show_bug.cgi?id=119087.

Kind regards
Regina

Howdy Regina,

Thank you very much.