LibreOffice Module sc (master) 1
xmltransformationi.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
13
14#include "importcontext.hxx"
15
16namespace sax_fastparser
17{
18class FastAttributeList;
19}
20
22{
23public:
25
26 virtual ~ScXMLTransformationsContext() override;
27
28 virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
29 sal_Int32 nElement,
30 const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
31};
32
34{
35 std::set<SCCOL> maColumns;
36
37public:
40
41 virtual ~ScXMLColumnRemoveContext() override;
42
43 virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
44 sal_Int32 nElement,
45 const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
46};
47
49{
50public:
53
54 virtual ~ScXMLColumnSplitContext() override;
55};
56
58{
59 std::set<SCCOL> maColumns;
60 OUString maMergeString;
61
62public:
65
66 virtual ~ScXMLColumnMergeContext() override;
67
68 virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
69 sal_Int32 nElement,
70 const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
71};
72
74{
75public:
78
79 virtual ~ScXMLColumnSortContext() override;
80 /*
81 virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
82 sal_Int32 nElement,
83 const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
84 */
85};
86
88{
89 std::set<SCCOL> maColumns;
91
92public:
95
96 virtual ~ScXMLColumnTextContext() override;
97
98 virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
99 sal_Int32 nElement,
100 const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
101};
102
104{
105 std::set<SCCOL> maColumns;
107
108public:
111
112 virtual ~ScXMLColumnAggregateContext() override;
113
114 virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
115 sal_Int32 nElement,
116 const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
117};
118
120{
123 std::set<SCCOL> maColumns;
124
125public:
128
129 virtual ~ScXMLColumnNumberContext() override;
130
131 virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
132 sal_Int32 nElement,
133 const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
134};
135
137{
138 std::set<SCCOL> maColumns;
140
141public:
144
145 virtual ~ScXMLColumnRemoveNullContext() override;
146
147 virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
148 sal_Int32 nElement,
149 const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
150};
151
153{
154 OUString aType;
156 std::set<SCCOL> maColumns;
157
158public:
161
162 virtual ~ScXMLDateTimeContext() override;
163
164 virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
165 sal_Int32 nElement,
166 const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
167};
168
169/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual ~ScXMLColumnAggregateContext() override
sc::AGGREGATE_FUNCTION maType
ScXMLColumnAggregateContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
virtual ~ScXMLColumnMergeContext() override
ScXMLColumnMergeContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
virtual ~ScXMLColumnNumberContext() override
ScXMLColumnNumberContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
sc::NUMBER_TRANSFORM_TYPE maType
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
ScXMLColumnRemoveContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
virtual ~ScXMLColumnRemoveContext() override
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
ScXMLColumnRemoveNullContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
virtual ~ScXMLColumnRemoveNullContext() override
virtual ~ScXMLColumnSortContext() override
ScXMLColumnSortContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
virtual ~ScXMLColumnSplitContext() override
ScXMLColumnSplitContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
sc::TEXT_TRANSFORM_TYPE maType
ScXMLColumnTextContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
std::set< SCCOL > maColumns
virtual ~ScXMLColumnTextContext() override
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
sc::DATETIME_TRANSFORMATION_TYPE maType
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
std::set< SCCOL > maColumns
ScXMLDateTimeContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
virtual ~ScXMLDateTimeContext() override
This class exists only to provide GetScImport() to its derived classes.
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
virtual ~ScXMLTransformationsContext() override
ScXMLTransformationsContext(ScXMLImport &rImport)
DATETIME_TRANSFORMATION_TYPE