LibreOffice Module writerfilter (master) 1
rtfskipdestination.cxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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
11#include <sal/log.hxx>
12#include "rtflistener.hxx"
13
15{
17 : m_rImport(rImport)
18 , m_bParsed(true)
19 , m_bReset(true)
20{
21}
22
24{
26 {
27 if (!m_bParsed)
28 {
29 SAL_INFO("writerfilter", __func__ << ": skipping destination");
31 }
33 }
34}
35
36void RTFSkipDestination::setParsed(bool bParsed) { m_bParsed = bParsed; }
37
38void RTFSkipDestination::setReset(bool bReset) { m_bReset = bReset; }
39
40} // namespace writerfilter::rtftok
41
42/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const SvXMLImport & m_rImport
RTFTokenizer needs a class implementing this interface.
Definition: rtflistener.hxx:41
virtual void setDestination(Destination eDestination)=0
virtual void setSkipUnknown(bool bSkipUnknown)=0
bool m_bReset
If false, the destructor is a noop, required by the * symbol itself.
#define SAL_INFO(area, stream)