diff options
author | Muthu Subramanian <sumuthu@suse.com> | 2012-09-10 18:26:13 +0530 |
---|---|---|
committer | Muthu Subramanian K <sumuthu@suse.com> | 2012-10-13 13:31:49 +0530 |
commit | 27109f48d82af6b1058220340dfd17e912bc3dcf (patch) | |
tree | 57d231e78e25c9439b1b40f082c04fb8cdc88144 /oox | |
parent | 28a2ae34a4bc97a526cf75a2766089ff0f2c54c1 (diff) |
n#778859: Non autofit text are imported as autofit.
Push default values if <bodyPr> exists.
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/textbodypropertiescontext.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/oox/source/drawingml/textbodypropertiescontext.cxx b/oox/source/drawingml/textbodypropertiescontext.cxx index 711da4c88713..4cd0cfe2361c 100644 --- a/oox/source/drawingml/textbodypropertiescontext.cxx +++ b/oox/source/drawingml/textbodypropertiescontext.cxx @@ -123,6 +123,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; } // -------------------------------------------------------------------- |