summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8
diff options
context:
space:
mode:
authorChen ZuoJun <zjchen@apache.org>2012-10-08 12:21:52 +0000
committerXisco Fauli <anistenis@gmail.com>2013-04-14 17:52:34 +0200
commit4e07258cbd1f4fb16d6ce2174fb5c74c3b36da33 (patch)
tree75e51ac37d3a2de5ac5230c658205d05a25e8211 /sw/source/filter/ww8
parent5bdba378d6fc9f18f618967ec37d07efed2afee4 (diff)
#i119466# Doc file loaded by AOO, table with incorrect text wrapping property.
Reported by: louqle Patch by: Chen Zuo Jun Review by: Lei De Bin
Diffstat (limited to 'sw/source/filter/ww8')
-rw-r--r--sw/source/filter/ww8/ww8par6.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 43277d585541..c503662dea0c 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -1740,6 +1740,10 @@ WW8SwFlyPara::WW8SwFlyPara( SwPaM& rPaM,
nNewNettoWidth = MINFLY; // Minimum
eSurround = ( rWW.nSp37 > 1 ) ? SURROUND_IDEAL : SURROUND_NONE;
+ //#i119466 mapping "Around" wrap setting to "Parallel" for table
+ const bool bIsTable = rIo.pPlcxMan->HasParaSprm(0x2416);
+ if ( bIsTable && rWW.nSp37 == 2 )
+ eSurround = SURROUND_PARALLEL;
/*
#95905#, #83307# seems to have gone away now, so reenable parallel