nss: upgrade to release 3.73
[LibreOffice.git] / writerfilter / inc / dmapper / GraphicZOrderHelper.hxx
blob1eadc33dcf8701b2c9ae2d4386e5269c133ca054
1 /*
2 * This file is part of the LibreOffice project.
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 */
9 #ifndef INCLUDED_WRITERFILTER_INC_DMAPPER_GRAPHICZORDERHELPER_HXX
10 #define INCLUDED_WRITERFILTER_INC_DMAPPER_GRAPHICZORDERHELPER_HXX
12 #include <com/sun/star/beans/XPropertySet.hpp>
13 #include <map>
15 namespace writerfilter::dmapper
17 class GraphicZOrderHelper
19 public:
20 void addItem(css::uno::Reference<css::beans::XPropertySet> const& props,
21 sal_Int32 relativeHeight);
22 sal_Int32 findZOrder(sal_Int32 relativeHeight, bool bOldStyle = false);
24 private:
25 using Items = std::map<sal_Int32, css::uno::Reference<css::beans::XPropertySet>>;
26 Items items;
29 } // namespace writerfilter::dmapper
31 #endif // INCLUDED_WRITERFILTER_INC_DMAPPER_GRAPHICZORDERHELPER_HXX
33 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */