LibreOffice Module writerfilter (master) 1
OOXMLFastContextHandlerTheme.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
14#include <com/sun/star/uno/XComponentContext.hpp>
15#include <com/sun/star/xml/sax/XFastContextHandler.hpp>
18#include <rtl/ref.hxx>
19#include "OOXMLParserState.hxx"
20#include "OOXMLPropertySet.hxx"
22
23namespace writerfilter::ooxml
24{
26{
27private:
29
30public:
32 std::string getType() const override { return "Theme"; }
33
34protected:
36 Token_t Element,
37 const css::uno::Reference<css::xml::sax::XFastAttributeList>& Attribs) override;
38 void lcl_endFastElement(Token_t Element) override;
39 css::uno::Reference<css::xml::sax::XFastContextHandler> lcl_createFastChildContext(
40 Token_t Element,
41 const css::uno::Reference<css::xml::sax::XFastAttributeList>& Attribs) override;
42 virtual void lcl_characters(const OUString& aChars) override;
43};
44
45} // end namespace writerfilter::ooxml
46
47/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual void lcl_characters(const OUString &aChars) override
std::string getType() const override
Returns a string describing the type of the context.
css::uno::Reference< css::xml::sax::XFastContextHandler > lcl_createFastChildContext(Token_t Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
void lcl_startFastElement(Token_t Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
rtl::Reference< oox::drawingml::ThemeFragmentHandler > mpThemeFragmentHandler
sal_Int32 Token_t