diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-08-15 16:31:51 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-08-21 17:48:13 +0200 |
commit | edc4861a68e0269b83b17e0ec57912a1ce4220ad (patch) | |
tree | ce57e67f97f7428e7a2d8a13a931f10e49a48147 /writerfilter/source/dmapper/TablePositionHandler.hxx | |
parent | 25ef6ea63ac2d329b510e921d013f6382b280673 (diff) |
n#775899 initial docx import of w:vertAnchor inside w:tblpPr
Change-Id: I5c848a8d4c860a83d6729b8db40f744afad906d5
Diffstat (limited to 'writerfilter/source/dmapper/TablePositionHandler.hxx')
-rw-r--r-- | writerfilter/source/dmapper/TablePositionHandler.hxx | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/TablePositionHandler.hxx b/writerfilter/source/dmapper/TablePositionHandler.hxx new file mode 100644 index 000000000000..ea4b15497283 --- /dev/null +++ b/writerfilter/source/dmapper/TablePositionHandler.hxx @@ -0,0 +1,42 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +#ifndef INCLUDED_POSITIONHANDLER_HXX +#define INCLUDED_POSITIONHANDLER_HXX + +#include <WriterFilterDllApi.hxx> +#include <resourcemodel/LoggedResources.hxx> +#include <boost/shared_ptr.hpp> + +namespace writerfilter { + namespace dmapper { + + /// Handler for floating table positioning + class WRITERFILTER_DLLPRIVATE TablePositionHandler + : public LoggedProperties + { + OUString m_aVertAnchor; + + // Properties + virtual void lcl_attribute(Id Name, Value & val); + virtual void lcl_sprm(Sprm & sprm); + + public: + TablePositionHandler(); + virtual ~TablePositionHandler(); + + OUString getVertAnchor() const; + }; + + typedef boost::shared_ptr<TablePositionHandler> TablePositionHandlerPtr; + } // namespace dmapper +} // namespace writerfilter + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |