https://bugs.documentfoundation.org/show_bug.cgi?id=164201
--- Comment #5 from Justin L <[email protected]> --- A lot of shenanigans here. GetFilter().getVersion() == oox::core::ECMA_376_1ST_EDITION The version comes from FileFormatVersion, but that is not one of the getArgs values. It is defined in oox/core/filterbase.hxx as enum OoxmlVersion { ECMA_376_1ST_EDITION, ISOIEC_29500_2008 } The mapping between the FilterName and FileFormatVersion comes from filter/source/config/fragments/filters/OOXML_Text.xcu and MS_Word_2007_XML.xcu <node oor:name="Office Open XML Text" oor:op="replace"> <!-- ISO/IEC 29500:2008 --> <prop oor:name="FileFormatVersion"><value>1</value></prop> <prop oor:name="Type"><value>writer_OOXML</value></prop> So, it is sufficient to just setArgs( "FilterName" "Office Open XML Text" -- You are receiving this mail because: You are the assignee for the bug.
