lok: vcl: fix multiple floatwin removal case more robustly.
[LibreOffice.git] / writerfilter / source / dmapper / LatentStyleHandler.hxx
blobfce5455792ae0cfabe5ca956a522b15f496411af
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9 #ifndef INCLUDED_WRITERFILTER_SOURCE_DMAPPER_LATENTSTYLEHANDLER_HXX
10 #define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_LATENTSTYLEHANDLER_HXX
12 #include "LoggedResources.hxx"
13 #include <vector>
14 #include <com/sun/star/beans/PropertyValue.hpp>
16 namespace writerfilter
18 namespace dmapper
21 /// Handler for a latent style (w:lsdException element)
22 class LatentStyleHandler
23 : public LoggedProperties
25 std::vector<css::beans::PropertyValue> m_aAttributes;
27 // Properties
28 void lcl_attribute(Id nId, Value& rVal) override;
29 void lcl_sprm(Sprm& sprm) override;
31 public:
32 LatentStyleHandler();
33 ~LatentStyleHandler() override;
35 const std::vector<css::beans::PropertyValue>& getAttributes() const;
38 } // namespace dmapper
39 } // namespace writerfilter
41 #endif
43 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */