Lineproperties of preset dashes (linestyles) in LibreOffice ***** 1: Ultrafine Dashed Dots 1 DotLen 51 Dashes 1 DashLen 51 Distance 51 ***** 2: Fine Dashed Dots 1 DotLen 197 Dashes 0 DashLen 0 Distance 197 ***** 3: 2 Dots 3 Dashes Dots 2 DotLen 51 Dashes 3 DashLen 254 Distance 127 ***** 4: Fine Dotted Dots 1 DotLen 0 Dashes 0 DashLen 0 Distance 457 ***** 5: Line with Fine Dots Dots 1 DotLen 2007 Dashes 10 DashLen 0 Distance 152 ***** 6: 3 Dashes 3 Dots Dots 3 DotLen 197 Dashes 3 DashLen 0 Distance 100 ***** 7: Ultrafine Dotted Dots 1 DotLen 0 Dashes 0 DashLen 0 Distance 50 ***** 8: Line Style 9 Dots 1 DotLen 197 Dashes 0 DashLen 0 Distance 120 ***** 9: 2 Dots 1 Dash Dots 2 DotLen 0 Dashes 1 DashLen 203 Distance 203 ***** 10: Dashed Dots 1 DotLen 197 Dashes 0 DashLen 0 Distance 127 ***** You can query these values if you insert these lines into drawingml.cxx, around "case drawing::LineStyle_DASH:" In the case of shapes after this line: "aLineDash = mAny.get();" In the case of charts/diagrams after this line: "aLineDash = aAny.get();" SAL_DEBUG("Dots"); SAL_DEBUG(aLineDash.Dots); SAL_DEBUG("DotLen"); SAL_DEBUG(aLineDash.DotLen); SAL_DEBUG("Dashes"); SAL_DEBUG(aLineDash.Dashes); SAL_DEBUG("DashLen"); SAL_DEBUG(aLineDash.DashLen); SAL_DEBUG("Distance"); SAL_DEBUG(aLineDash.Distance); Make sure there is an inclusion for debugging: #include Then you can run this from command line: SAL_LOG=-INFO instdir/program/soffice --convert-to docx ../filename.docx The result of the conversion will be placed into LOdev directory. *****