Bump version to 4.3-4
[LibreOffice.git] / writerfilter / source / dmapper / TrackChangesHandler.hxx
blob419c488c2eddcf03ecf19d35539a7d22e28f737c
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_TRACKCHANGESHANDLER_HXX
10 #define INCLUDED_WRITERFILTER_SOURCE_DMAPPER_TRACKCHANGESHANDLER_HXX
12 #include <resourcemodel/LoggedResources.hxx>
13 #include <boost/shared_ptr.hpp>
14 #include <com/sun/star/beans/PropertyValue.hpp>
15 #include <DomainMapper_Impl.hxx>
17 namespace writerfilter {
18 namespace dmapper
20 /** Handler for sprms that contain 'track changes' attributes
21 - Author
22 - Date
23 - ID
24 (This class is based on work done in 'MeasureHandler')
26 class TrackChangesHandler : public LoggedProperties
28 RedlineParamsPtr m_pRedlineParams;
30 // Properties
31 virtual void lcl_attribute(Id Name, Value & val) SAL_OVERRIDE;
32 virtual void lcl_sprm(Sprm & sprm) SAL_OVERRIDE;
34 public:
35 TrackChangesHandler( sal_Int32 nToken );
36 virtual ~TrackChangesHandler();
38 // Compute the UNO properties for the track changes object based on the received tokens.
39 com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> getRedlineProperties() const;
41 typedef boost::shared_ptr
42 < TrackChangesHandler > TrackChangesHandlerPtr;
45 #endif
47 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */