summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-10-17 13:08:10 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-10-17 13:31:40 +0200
commit299433d148850d7b3561fe3fcd78968a52749f09 (patch)
treeabbceb2497ce80871f14c68bd07f1802860a2107 /writerfilter
parentdb1a183f8f2fa73dbaaa40ff61a03235223f3336 (diff)
import RTF_DOBYPARA
Change-Id: Ifcfc6e1aca86960f72bcf2a8c7865b192ca1a491
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 5ae93e1dd3f2..192cb3b2e988 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -2330,6 +2330,14 @@ int RTFDocumentImpl::dispatchFlag(RTFKeyword nKeyword)
m_aStates.top().aDrawingObject.aPendingProperties.push_back(aPropertyValue);
}
break;
+ case RTF_DOBYPARA:
+ {
+ beans::PropertyValue aPropertyValue;
+ aPropertyValue.Name = OUString("HoriOrientRelation");
+ aPropertyValue.Value <<= text::RelOrientation::FRAME;
+ m_aStates.top().aDrawingObject.aPendingProperties.push_back(aPropertyValue);
+ }
+ break;
case RTF_CONTEXTUALSPACE:
{
RTFValue::Pointer_t pValue(new RTFValue(1));