diff options
author | Jian Hong Cheng <chengjh@apache.org> | 2012-09-04 08:39:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-13 16:28:57 +0100 |
commit | 12a9b47ec2a892a9c5606a16396992fb6553d7eb (patch) | |
tree | 3a6d6ec3b3a97137d21cacd875d37317ad747ee6 /sw/inc/fmtclds.hxx | |
parent | 7b763893e4c2571f1d8c8afef5491e0e73bff3ea (diff) |
Resolves: #i120133# Doc file saved by Office, section size changed
* sw/inc/fmtclds.hxx
* sw/source/core/layout/atrfrm.cxx
* sw/source/filter/ww8/wrtw8sty.cxx
* sw/source/filter/ww8/ww8atr.cxx
MS Word Binary compatibility
Patch by: Chen Peng,<chenpeng2006@gmail.com>
Found by: Yan Ji,<yanji.yj@gmail.com>
Review by: Jian Hong Cheng,<chengjh@apache.org>
(cherry picked from commit e8c93cc8f28debdcb271030f9466de806e863824)
Conflicts:
sw/inc/fmtclds.hxx
sw/source/core/layout/atrfrm.cxx
Change-Id: Ifbda61cc37933778e3fdad79fb6ee88f9b3cf916
Diffstat (limited to 'sw/inc/fmtclds.hxx')
-rw-r--r-- | sw/inc/fmtclds.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sw/inc/fmtclds.hxx b/sw/inc/fmtclds.hxx index e8c0b512da88..71f039ac059d 100644 --- a/sw/inc/fmtclds.hxx +++ b/sw/inc/fmtclds.hxx @@ -79,7 +79,8 @@ class SW_DLLPUBLIC SwFmtCol : public SfxPoolItem SwColLineAdj eAdj; ///< Line will be adjusted top, centered or bottom. SwColumns aColumns; ///< Information concerning the columns. - sal_uInt16 nWidth; ///< Total desired width of all columns. + sal_uInt16 nWidth; ///< Total desired width of all columns. + sal_Int16 aWidthAdjustValue; sal_Bool bOrtho; /**< Only if this flag is set, the setting of GutterWidth will be accompanied by a "visual rearrangement". @@ -93,6 +94,9 @@ public: SwFmtCol(); SwFmtCol( const SwFmtCol& ); ~SwFmtCol(); + //#i120133# + sal_Int16 GetAdjustValue() const { return aWidthAdjustValue; } + void SetAdjustValue( const sal_Int16& n ) { aWidthAdjustValue = n; } SwFmtCol& operator=( const SwFmtCol& ); |