summaryrefslogtreecommitdiff
path: root/oox/source/token/properties.txt
diff options
context:
space:
mode:
authorEilidh McAdam <eilidh@lanedo.com>2012-09-19 10:01:57 +0100
committerMiklos Vajna <vmiklos@suse.cz>2012-09-19 14:04:21 +0000
commit0423a6741fc08a35b123556f9b10219d090ee42a (patch)
treead7f4b50ddd951f65cd7a79ba4d39a719982998f /oox/source/token/properties.txt
parent891746ed955b110960113ba0de3a51335af50d66 (diff)
Import bezier curves from .docx.
A shape element with a path attribute is interpreted as a bezier. We can support both curve and line commands by using the correct co-ordinate flags when using the UNO interface (omit control points for lines). Alternatively, curves may be specified using the to, from, control1 and control2 attributes of a curve element. Note that when setting the PolyPolygonBezier property of the xshape, the shape size and position are set too large somehow. The workaround for now is manually forcing the pre-calculated shape size and position. Change-Id: If3563474df357d161a2ed2e7a20856d5aed80a94 Reviewed-on: https://gerrit.libreoffice.org/649 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
Diffstat (limited to 'oox/source/token/properties.txt')
-rw-r--r--oox/source/token/properties.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/oox/source/token/properties.txt b/oox/source/token/properties.txt
index 5c917e9d7f29..8d5ab7d5991b 100644
--- a/oox/source/token/properties.txt
+++ b/oox/source/token/properties.txt
@@ -334,6 +334,7 @@ PercentageNumberFormat
PersistName
Perspective
PolyPolygon
+PolyPolygonBezier
PolygonKind
Position
PositionBottom