summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtw8esh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/wrtw8esh.cxx')
-rw-r--r--sw/source/filter/ww8/wrtw8esh.cxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx
index b28f15c1e7f2..ff52fec4f8f3 100644
--- a/sw/source/filter/ww8/wrtw8esh.cxx
+++ b/sw/source/filter/ww8/wrtw8esh.cxx
@@ -1696,6 +1696,21 @@ INT32 SwBasicEscherEx::WriteFlyFrameAttr(const SwFrmFmt& rFmt,
rPropOpt.AddOpt( ESCHER_Prop_lineStyle, eStyle );
rPropOpt.AddOpt( ESCHER_Prop_lineWidth,
DrawModelToEmu( nLineWidth ));
+
+ MSO_LineDashing eDashing = mso_lineSolid;
+ switch ( pLine->GetStyle( ) )
+ {
+ case DASHED:
+ eDashing = mso_lineDashGEL;
+ break;
+ case DOTTED:
+ eDashing = mso_lineDotGEL;
+ break;
+ case SOLID:
+ default:
+ break;
+ }
+ rPropOpt.AddOpt( ESCHER_Prop_lineDashing, eDashing );
rPropOpt.AddOpt( ESCHER_Prop_fNoLineDrawDash, 0x8000E );
//Use import logic to determine how much of border will go