While cleaning an Office document made with Office 365, mat2 (latest version from master) has thrown these errors:
ERROR: In file /path/to/my/file.docx, element word/charts/chart1.xml's format (application/xml) isn't supportedERROR: In file /path/to/my/file.docx, element word/media/image27.wmf's format (None) isn't supported
The .docx document is then not cleaned at all. I can't easily share the file in question unfortunately, but let me know if you want me to try a few things to debug if needed.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
WMF's format is unlikely to be supported, since it looks like a terrible format.
Yeah it is :/
word/charts/chart1.xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><c:chartSpacexmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart"xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><c:langval="en-US"/><c:roundedCornersval="0"/><c:chart><c:autoTitleDeletedval="1"/><c:plotArea><c:barChart><c:barDirval="col"/><c:groupingval="stacked"/><c:varyColorsval="0"/><c:ser><c:idxval="0"/><c:orderval="0"/><c:tx><c:strRef><c:f>label 0</c:f><c:strCache><c:ptCountval="1"/><c:ptidx="0"><c:v>Moins de 25 ans</c:v></c:pt></c:strCache></c:strRef></c:tx><c:spPr><a:solidFill><a:srgbClrval="81d41a"/></a:solidFill><a:ln><a:noFill/></a:ln></c:spPr><c:invertIfNegativeval="0"/><c:dPt><c:idxval="0"/><c:invertIfNegativeval="0"/><c:spPr><a:solidFill><a:srgbClrval="81d41a"/></a:solidFill><a:ln><a:noFill/></a:ln></c:spPr></c:dPt><c:dLbls><c:dLbl><c:idxval="0"/><c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr><a:defRPrb="0"sz="1000"spc="-1"strike="noStrike"><a:solidFill><a:srgbClrval="ffffff"/></a:solidFill><a:latintypeface="Arial"/></a:defRPr></a:pPr></a:p></c:txPr><c:dLblPosval="ctr"/><c:showLegendKeyval="0"/><c:showValval="0"/><c:showCatNameval="0"/><c:showSerNameval="0"/><c:showPercentval="0"/><c:separator></c:separator></c:dLbl><c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr><a:defRPrb="0"sz="1000"spc="-1"strike="noStrike"><a:solidFill><a:srgbClrval="ffffff"/></a:solidFill><a:latintypeface="Arial"/></a:defRPr></a:pPr></a:p></c:txPr><c:dLblPosval="ctr"/><c:showLegendKeyval="0"/><c:showValval="0"/><c:showCatNameval="0"/><c:showSerNameval="0"/><c:showPercentval="0"/><c:separator></c:separator><c:showLeaderLinesval="0"/></c:dLbls><c:cat><c:strRef><c:f>categories</c:f><c:strCache><c:ptCountval="1"/><c:ptidx="0"><c:v>Age</c:v></c:pt></c:strCache></c:strRef></c:cat><c:val><c:numRef><c:f>0</c:f><c:numCache><c:formatCode>General</c:formatCode><c:ptCountval="1"/><c:ptidx="0"><c:v>27.9</c:v></c:pt></c:numCache></c:numRef></c:val></c:ser><c:ser><c:idxval="1"/><c:orderval="1"/><c:tx><c:strRef><c:f>label 1</c:f><c:strCache><c:ptCountval="1"/><c:ptidx="0"><c:v>De 25 à 49 ans</c:v></c:pt></c:strCache></c:strRef></c:tx><c:spPr><a:solidFill><a:srgbClrval="004586"/></a:solidFill><a:ln><a:noFill/></a:ln></c:spPr><c:invertIfNegativeval="0"/><c:dLbls><c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr><a:defRPrb="0"sz="1000"spc="-1"strike="noStrike"><a:solidFill><a:srgbClrval="ffffff"/></a:solidFill><a:latintypeface="Arial"/></a:defRPr></a:pPr></a:p></c:txPr><c:dLblPosval="ctr"/><c:showLegendKeyval="0"/><c:showValval="0"/><c:showCatNameval="0"/><c:showSerNameval="0"/><c:showPercentval="0"/><c:separator></c:separator><c:showLeaderLinesval="0"/></c:dLbls><c:cat><c:strRef><c:f>categories</c:f><c:strCache><c:ptCountval="1"/><c:ptidx="0"><c:v>Age</c:v></c:pt></c:strCache></c:strRef></c:cat><c:val><c:numRef><c:f>1</c:f><c:numCache><c:formatCode>General</c:formatCode><c:ptCountval="1"/><c:ptidx="0"><c:v>59.4</c:v></c:pt></c:numCache></c:numRef></c:val></c:ser><c:ser><c:idxval="2"/><c:orderval="2"/><c:tx><c:strRef><c:f>label 2</c:f><c:strCache><c:ptCountval="1"/><c:ptidx="0"><c:v>50 ans et plus</c:v></c:pt></c:strCache></c:strRef></c:tx><c:spPr><a:solidFill><a:srgbClrval="999999"/></a:solidFill><a:ln><a:noFill/></a:ln></c:spPr><c:invertIfNegativeval="0"/><c:dPt><c:idxval="0"/><c:invertIfNegativeval="0"/><c:spPr><a:solidFill><a:srgbClrval="999999"/></a:solidFill><a:ln><a:noFill/></a:ln></c:spPr></c:dPt><c:dLbls><c:dLbl><c:idxval="0"/><c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr><a:defRPrb="0"sz="1000"spc="-1"strike="noStrike"><a:solidFill><a:srgbClrval="ffffff"/></a:solidFill><a:latintypeface="Arial"/></a:defRPr></a:pPr></a:p></c:txPr><c:dLblPosval="ctr"/><c:showLegendKeyval="0"/><c:showValval="0"/><c:showCatNameval="0"/><c:showSerNameval="0"/><c:showPercentval="0"/><c:separator></c:separator></c:dLbl><c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr><a:defRPrb="0"sz="1000"spc="-1"strike="noStrike"><a:solidFill><a:srgbClrval="ffffff"/></a:solidFill><a:latintypeface="Arial"/></a:defRPr></a:pPr></a:p></c:txPr><c:dLblPosval="ctr"/><c:showLegendKeyval="0"/><c:showValval="0"/><c:showCatNameval="0"/><c:showSerNameval="0"/><c:showPercentval="0"/><c:separator></c:separator><c:showLeaderLinesval="0"/></c:dLbls><c:cat><c:strRef><c:f>categories</c:f><c:strCache><c:ptCountval="1"/><c:ptidx="0"><c:v>Age</c:v></c:pt></c:strCache></c:strRef></c:cat><c:val><c:numRef><c:f>2</c:f><c:numCache><c:formatCode>General</c:formatCode><c:ptCountval="1"/><c:ptidx="0"><c:v>12.7</c:v></c:pt></c:numCache></c:numRef></c:val></c:ser><c:gapWidthval="100"/><c:overlapval="100"/><c:axIdval="33332658"/><c:axIdval="17625218"/></c:barChart><c:catAx><c:axIdval="33332658"/><c:scaling><c:orientationval="minMax"/></c:scaling><c:deleteval="0"/><c:axPosval="b"/><c:numFmtformatCode="[$-409]mm/dd/yyyy"sourceLinked="1"/><c:majorTickMarkval="out"/><c:minorTickMarkval="none"/><c:tickLblPosval="nextTo"/><c:spPr><a:lnw="9360"><a:solidFill><a:srgbClrval="b3b3b3"/></a:solidFill><a:round/></a:ln></c:spPr><c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr><a:defRPrb="0"sz="1000"spc="-1"strike="noStrike"><a:solidFill><a:srgbClrval="000000"/></a:solidFill><a:latintypeface="Arial"/></a:defRPr></a:pPr></a:p></c:txPr><c:crossAxval="17625218"/><c:crossesval="autoZero"/><c:autoval="1"/><c:lblAlgnval="ctr"/><c:lblOffsetval="100"/><c:noMultiLvlLblval="0"/></c:catAx><c:valAx><c:axIdval="17625218"/><c:scaling><c:orientationval="minMax"/></c:scaling><c:deleteval="1"/><c:axPosval="l"/><c:numFmtformatCode="General"sourceLinked="0"/><c:majorTickMarkval="out"/><c:minorTickMarkval="none"/><c:tickLblPosval="nextTo"/><c:spPr><a:lnw="9360"><a:solidFill><a:srgbClrval="b3b3b3"/></a:solidFill><a:round/></a:ln></c:spPr><c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr><a:defRPrb="0"sz="1000"spc="-1"strike="noStrike"><a:solidFill><a:srgbClrval="000000"/></a:solidFill><a:latintypeface="Arial"/></a:defRPr></a:pPr></a:p></c:txPr><c:crossAxval="33332658"/><c:crossBetweenval="between"/></c:valAx><c:spPr><a:noFill/><a:ln><a:solidFill><a:srgbClrval="b3b3b3"/></a:solidFill></a:ln></c:spPr></c:plotArea><c:legend><c:legendPosval="r"/><c:overlayval="0"/><c:spPr><a:noFill/><a:ln><a:noFill/></a:ln></c:spPr><c:txPr><a:bodyPr/><a:lstStyle/><a:p><a:pPr><a:defRPrb="0"sz="1000"spc="-1"strike="noStrike"><a:solidFill><a:srgbClrval="000000"/></a:solidFill><a:latintypeface="Arial"/></a:defRPr></a:pPr></a:p></c:txPr></c:legend><c:plotVisOnlyval="1"/><c:dispBlanksAsval="gap"/></c:chart><c:spPr><a:noFill/><a:lnw="9360"><a:noFill/></a:ln></c:spPr></c:chartSpace>