LibreOffice Module xmloff (master)  1
SchXMLImport.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 #ifndef INCLUDED_XMLOFF_INC_SCHXMLIMPORT_HXX
20 #define INCLUDED_XMLOFF_INC_SCHXMLIMPORT_HXX
21 
23 #include <xmloff/xmlimp.hxx>
24 #include <xmloff/xmlictxt.hxx>
25 
26 /*
27  these enums are used for the
28  SvXMLTokenMapEntries to distinguish
29  the tokens in switch-directives
30 */
31 
33 {
38 };
39 
41 {
48 };
49 
51 {
57 };
58 
60 {
71 };
72 
74 {
82 };
83 
85 {
88 };
89 
91 {
100 };
101 
103 {
122 };
123 
125 {
128 };
129 
131 {
139 };
140 
142 {
148 };
149 
150 class SchXMLImport final : public SvXMLImport
151 {
152 private:
154 
156  sal_Int32 nElement,
157  const ::css::uno::Reference<::css::xml::sax::XFastAttributeList>& xAttrList) override;
158 
159 public:
160  SchXMLImport(const css::uno::Reference<css::uno::XComponentContext>& xContext,
161  OUString const& implementationName, SvXMLImportFlags nImportFlags);
162 
163  virtual ~SchXMLImport() throw() override;
164 
166 
167  // XImporter
168  virtual void SAL_CALL
169  setTargetDocument(const css::uno::Reference<css::lang::XComponent>& xDoc) override;
170 };
171 
172 #endif // INCLUDED_XMLOFF_INC_SCHXMLIMPORT_HXX
173 
174 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual ~SchXMLImport() override
SvXMLImportContext * CreateStylesContext()
SchXMLChartAttrMap
SchXMLSeriesAttrMap
SvXMLImportFlags
Definition: xmlimp.hxx:108
SchXMLPlotAreaElemTokenMap
SchXMLPropertyMappingAttrTokenMap
SchXMLImport(const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString const &implementationName, SvXMLImportFlags nImportFlags)
virtual SvXMLImportContext * CreateFastContext(sal_Int32 nElement, const ::css::uno::Reference<::css::xml::sax::XFastAttributeList > &xAttrList) override
SchXMLDocElemTokenMap
SchXMLChartElemTokenMap
This class deliberately does not support XWeak, to improve performance when loading large documents...
Definition: xmlictxt.hxx:45
virtual void SAL_CALL setTargetDocument(const css::uno::Reference< css::lang::XComponent > &xDoc) override
rtl::Reference< SchXMLImportHelper > maImportHelper
SchXMLPlotAreaAttrTokenMap
SchXMLCellAttrMap
SchXMLTableElemTokenMap
SchXMLSeriesElemTokenMap
SchXMLRegEquationAttrMap