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_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
{
19 /** Handler for sprms that contain 'track changes' attributes
23 (This class is based on work done in 'MeasureHandler')
25 class TrackChangesHandler
: public LoggedProperties
27 RedlineParamsPtr m_pRedlineParams
;
30 virtual void lcl_attribute(Id Name
, Value
& val
) override
;
31 virtual void lcl_sprm(Sprm
& sprm
) override
;
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;
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */