LibreOffice Module writerperfect (master) 1
XMLBase64ImportContext.hxx
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
10#pragma once
11
12#include <librevenge/RVNGBinaryData.h>
13
14#include <tools/stream.hxx>
15
16#include "xmlictxt.hxx"
17
18namespace writerperfect::exp
19{
22{
23public:
25
26 void SAL_CALL
27 startElement(const OUString& rName,
28 const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
29 void SAL_CALL endElement(const OUString& rName) override;
30 void SAL_CALL characters(const OUString& rChars) override;
31
32 const librevenge::RVNGBinaryData& getBinaryData() const;
33
34private:
35 librevenge::RVNGBinaryData m_aBinaryData;
38};
39
40} // namespace writerperfect::exp
41
42/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void SAL_CALL endElement(const OUString &rName) override
const librevenge::RVNGBinaryData & getBinaryData() const
void SAL_CALL startElement(const OUString &rName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs) override
void SAL_CALL characters(const OUString &rChars) override
Base class for a handler of a single XML element during ODF -> librevenge conversion.
Definition: xmlictxt.hxx:23
ODT export feeds this class to make librevenge calls.
Definition: xmlimp.hxx:69