diff options
author | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2019-08-10 12:11:38 +0200 |
---|---|---|
committer | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2019-08-15 22:43:51 +0200 |
commit | 606a88d2abf85aa6edcc1fa26dc50cab6de3241f (patch) | |
tree | d96ab0cd8b9f0e93f2a58ad7b2824262cd95a609 /oox/inc | |
parent | 8e0918a04ee6797909264943eba23707b224c34c (diff) |
tdf#126746 Add support for import/export line caps for .pptx format
With this commit I have added importing and exporting line caps,
which could be (for pptx format:
rnd Round Line Cap
sq Square Line Cap
flat Flat Line Cap
Also exporting of these caps are added.
Change-Id: I799485048a2a7ac8df89f004e177d507f86ce99d
Reviewed-on: https://gerrit.libreoffice.org/77233
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Tested-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Diffstat (limited to 'oox/inc')
-rw-r--r-- | oox/inc/drawingml/lineproperties.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/oox/inc/drawingml/lineproperties.hxx b/oox/inc/drawingml/lineproperties.hxx index 512c1aba5fe6..b0d27a278373 100644 --- a/oox/inc/drawingml/lineproperties.hxx +++ b/oox/inc/drawingml/lineproperties.hxx @@ -23,6 +23,7 @@ #include <utility> #include <vector> +#include <com/sun/star/drawing/LineCap.hpp> #include <com/sun/star/drawing/LineJoint.hpp> #include <com/sun/star/drawing/LineStyle.hpp> #include <oox/dllapi.h> @@ -74,6 +75,8 @@ struct OOX_DLLPUBLIC LineProperties /** Calculates the line style attribute from the internal state of the object */ css::drawing::LineStyle getLineStyle() const; + /** Calculates the line cap attribute from the internal state of the object */ + css::drawing::LineCap getLineCap() const; /** Calculates the line joint attribute from the internal state of the object */ css::drawing::LineJoint getLineJoint() const; /** Calculates the line width attribute from the internal state of the object */ |