Bump version to 4.3-4
[LibreOffice.git] / writerfilter / source / dmapper / LatentStyleHandler.hxx
blobb7c412849842870fa20a24c37f2433ac4c492fcf
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 <resourcemodel/LoggedResources.hxx>
13 #include <boost/shared_ptr.hpp>
14 #include <vector>
15 #include <com/sun/star/beans/PropertyValue.hpp>
17 namespace writerfilter
19 namespace dmapper
22 /// Handler for a latent style (w:lsdException element)
23 class LatentStyleHandler
24 : public LoggedProperties
26 std::vector<css::beans::PropertyValue> m_aAttributes;
28 // Properties
29 virtual void lcl_attribute(Id Name, Value& val) SAL_OVERRIDE;
30 virtual void lcl_sprm(Sprm& sprm) SAL_OVERRIDE;
32 public:
33 LatentStyleHandler();
34 virtual ~LatentStyleHandler();
36 com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> getAttributes() const;
39 typedef boost::shared_ptr<LatentStyleHandler> LatentStyleHandlerPtr;
40 } // namespace dmapper
41 } // namespace writerfilter
43 #endif
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */