From 5b75c17f207d2156e17430ef3e31b5784804b9f7 Mon Sep 17 00:00:00 2001 From: Muthu Subramanian Date: Mon, 10 Sep 2012 18:26:13 +0530 Subject: n#778859: Non autofit text are imported as autofit. Push default values if exists. --- oox/source/drawingml/textbodypropertiescontext.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'oox') diff --git a/oox/source/drawingml/textbodypropertiescontext.cxx b/oox/source/drawingml/textbodypropertiescontext.cxx index 5bae9f00ab1f..e3c0e1be34dd 100644 --- a/oox/source/drawingml/textbodypropertiescontext.cxx +++ b/oox/source/drawingml/textbodypropertiescontext.cxx @@ -113,6 +113,10 @@ TextBodyPropertiesContext::TextBodyPropertiesContext( ContextHandler& rParent, } mrTextBodyProp.maPropertyMap[ PROP_TextVerticalAdjust ] <<= mrTextBodyProp.meVA; } + + // Push defaults + mrTextBodyProp.maPropertyMap[ PROP_TextAutoGrowHeight ] <<= false; + mrTextBodyProp.maPropertyMap[ PROP_TextFitToSize ] <<= drawing::TextFitToSizeType_NONE; } // -------------------------------------------------------------------- -- cgit