diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-06-07 11:49:10 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-06-07 12:26:09 +0200 |
commit | a22ef599bd3fdcf0bd5c3616aa566a5922624ff3 (patch) | |
tree | ebf5e8e234208effa4888fb17c152246e056eaf4 /oox | |
parent | e57eeb6d5f547a4a49df796641141c733f6c5204 (diff) |
bnc#820788 VML import of v:textbox's mso-fit-shape-to-text style property
Change-Id: I74a0ecd50ca61a4f5bf7ebdbf12743dc1fd9368a
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/vml/vmltextboxcontext.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/oox/source/vml/vmltextboxcontext.cxx b/oox/source/vml/vmltextboxcontext.cxx index ca124bcb4d18..0adf9431ff03 100644 --- a/oox/source/vml/vmltextboxcontext.cxx +++ b/oox/source/vml/vmltextboxcontext.cxx @@ -187,6 +187,10 @@ TextBoxContext::TextBoxContext( ContextHandler2Helper& rParent, TextBox& rTextBo if( ConversionHelper::separatePair( aName, aValue, sStyle.getToken( 0, ';', nIndex ), ':' ) ) { if( aName == "layout-flow" ) rTextBox.maLayoutFlow = aValue; + else if (aName == "mso-fit-shape-to-text") + rTextBox.mrTypeModel.mbAutoHeight = true; + else + SAL_WARN("oox", "unhandled style property: " << aName); } } } |