summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2012-08-15 13:18:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-05-19 15:08:04 +0100
commitd0a956f1d80aaf4be6d19d339bd46addc8c16861 (patch)
tree9250a7f2c01d9623c7613f56d082e71aa9715d0b /filter
parent42b4dc4f8cad68ebd1386c5b8ea76ffaf59fdeb4 (diff)
Resolves: #i119496# Correct flags AutoGrowWidth/Height for WordArt
Patch by: SunYing Review by: Jianyuan Li, alg(cherry picked from commit 3048c821bb664f39c7b5e2533af4568fbcd22f73) Change-Id: Ib0ea2de7699e94bda81768e210ad7d921aefce48
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/msdffimp.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index b8b92dbaa63a..bc6f9a979198 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -4233,6 +4233,10 @@ SdrObject* SvxMSDffManager::ImportShape( const DffRecordHeader& rHd, SvStream& r
}
if ( GetPropertyValue( DFF_Prop_gtextFStrikethrough, 0 ) & 0x1000 ) // SJ: Font Kerning On ?
aSet.Put( SvxKerningItem( 1, EE_CHAR_KERNING ) );
+
+ // #i119496# the resize autoshape to fit text attr of word art in MS PPT is always false
+ aSet.Put(SdrTextAutoGrowHeightItem(false));
+ aSet.Put(SdrTextAutoGrowWidthItem(false));
}
pRet->SetMergedItemSet( aSet );