LibreOffice Module xmloff (master)
1
xmloff
source
transform
MergeElemTContext.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
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
#pragma once
21
22
#include <rtl/ref.hxx>
23
#include "
FlatTContext.hxx
"
24
#include <vector>
25
26
typedef ::std::vector< ::rtl::Reference< XMLPersTextContentTContext> >
27
XMLPersTextContentTContextVector
;
28
29
class
XMLMergeElemTransformerContext
:
public
XMLTransformerContext
30
{
31
css::uno::Reference< css::xml::sax::XAttributeList >
m_xAttrList
;
32
XMLPersTextContentTContextVector
m_aChildContexts
;
33
sal_uInt16
const
m_nActionMap
;
34
bool
m_bStartElementExported
;
35
36
void
ExportStartElement
();
37
38
public
:
39
XMLMergeElemTransformerContext
(
XMLTransformerBase
& rTransformer,
40
const
OUString& rQName,
41
sal_uInt16 nActionMap );
42
43
virtual
rtl::Reference<XMLTransformerContext>
CreateChildContext
( sal_uInt16 nPrefix,
44
const
OUString& rLocalName,
45
const
OUString& rQName,
46
const
css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList )
override
;
47
48
virtual
void
StartElement
(
const
css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList )
override
;
49
50
virtual
void
EndElement
()
override
;
51
52
virtual
void
Characters
(
const
OUString& rChars )
override
;
53
};
54
55
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
FlatTContext.hxx
XMLPersTextContentTContextVector
::std::vector< ::rtl::Reference< XMLPersTextContentTContext > > XMLPersTextContentTContextVector
Definition:
MergeElemTContext.hxx:27
XMLMergeElemTransformerContext
Definition:
MergeElemTContext.hxx:30
XMLMergeElemTransformerContext::m_aChildContexts
XMLPersTextContentTContextVector m_aChildContexts
Definition:
MergeElemTContext.hxx:32
XMLMergeElemTransformerContext::CreateChildContext
virtual rtl::Reference< XMLTransformerContext > CreateChildContext(sal_uInt16 nPrefix, const OUString &rLocalName, const OUString &rQName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
Definition:
MergeElemTContext.cxx:161
XMLMergeElemTransformerContext::ExportStartElement
void ExportStartElement()
Definition:
MergeElemTContext.cxx:101
XMLMergeElemTransformerContext::StartElement
virtual void StartElement(const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
Definition:
MergeElemTContext.cxx:125
XMLMergeElemTransformerContext::m_xAttrList
css::uno::Reference< css::xml::sax::XAttributeList > m_xAttrList
Definition:
MergeElemTContext.hxx:31
XMLMergeElemTransformerContext::m_bStartElementExported
bool m_bStartElementExported
Definition:
MergeElemTContext.hxx:34
XMLMergeElemTransformerContext::EndElement
virtual void EndElement() override
Definition:
MergeElemTContext.cxx:268
XMLMergeElemTransformerContext::m_nActionMap
sal_uInt16 const m_nActionMap
Definition:
MergeElemTContext.hxx:33
XMLMergeElemTransformerContext::XMLMergeElemTransformerContext
XMLMergeElemTransformerContext(XMLTransformerBase &rTransformer, const OUString &rQName, sal_uInt16 nActionMap)
Definition:
MergeElemTContext.cxx:115
XMLMergeElemTransformerContext::Characters
virtual void Characters(const OUString &rChars) override
Definition:
MergeElemTContext.cxx:275
XMLTransformerBase
Definition:
TransformerBase.hxx:53
XMLTransformerContext
Definition:
TransformerContext.hxx:34
rtl::Reference
Generated on Sun Jul 30 2023 04:40:46 for LibreOffice Module xmloff (master) by
1.9.3