diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-12-13 20:45:19 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-12-13 20:45:19 +0100 |
commit | 7012e5fc7509f2c61dcde736103edc5087a62909 (patch) | |
tree | 8ba57909ce66e68beaac4bef670471cf1c6164d0 /writerfilter/inc | |
parent | fa15bd13a974ed29abe1a851f8d7873db26ca455 (diff) |
Avoid '#include "../'
Change-Id: I1ae598269b81095dc7d6ad83044f228d1297bfb8
Diffstat (limited to 'writerfilter/inc')
-rw-r--r-- | writerfilter/inc/dmapper/GraphicZOrderHelper.hxx | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/writerfilter/inc/dmapper/GraphicZOrderHelper.hxx b/writerfilter/inc/dmapper/GraphicZOrderHelper.hxx new file mode 100644 index 000000000000..60c6b493fe85 --- /dev/null +++ b/writerfilter/inc/dmapper/GraphicZOrderHelper.hxx @@ -0,0 +1,34 @@ +/* + * 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_WRITERFILTER_INC_DMAPPER_GRAPHICZORDERHELPER_HXX +#define INCLUDED_WRITERFILTER_INC_DMAPPER_GRAPHICZORDERHELPER_HXX + +#include <com/sun/star/beans/XPropertySet.hpp> +#include <map> + +namespace writerfilter +{ +namespace dmapper +{ +class GraphicZOrderHelper +{ +public: + void addItem(css::uno::Reference<css::beans::XPropertySet> const& props, sal_Int32 relativeHeight); + sal_Int32 findZOrder(sal_Int32 relativeHeight, bool bOldStyle = false); +private: + typedef std::map< sal_Int32, css::uno::Reference<css::beans::XPropertySet> > Items; + Items items; +}; + +} // namespace dmapper +} // namespace writerfilter + +#endif // INCLUDED_WRITERFILTER_INC_DMAPPER_GRAPHICZORDERHELPER_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |