Line data Source code
1 : /*
2 : * This file is part of the LibreOffice project.
3 : *
4 : * This Source Code Form is subject to the terms of the Mozilla Public
5 : * License, v. 2.0. If a copy of the MPL was not distributed with this
6 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 : */
8 :
9 : #ifndef INCLUDED_WRITERFILTER_INC_DMAPPER_GRAPHICZORDERHELPER_HXX
10 : #define INCLUDED_WRITERFILTER_INC_DMAPPER_GRAPHICZORDERHELPER_HXX
11 :
12 : #include <com/sun/star/beans/XPropertySet.hpp>
13 : #include <map>
14 :
15 : namespace writerfilter
16 : {
17 : namespace dmapper
18 : {
19 1884 : class GraphicZOrderHelper
20 : {
21 : public:
22 : void addItem(css::uno::Reference<css::beans::XPropertySet> const& props, sal_Int32 relativeHeight);
23 : sal_Int32 findZOrder(sal_Int32 relativeHeight, bool bOldStyle = false);
24 : private:
25 : typedef std::map< sal_Int32, css::uno::Reference<css::beans::XPropertySet> > Items;
26 : Items items;
27 : };
28 :
29 : } // namespace dmapper
30 : } // namespace writerfilter
31 :
32 : #endif // INCLUDED_WRITERFILTER_INC_DMAPPER_GRAPHICZORDERHELPER_HXX
33 :
34 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|