summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2023-07-06 16:57:08 +0200
committerMichael Stahl <michael.stahl@allotropia.de>2023-07-06 20:28:40 +0200
commite751d59264c369cfc342dab5f0759be12341d306 (patch)
treedf91e2ddc4dfbc3e23ac61970640776f87e5229a /include
parent13d71843510964a98d3c480d1e42533bdd34deab (diff)
tdf#141058 oox,sw: OOXML import/export of decorative on shapes
Also add a test for PPTX (using the oox filters), and add a SdrObject to the testTdf143311 for DOCX (using the writerfilter/docxsdrexport). Change-Id: Iccee46c0d30316c33c0947b117e2604c96fa0182 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154137 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'include')
-rw-r--r--include/oox/drawingml/shape.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/oox/drawingml/shape.hxx b/include/oox/drawingml/shape.hxx
index 72ce51ef6476..ccf477bef805 100644
--- a/include/oox/drawingml/shape.hxx
+++ b/include/oox/drawingml/shape.hxx
@@ -174,6 +174,7 @@ public:
void setId( const OUString& rId ) { msId = rId; }
const OUString& getId() const { return msId; }
void setDescription( const OUString& rDescr ) { msDescription = rDescr; }
+ void setDecorative(bool const isDecorative) { m_isDecorative = isDecorative; }
void setHidden( bool bHidden ) { mbHidden = bHidden; }
void setHiddenMasterShape( bool bHiddenMasterShape ) { mbHiddenMasterShape = bHiddenMasterShape; }
void setLocked( bool bLocked ) { mbLocked = bLocked; }
@@ -356,6 +357,7 @@ protected:
OUString msInternalName; // used by diagram; not displayed in UI
OUString msId;
OUString msDescription;
+ bool m_isDecorative = false;
sal_Int32 mnSubType; // if this type is not zero, then the shape is a placeholder
std::optional< sal_Int32 > moSubTypeIndex;