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; diff --git a/oox/source/token/properties.txt b/oox/source/token/properties.txt index b868f3638356..0bcde87f83f0 100644 --- a/oox/source/token/properties.txt +++ b/oox/source/token/properties.txt @@ -364,6 +364,7 @@ TargetFrame TextAutoGrowHeight TextBreak TextColor +TextFitToSize TextHorizontalAdjust TextLeftDistance TextLowerDistance