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 #ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLTRANSFORMATIONI_HXX
11 #define INCLUDED_SC_SOURCE_FILTER_XML_XMLTRANSFORMATIONI_HXX
12 
13 #include <datatransformation.hxx>
14 
15 #include "importcontext.hxx"
16 
17 namespace sax_fastparser
18 {
19 class FastAttributeList;
20 }
21 
23 {
24 public:
26 
27  virtual ~ScXMLTransformationsContext() override;
28 
29  virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
30  sal_Int32 nElement,
31  const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
32 };
33 
35 {
36  std::set<SCCOL> maColumns;
37 
38 public:
41 
42  virtual ~ScXMLColumnRemoveContext() override;
43 
44  virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
45  sal_Int32 nElement,
46  const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
47 };
48 
50 {
51 public:
54 
55  virtual ~ScXMLColumnSplitContext() override;
56 };
57 
59 {
60  std::set<SCCOL> maColumns;
61  OUString maMergeString;
62 
63 public:
66 
67  virtual ~ScXMLColumnMergeContext() override;
68 
69  virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
70  sal_Int32 nElement,
71  const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
72 };
73 
75 {
76 public:
79 
80  virtual ~ScXMLColumnSortContext() override;
81  /*
82  virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
83  sal_Int32 nElement,
84  const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
85  */
86 };
87 
89 {
90  std::set<SCCOL> maColumns;
92 
93 public:
96 
97  virtual ~ScXMLColumnTextContext() override;
98 
99  virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
100  sal_Int32 nElement,
101  const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
102 };
103 
105 {
106  std::set<SCCOL> maColumns;
108 
109 public:
112 
113  virtual ~ScXMLColumnAggregateContext() override;
114 
115  virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
116  sal_Int32 nElement,
117  const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
118 };
119 
121 {
124  std::set<SCCOL> maColumns;
125 
126 public:
129 
130  virtual ~ScXMLColumnNumberContext() override;
131 
132  virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
133  sal_Int32 nElement,
134  const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
135 };
136 
138 {
139  std::set<SCCOL> maColumns;
140  OUString maReplaceString;
141 
142 public:
145 
146  virtual ~ScXMLColumnRemoveNullContext() override;
147 
148  virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
149  sal_Int32 nElement,
150  const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
151 };
152 
154 {
155  OUString aType;
157  std::set<SCCOL> maColumns;
158 
159 public:
162 
163  virtual ~ScXMLDateTimeContext() override;
164 
165  virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
166  sal_Int32 nElement,
167  const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
168 };
169 #endif
170 
171 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ScXMLColumnAggregateContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
virtual ~ScXMLColumnSplitContext() 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::AGGREGATE_FUNCTION 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
ScXMLColumnSplitContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
virtual ~ScXMLTransformationsContext() 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
virtual ~ScXMLColumnAggregateContext() 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
ScXMLColumnRemoveNullContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
virtual ~ScXMLColumnRemoveNullContext() override
DATETIME_TRANSFORMATION_TYPE
This class exists only to provide GetScImport() to its derived classes.
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
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
ScXMLColumnSortContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
ScXMLTransformationsContext(ScXMLImport &rImport)
std::set< SCCOL > maColumns
ScXMLColumnRemoveContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
ScXMLColumnNumberContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
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
virtual ~ScXMLColumnNumberContext() override
ScXMLDateTimeContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
sc::TEXT_TRANSFORM_TYPE maType
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
std::set< SCCOL > maColumns
virtual ~ScXMLColumnSortContext() override
virtual ~ScXMLDateTimeContext() override
ScXMLColumnTextContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)