diff options
author | Radek Doulik <rodo@novell.com> | 2012-09-18 18:42:22 +0200 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2012-09-18 18:51:22 +0200 |
commit | d0014dae70cf3be897e5cb910b298b54b7f4e941 (patch) | |
tree | 813fc4c03ffe61f26732f540466bfa665fa3b1d4 /offapi/com | |
parent | 1964eff66c1d6f5103d3100ac642bcaf2a4536fa (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/com')
-rw-r--r-- | offapi/com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.idl | 5 |
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 73b8dc686585..60afa802e2f0 100644 --- a/offapi/com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.idl +++ b/offapi/com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.idl @@ -36,6 +36,11 @@ struct EnhancedCustomShapeAdjustmentValue /** */ ::com::sun::star::beans::PropertyState State; + + + /** optional name, used by pptx import/export for custom shape presets + */ + string Name; }; |