summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/MeasureHandler.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-10-24 13:05:21 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-10-24 13:08:45 +0200
commit5a50bb1701b44c6c765acd80aa38dc13e7ab9eed (patch)
tree2556c5bbeaea6d56c3f83d69142b9648cf098a6b /writerfilter/source/dmapper/MeasureHandler.hxx
parent10b12c965d29a91a4fda7b684caaf1ec738daa91 (diff)
writerfilter: implement MeasureHandler::getInteropGrabBag()
This allows e.g. storing a table style's w:tblPr -> w:tblInd -> w:type. Change-Id: I653edc8912ce4e61c703bfffc6e3dcf322295b6f
Diffstat (limited to 'writerfilter/source/dmapper/MeasureHandler.hxx')
-rw-r--r--writerfilter/source/dmapper/MeasureHandler.hxx6
1 files changed, 6 insertions, 0 deletions
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 <WriterFilterDllApi.hxx>
#include <resourcemodel/LoggedResources.hxx>
#include <boost/shared_ptr.hpp>
+#include <com/sun/star/beans/PropertyValue.hpp>
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<beans::PropertyValue> 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;