diff options
author | Armin Le Grand (allotropia) <armin.le.grand.extern@allotropia.de> | 2024-03-21 16:59:22 +0100 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@me.com> | 2024-03-21 21:39:34 +0100 |
commit | 0cc4333e6fce741c1316c7591e7a4a3e579cec49 (patch) | |
tree | 01cdeebca39955ba5b9c6deff8c33117ab3fb300 /drawinglayer/source/primitive2d/Tools.cxx | |
parent | d8061151acf4e287b60a055a67b84c56989a37af (diff) |
Disable EditViewActive when Metafile output
This was missing in the mechanism to suppress
EditView exclusive content, so it is now also
suppressed in PDF export.
Also changed TextHierarchyEditPrimitive2D to
also decide inside it's local get2DDecomposition
implementation, so it does not need to be#
supported in PrimitiveProcessors (and cannot be
forgotten in future implementations).
Also added support for EditView exclusive
Primitive's name in idToString (missed that).
Change-Id: I61efc9dddb7d6f0190c7b1fb4b0acf98ab5767f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165109
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'drawinglayer/source/primitive2d/Tools.cxx')
-rw-r--r-- | drawinglayer/source/primitive2d/Tools.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drawinglayer/source/primitive2d/Tools.cxx b/drawinglayer/source/primitive2d/Tools.cxx index 9c09ef24ee0c..e20c34a6c4f7 100644 --- a/drawinglayer/source/primitive2d/Tools.cxx +++ b/drawinglayer/source/primitive2d/Tools.cxx @@ -231,6 +231,8 @@ OUString idToString(sal_uInt32 nId) return "FILLEDRECTANGLEPRIMITIVE"; case PRIMITIVE2D_ID_SINGLELINEPRIMITIVE2D: return "SINGLELINEPRIMITIVE"; + case PRIMITIVE2D_ID_EXCLUSIVEEDITVIEWPRIMITIVE2D: + return "EXCLUSIVEEDITVIEWPRIMITIVE2D"; default: return OUString::number((nId >> 16) & 0xFF) + "|" + OUString::number(nId & 0xFF); } |