summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2012-09-18 18:42:22 +0200
committerRadek Doulik <rodo@novell.com>2012-10-15 15:35:43 +0200
commit0f53a5de76e4ac5d9e655bcfc08418706eef838c (patch)
tree2865411932d23b995f4454d4f041ec0b7ccc8c4b /offapi
parent707efee607b3f30ff6e4baaee6a09ac8d216cbba (diff)
better pptx custom shape presets import/export
- sometimes we produced unreadable pptx document with custom shape presets - fixes part of n#760997 - before we rely on simple rule that adjustments were named adj1, adj2, ... in case of multiple adjustments and named adj in case there was only one. there are few exceptions though, so now we use exact adjustment names defined in presetShapeDefinitions.xml - TODO: there still might be problem when exporting custom shapes, which didn't originated in pptx import Change-Id: Ic9517a69145a295ba6f680ddc3cc30fc771db3fd
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.idl5
1 files changed, 5 insertions, 0 deletions
diff --git a/offapi/com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.idl b/offapi/com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.idl
index c6aad3818db2..230ca0fade66 100644
--- a/offapi/com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.idl
+++ b/offapi/com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.idl
@@ -47,6 +47,11 @@ struct EnhancedCustomShapeAdjustmentValue
/**
*/
::com::sun::star::beans::PropertyState State;
+
+
+ /** optional name, used by pptx import/export for custom shape presets
+ */
+ string Name;
};
//=============================================================================