From 5a50bb1701b44c6c765acd80aa38dc13e7ab9eed Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 24 Oct 2013 13:05:21 +0200 Subject: writerfilter: implement MeasureHandler::getInteropGrabBag() This allows e.g. storing a table style's w:tblPr -> w:tblInd -> w:type. Change-Id: I653edc8912ce4e61c703bfffc6e3dcf322295b6f --- writerfilter/source/dmapper/MeasureHandler.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'writerfilter/source/dmapper/MeasureHandler.hxx') diff --git a/writerfilter/source/dmapper/MeasureHandler.hxx b/writerfilter/source/dmapper/MeasureHandler.hxx index 01556145c332..b1e7c57a0edd 100644 --- a/writerfilter/source/dmapper/MeasureHandler.hxx +++ b/writerfilter/source/dmapper/MeasureHandler.hxx @@ -22,6 +22,7 @@ #include #include #include +#include namespace writerfilter { namespace dmapper @@ -36,6 +37,9 @@ class WRITERFILTER_DLLPRIVATE MeasureHandler : public LoggedProperties sal_Int32 m_nUnit; sal_Int16 m_nRowHeightSizeType; //table row height type + OUString m_aInteropGrabBagName; + std::vector m_aInteropGrabBag; + // Properties virtual void lcl_attribute(Id Name, Value & val); virtual void lcl_sprm(Sprm & sprm); @@ -50,6 +54,8 @@ public: sal_Int32 getUnit() const { return m_nUnit; } sal_Int16 GetRowHeightSizeType() const { return m_nRowHeightSizeType;} + void enableInteropGrabBag(OUString aName); + beans::PropertyValue getInteropGrabBag(); }; typedef boost::shared_ptr < MeasureHandler > MeasureHandlerPtr; -- cgit