diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-03-18 12:29:36 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-03-18 12:33:12 -0400 |
commit | 24b4fbfa39f212c769bf4d966258a8fb4c98c201 (patch) | |
tree | 2d7552fe6254b5d624f83ac8431a4025cc9e092b /include/svx | |
parent | 50d5b97a776342d3f032f3df2f2f2c90b02d7f34 (diff) |
fdo#75260: More adjustments.
1) Offset top and left border lines only for double lines.
2) Don't apply zoom level scaling to border widths. That's used for line
pattern spacing only.
Change-Id: I12bdd1492531cc6651e22955c3dca4bdda0f1e4c
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/framelink.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/svx/framelink.hxx b/include/svx/framelink.hxx index 729518904180..cdc221d1d4e1 100644 --- a/include/svx/framelink.hxx +++ b/include/svx/framelink.hxx @@ -125,7 +125,8 @@ public: inline double Prim() const { return mfPrim; } inline double Dist() const { return mfDist; } inline double Secn() const { return mfSecn; } - double Scale() const; + double PatternScale() const; + void SetPatternScale( double fScale ); inline editeng::SvxBorderStyle Type() const { return mnType; } /** Returns the total width of this frame style. */ @@ -166,7 +167,7 @@ private: 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 mfScale; + double mfPatternScale; /// Scale used for line pattern spacing. editeng::SvxBorderStyle mnType; }; |