Lines Matching refs:orLineDash
58 void lclSetDashData( LineDash& orLineDash, sal_Int16 nDots, sal_Int32 nDotLen, in lclSetDashData() argument
61 orLineDash.Dots = nDots; in lclSetDashData()
62 orLineDash.DotLen = nDotLen; in lclSetDashData()
63 orLineDash.Dashes = nDashes; in lclSetDashData()
64 orLineDash.DashLen = nDashLen; in lclSetDashData()
65 orLineDash.Distance = nDistance; in lclSetDashData()
73 void lclConvertPresetDash( LineDash& orLineDash, sal_Int32 nPresetDash ) in lclConvertPresetDash() argument
77 case XML_dot: lclSetDashData( orLineDash, 1, 1, 0, 0, 3 ); break; in lclConvertPresetDash()
78 case XML_dash: lclSetDashData( orLineDash, 0, 0, 1, 4, 3 ); break; in lclConvertPresetDash()
79 case XML_dashDot: lclSetDashData( orLineDash, 1, 1, 1, 4, 3 ); break; in lclConvertPresetDash()
81 case XML_lgDash: lclSetDashData( orLineDash, 0, 0, 1, 8, 3 ); break; in lclConvertPresetDash()
82 case XML_lgDashDot: lclSetDashData( orLineDash, 1, 1, 1, 8, 3 ); break; in lclConvertPresetDash()
83 case XML_lgDashDotDot: lclSetDashData( orLineDash, 2, 1, 1, 8, 3 ); break; in lclConvertPresetDash()
85 case XML_sysDot: lclSetDashData( orLineDash, 1, 1, 0, 0, 1 ); break; in lclConvertPresetDash()
86 case XML_sysDash: lclSetDashData( orLineDash, 0, 0, 1, 3, 1 ); break; in lclConvertPresetDash()
87 case XML_sysDashDot: lclSetDashData( orLineDash, 1, 1, 1, 3, 1 ); break; in lclConvertPresetDash()
88 case XML_sysDashDotDot: lclSetDashData( orLineDash, 2, 1, 1, 3, 1 ); break; in lclConvertPresetDash()
92 lclSetDashData( orLineDash, 0, 0, 1, 4, 3 ); in lclConvertPresetDash()
101 void lclConvertCustomDash( LineDash& orLineDash, const LineProperties::DashStopVector& rCustomDash ) in lclConvertCustomDash() argument
106 lclSetDashData( orLineDash, 0, 0, 1, 4, 3 ); in lclConvertCustomDash()
130 orLineDash.DotLen = (nDots > 0) ? ::std::max< sal_Int32 >( nDotLen / nDots, 1 ) : 0; in lclConvertCustomDash()
131 orLineDash.Dots = nDots; in lclConvertCustomDash()
132 orLineDash.DashLen = (nDashes > 0) ? ::std::max< sal_Int32 >( nDashLen / nDashes, 1 ) : 0; in lclConvertCustomDash()
133 orLineDash.Dashes = nDashes; in lclConvertCustomDash()
134 orLineDash.Distance = ::std::max< sal_Int32 >( nDistance / rCustomDash.size(), 1 ); in lclConvertCustomDash()