Document source: See URL Steps how to reproduce: Download sample document, open with LibO Version mentioned below, save under new name, then do validator tests. Text document saved with: LibreOffice 3.5.3.2 (RC2) German UI/Locale [Build-ID: 235ab8a-3802056-4a8fed3-2d66ea8-e241b80] on German WIN7 Home Premium (64bit) PDF File Format: 1.2 Extended Validation results (+ = ok, - = not ok), Message behind ":" - odf-validator.rhcloud: Error: attribute "draw:fit-to-size" has a bad value. Possible values are: false,true - Officeotron: bad value for attribute "fit-to-size" from namespace - Cyclone: Error: in styles.xml – Expecting element map, got graphic-properties // Element style has extra content: graphic-properties // Extra element style in interleave // Invalid sequence in interleave // Element styles failed to validate content > ODFToolkit: no test rewult > opendocumentfellowship: no test result I do not know whether additional "Cyclone" messages are related
Same problem: Document source: 30519 - Bad transitions if "use hardware acceleration" is enabled attachment 39102 [details] Steps how to reproduce: Download sample document, open with LibO Version mentioned below, then do validator tests Text document saved with: LibreOffice 3.5.3.2 (RC2) German UI/Locale [Build-ID: 235ab8a-3802056-4a8fed3-2d66ea8-e241b80] on German WIN7 Home Premium (64bit) PDF File Format: 1.2 Extended Validation results (+ = ok, - = not ok), Message behind + odf-validator.rhcloud: styles.xml[2,13354]: Error: attribute "draw:fit-to-size" has a bad value. Possible values are: false,true + Officeotron: (styles.xml:2 col:13,354) bad value for attribute "fit-to-size" from namespace + Cyclone: Expecting element map, got graphic-properties – Element style has extra content: graphic-properties-- xtra element style in interleave – Invalid sequence in interleave – Element styles failed to validate content + ODFToolkit: not tested
The attribute only allows boolean values (ODF 1.2, §20.123 [1]). However, maybe inspired by MS OOXML standards (I don't know them), LibO uses "shrink-to-fit", "stretch-to-fit" and "best-fit". [2] [3] The ODF does not support these specifications. [1] http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1419674_253892949 (Big file) [2] http://opengrok.libreoffice.org/xref/core/oox/source/dump/dffdumper.ini#425 [3] http://opengrok.libreoffice.org/xref/core/svx/inc/svx/sdtfsitm.hxx#36
additional non-standard draw:fit-to-size values are only written in ODF 1.2 extended mode since bug 45534 was fixed. *** This bug has been marked as a duplicate of bug 45534 ***