diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2023-07-05 14:04:17 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2023-07-05 19:54:17 +0200 |
commit | 6efc72b99a08384e56c5a4da7918177be60b3b09 (patch) | |
tree | 67e228fb3914c392a009bc0191a63287678fed8c /include/cui/dlgname.hxx | |
parent | 082993c38e68089282b42fdb46179ac2574d61d5 (diff) |
tdf#138504 svx,etc.: decorative flag on SdrObject shapes
* SdrObject new member m_IsDecorative
* new Undo SdrUndoObjDecorative
* surprising amount of changes in sw including additional SwUndoFlyDecorative
* svx API SvxShape property "Decorative"
* UI checkbox "Decorative"
* ODF import/export as loext:decorative on style:graphic-properties
* PDF/UA export: ViewObjectContcat tag shapes with this flag as Artifact
Change-Id: I37f7a0597eab92c6c6aff94fad6c16c59b231c80
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154063
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'include/cui/dlgname.hxx')
-rw-r--r-- | include/cui/dlgname.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/cui/dlgname.hxx b/include/cui/dlgname.hxx index 1a7ffc4f3bd5..04fc5610e937 100644 --- a/include/cui/dlgname.hxx +++ b/include/cui/dlgname.hxx @@ -110,12 +110,16 @@ private: // description std::unique_ptr<weld::TextView> m_xEdtDescription; + std::unique_ptr<weld::CheckButton> m_xDecorativeCB; + public: // constructor - SvxObjectTitleDescDialog(weld::Window* pWindow, const OUString& rTitle, const OUString& rDesc); + SvxObjectTitleDescDialog(weld::Window* pWindow, const OUString& rTitle, const OUString& rDesc, + bool isDecorative); // data access OUString GetTitle() const { return m_xEdtTitle->get_text(); } OUString GetDescription() const { return m_xEdtDescription->get_text(); } + bool IsDecorative() const { return m_xDecorativeCB->get_active(); } }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |