summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Kysilka <goldenfish@linuxsoft.cz>2012-06-25 21:06:42 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-07-02 09:55:28 +0200
commitcb34f044ce09d6b03620941d5882c3625a36b69c (patch)
treeb5967ba58eed59ddde252066f691f3420e4c6a2c
parent0ee9dc2f85dba7938cc5ebbfd11be8f337703484 (diff)
implement shape lineWidth
Change-Id: I5a6fd4c8fcb2641cdceabcd58c3fa0ccae059d25
-rw-r--r--writerfilter/source/rtftok/rtfsdrimport.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfsdrimport.cxx b/writerfilter/source/rtftok/rtfsdrimport.cxx
index e6daa4570ec6..9ba957ea5665 100644
--- a/writerfilter/source/rtftok/rtfsdrimport.cxx
+++ b/writerfilter/source/rtftok/rtfsdrimport.cxx
@@ -160,6 +160,12 @@ void RTFSdrImport::resolve(RTFShape& rShape)
aAny <<= i->second.toInt32()*100/65536;
xPropertySet->setPropertyValue("RotateAngle", aAny);
}
+ else if (i->first == "lineWidth" && xPropertySet.is())
+ {
+
+ aAny <<= i->second.toInt32()/360;
+ xPropertySet->setPropertyValue("LineWidth", aAny);
+ }
else if ( i->first == "pVerticies" )
{
uno::Sequence<drawing::EnhancedCustomShapeParameterPair> aCoordinates;