1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
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>
15 #include <com/sun/star/beans/PropertyValue.hpp>
17 namespace writerfilter
22 /// Handler for a latent style (w:lsdException element)
23 class LatentStyleHandler
24 : public LoggedProperties
26 std::vector
<css::beans::PropertyValue
> m_aAttributes
;
29 virtual void lcl_attribute(Id Name
, Value
& val
) SAL_OVERRIDE
;
30 virtual void lcl_sprm(Sprm
& sprm
) SAL_OVERRIDE
;
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
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */