summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/textbodypropertiescontext.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@openoffice.org>2010-03-23 16:18:50 +0200
committerTor Lillqvist <tml@openoffice.org>2010-03-23 16:18:50 +0200
commitc64f2525f94845357004513e20f4ee06aa1fb01a (patch)
tree935e109b568ab8c0a783fd0a5ca25c61052a880a /oox/source/drawingml/textbodypropertiescontext.cxx
parentdf76a685ca3a9cbb17ccf3b73c0eb110237db429 (diff)
ooxml10: fit-list-to-size-ooxml.diff from ooo-build
Diffstat (limited to 'oox/source/drawingml/textbodypropertiescontext.cxx')
-rw-r--r--oox/source/drawingml/textbodypropertiescontext.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/oox/source/drawingml/textbodypropertiescontext.cxx b/oox/source/drawingml/textbodypropertiescontext.cxx
index a1b77c56b219..95e01a6cc59e 100644
--- a/oox/source/drawingml/textbodypropertiescontext.cxx
+++ b/oox/source/drawingml/textbodypropertiescontext.cxx
@@ -150,6 +150,9 @@ Reference< XFastContextHandler > TextBodyPropertiesContext::createFastChildConte
mrTextBodyProp.maPropertyMap[ PROP_TextAutoGrowHeight ] <<= false; // CT_TextNoAutofit
break;
case NMSP_DRAWINGML|XML_normAutofit: // CT_TextNormalAutofit
+ mrTextBodyProp.maPropertyMap[ PROP_TextFitToSize ] <<= true;
+ mrTextBodyProp.maPropertyMap[ PROP_TextAutoGrowHeight ] <<= false;
+ break;
case NMSP_DRAWINGML|XML_spAutoFit:
mrTextBodyProp.maPropertyMap[ PROP_TextAutoGrowHeight ] <<= true;
break;