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/.
11 #include "LoggedResources.hxx"
12 #include <com/sun/star/beans/PropertyValue.hpp>
13 #include <dmapper/PropertyMap.hxx>
15 namespace writerfilter::dmapper
17 /** Handler for sprms that contain 'track changes' attributes
21 (This class is based on work done in 'MeasureHandler')
23 class TrackChangesHandler
: public LoggedProperties
25 RedlineParamsPtr m_pRedlineParams
;
28 virtual void lcl_attribute(Id Name
, Value
& val
) override
;
29 virtual void lcl_sprm(Sprm
& sprm
) override
;
32 explicit TrackChangesHandler(sal_Int32 nToken
);
33 virtual ~TrackChangesHandler() override
;
35 /// Compute the UNO properties for the track changes object based on the received tokens.
36 css::uno::Sequence
<css::beans::PropertyValue
> getRedlineProperties() const;
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */