diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-07 13:27:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-07 14:12:17 +0100 |
commit | 54f9576aa43e3d6d687469aa0b2ea56ce0bbaca3 (patch) | |
tree | 4c127b3e4b4fd9014c4254a2a28bfb68858a255c /sw/source/filter/ww8/wrtw8nds.cxx | |
parent | Related: tdf#93676 in msword chart appears with axis positioned between ticks (diff) | |
download | core-54f9576aa43e3d6d687469aa0b2ea56ce0bbaca3.tar.gz core-54f9576aa43e3d6d687469aa0b2ea56ce0bbaca3.zip |
Related: tdf#93675 'new' ms-alike numbering has same problem as old numbering
when it comes to nodes which were numbered, but have their number deleted,
where the indent from the numbering is still in effect in writer, but not
in msoffice.
Change-Id: I700f34171d8c9e9f6fb725d115ff1fe704ceb4bb
Diffstat (limited to 'sw/source/filter/ww8/wrtw8nds.cxx')
-rw-r--r-- | sw/source/filter/ww8/wrtw8nds.cxx | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index a6fdbd6b34f7..14ac38b14f06 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -2627,15 +2627,19 @@ void MSWordExportBase::OutputTextNode( const SwTextNode& rNode ) SvxNumberFormat::LABEL_WIDTH_AND_POSITION ) { aLRSpace.SetTextLeft( aLRSpace.GetLeft() + rNumFormat.GetAbsLSpace() ); + } + else + { + aLRSpace.SetTextLeft( aLRSpace.GetLeft() + rNumFormat.GetIndentAt() ); + } - // new first line indent = 0 - // (first line indent is ignored for NO_NUMLEVEL) - if (!bParaRTL) - aLRSpace.SetTextFirstLineOfst( 0 ); + // new first line indent = 0 + // (first line indent is ignored for NO_NUMLEVEL) + if (!bParaRTL) + aLRSpace.SetTextFirstLineOfst( 0 ); - // put back the new item - pTmpSet->Put( aLRSpace ); - } + // put back the new item + pTmpSet->Put( aLRSpace ); // assure that numbering rule is in <pTmpSet> if (SfxItemState::SET != pTmpSet->GetItemState(RES_PARATR_NUMRULE, false) ) |