Version 6.4.0.3, tag libreoffice-6.4.0.3
[LibreOffice.git] / writerfilter / source / dmapper / TrackChangesHandler.hxx
blob9143986e2ab6ff7b0de244c9237555f14f76e3db
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 <com/sun/star/beans/PropertyValue.hpp>
14 #include "DomainMapper_Impl.hxx"
16 namespace writerfilter {
17 namespace dmapper
19 /** Handler for sprms that contain 'track changes' attributes
20 - Author
21 - Date
22 - ID
23 (This class is based on work done in 'MeasureHandler')
25 class TrackChangesHandler : public LoggedProperties
27 RedlineParamsPtr m_pRedlineParams;
29 // Properties
30 virtual void lcl_attribute(Id Name, Value & val) override;
31 virtual void lcl_sprm(Sprm & sprm) override;
33 public:
34 explicit TrackChangesHandler( sal_Int32 nToken );
35 virtual ~TrackChangesHandler() override;
37 /// Compute the UNO properties for the track changes object based on the received tokens.
38 css::uno::Sequence<css::beans::PropertyValue> getRedlineProperties() const;
42 #endif
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */