diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-10-15 11:23:39 +0200 |
---|---|---|
committer | Regina Henschel <rb.henschel@t-online.de> | 2024-11-12 14:05:10 +0100 |
commit | 3dcd0f4a4cd62f56e75c5f62df9284dc24882f72 (patch) | |
tree | 0d00ae4066ab40c5c3467809b50b5f55b12998aa /xmloff/source/core | |
parent | ccb96251ea15c3252010416377dd185205206cbd (diff) |
tdf#162691: ODF 1.4 Add support for xy and polar handle new attributes
Co-author: Regina Henschel
This implements the new draw:handle attributes of ODF 1.4. For reasons
for new attributes see https://issues.oasis-open.org/browse/OFFICE-4110
The old attributes are deprecated but may still be written. So we keep
them to be backward compatible.
Change-Id: I0b3443d000b2b163363f9070e5e276af2b018cbb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174966
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'xmloff/source/core')
-rw-r--r-- | xmloff/source/core/xmltoken.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx index 70c1f0ec01c0..7b6e4a269602 100644 --- a/xmloff/source/core/xmltoken.cxx +++ b/xmloff/source/core/xmltoken.cxx @@ -2584,11 +2584,17 @@ namespace xmloff::token { TOKEN( "handle-mirror-horizontal" , XML_HANDLE_MIRROR_HORIZONTAL ), TOKEN( "handle-switched" , XML_HANDLE_SWITCHED ), TOKEN( "handle-position" , XML_HANDLE_POSITION ), + TOKEN( "handle-position-x" , XML_HANDLE_POSITION_X ), + TOKEN( "handle-position-y" , XML_HANDLE_POSITION_Y ), TOKEN( "handle-range-x-minimum" , XML_HANDLE_RANGE_X_MINIMUM ), TOKEN( "handle-range-x-maximum" , XML_HANDLE_RANGE_X_MAXIMUM ), TOKEN( "handle-range-y-minimum" , XML_HANDLE_RANGE_Y_MINIMUM ), TOKEN( "handle-range-y-maximum" , XML_HANDLE_RANGE_Y_MAXIMUM ), TOKEN( "handle-polar" , XML_HANDLE_POLAR ), + TOKEN( "handle-polar-angle", XML_HANDLE_POLAR_ANGLE ), + TOKEN( "handle-polar-radius", XML_HANDLE_POLAR_RADIUS ), + TOKEN( "handle-polar-pole-x", XML_HANDLE_POLAR_POLE_X ), + TOKEN( "handle-polar-pole-y", XML_HANDLE_POLAR_POLE_Y ), TOKEN( "handle-radius-range-minimum" , XML_HANDLE_RADIUS_RANGE_MINIMUM ), TOKEN( "handle-radius-range-maximum" , XML_HANDLE_RADIUS_RANGE_MAXIMUM ), TOKEN( "rectangle" , XML_RECTANGLE ), |