diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2013-02-20 11:04:16 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2013-02-20 11:17:00 +0100 |
commit | d0cde9640b52ccfbb28ed1f65bba0927afd7b69b (patch) | |
tree | 18c6342798d98ff8559a3cf26dac4994a2f82998 /writerfilter/source/dmapper/TablePositionHandler.hxx | |
parent | a633a96c3a50d803e5fa43b603edc0b8e2e34b6e (diff) |
n#779642: Fixed floating tables import in writerfilter
Diffstat (limited to 'writerfilter/source/dmapper/TablePositionHandler.hxx')
-rw-r--r-- | writerfilter/source/dmapper/TablePositionHandler.hxx | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/TablePositionHandler.hxx b/writerfilter/source/dmapper/TablePositionHandler.hxx index ea4b15497283..dc096e687d26 100644 --- a/writerfilter/source/dmapper/TablePositionHandler.hxx +++ b/writerfilter/source/dmapper/TablePositionHandler.hxx @@ -12,6 +12,7 @@ #include <WriterFilterDllApi.hxx> #include <resourcemodel/LoggedResources.hxx> #include <boost/shared_ptr.hpp> +#include <com/sun/star/beans/PropertyValue.hpp> namespace writerfilter { namespace dmapper { @@ -21,6 +22,11 @@ namespace writerfilter { : public LoggedProperties { OUString m_aVertAnchor; + OUString m_aYSpec; + OUString m_aHorzAnchor; + OUString m_aXSpec; + sal_Int32 m_nY; + sal_Int32 m_nX; // Properties virtual void lcl_attribute(Id Name, Value & val); @@ -30,7 +36,13 @@ namespace writerfilter { TablePositionHandler(); virtual ~TablePositionHandler(); - OUString getVertAnchor() const; + /** Compute the UNO properties for the frame containing the table based + on the received tokens. + + Note that the properties will need to be adjusted with the table + properties before actually using them. + */ + com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> getTablePosition() const; }; typedef boost::shared_ptr<TablePositionHandler> TablePositionHandlerPtr; |