summaryrefslogtreecommitdiff
path: root/include/filter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-12-02 18:38:14 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-12-02 19:04:18 +0100
commit7f9a03e1b7cf14ae28e3dbd6ac827c04c5e2b85c (patch)
treea85385a63bc3c7ae4999e4131ae41f1631a48dff /include/filter
parent8dbedf1667f2558c682c636ac9162b36d252e362 (diff)
msfilter: add a drawingML -> VML map
This can be used later for the VML or binary export of shapes imported from drawingML. Note that without this, drawingML shapes won't be exported to VML, as e.g. for a triangle it expects a 'isosceles-triangle' type, while the shype's type is 'ooxml-triangle'. Change-Id: I59abc27febdd026c181a7ff38b16c93567058cb9
Diffstat (limited to 'include/filter')
-rw-r--r--include/filter/msfilter/util.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/filter/msfilter/util.hxx b/include/filter/msfilter/util.hxx
index 80a0a8ffa65a..b22c6fbb0f30 100644
--- a/include/filter/msfilter/util.hxx
+++ b/include/filter/msfilter/util.hxx
@@ -15,6 +15,7 @@
#include <tools/color.hxx>
#include <com/sun/star/lang/Locale.hpp>
#include <filter/msfilter/msfilterdllapi.h>
+#include <svx/msdffdef.hxx>
#include <com/sun/star/awt/Size.hpp>
namespace msfilter {
@@ -131,9 +132,12 @@ struct MSFILTER_DLLPUBLIC EquationResult
MSFILTER_DLLPUBLIC EquationResult ParseCombinedChars(const OUString& rStr);
-/// Similar to EnhancedCustomShapeTypeNames::Get(), but it also supports OOXML types.
+/// Similar to EnhancedCustomShapeTypeNames::Get(), but it also supports OOXML types and returns a drawingML string.
MSFILTER_DLLPUBLIC const char* GetOOXMLPresetGeometry( const char* sShapeType );
+/// Similar to EnhancedCustomShapeTypeNames::Get(), but returns an MSO_SPT (binary / VML type).
+MSFILTER_DLLPUBLIC MSO_SPT GETVMLShapeType(OString aType);
+
}
}