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 /svx | |
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 'svx')
-rw-r--r-- | svx/source/sdr/contact/objectcontactofpageview.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx index 33e3c3a1a637..ff79d5b88444 100644 --- a/svx/source/sdr/contact/objectcontactofpageview.cxx +++ b/svx/source/sdr/contact/objectcontactofpageview.cxx @@ -224,8 +224,10 @@ namespace sdr::contact if (static_cast<SdrPaintView&>(mrPageWindow.GetPageView().GetView()).IsTextEdit()) aNewViewInformation2D.setTextEditActive(true); - // this is the EditView repaint, provide that information - aNewViewInformation2D.setEditViewActive(true); + // this is the EditView repaint, provide that information, + // but only if we do not export to metafile + if (!isOutputToRecordingMetaFile()) + aNewViewInformation2D.setEditViewActive(true); updateViewInformation2D(aNewViewInformation2D); |