summaryrefslogtreecommitdiff
path: root/sw/qa/extras
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 /sw/qa/extras
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 'sw/qa/extras')
0 files changed, 0 insertions, 0 deletions