diff options
Diffstat (limited to 'include/svx/framelink.hxx')
-rw-r--r-- | include/svx/framelink.hxx | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/include/svx/framelink.hxx b/include/svx/framelink.hxx index afae83e428e7..708643811eda 100644 --- a/include/svx/framelink.hxx +++ b/include/svx/framelink.hxx @@ -124,14 +124,15 @@ public: inline const Color& GetColorSecn() const { return maColorSecn; } inline const Color& GetColorGap() const { return maColorGap; } inline bool UseGapColor() const { return mbUseGapColor; } - inline double Prim() const { return mnPrim; } - inline double Dist() const { return mnDist; } - inline double Secn() const { return mnSecn; } - double Scale() const; + inline double Prim() const { return mfPrim; } + inline double Dist() const { return mfDist; } + inline double Secn() const { return mfSecn; } + double PatternScale() const; + void SetPatternScale( double fScale ); inline editeng::SvxBorderStyle Type() const { return mnType; } /** Returns the total width of this frame style. */ - inline double GetWidth() const { return mnPrim + mnDist + mnSecn; } + inline double GetWidth() const { return mfPrim + mfDist + mfSecn; } /** Sets the frame style to invisible state. */ void Clear(); @@ -165,10 +166,10 @@ private: Color maColorGap; bool mbUseGapColor; RefMode meRefMode; /// Reference point handling for this frame border. - double mnPrim; /// Width of primary (single, left, or top) line. - double mnDist; /// Distance between primary and secondary line. - double mnSecn; /// Width of secondary (right or bottom) line. - double mfScale; + double mfPrim; /// Width of primary (single, left, or top) line. + double mfDist; /// Distance between primary and secondary line. + double mfSecn; /// Width of secondary (right or bottom) line. + double mfPatternScale; /// Scale used for line pattern spacing. editeng::SvxBorderStyle mnType; }; |