update emoji autocorrect entries from po-files
[LibreOffice.git] / writerfilter / source / dmapper / TrackChangesHandler.hxx
blob3b733e4e82b5f1027dd2d294789cfe8afbd96395
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 "LoggedResources.hxx"
13 #include <memory>
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 explicit TrackChangesHandler( sal_Int32 nToken );
36 virtual ~TrackChangesHandler();
38 /// Compute the UNO properties for the track changes object based on the received tokens.
39 css::uno::Sequence<css::beans::PropertyValue> getRedlineProperties() const;
41 typedef std::shared_ptr<TrackChangesHandler> TrackChangesHandlerPtr;
44 #endif
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */