LibreOffice Module sc (master)  1
xmltabi.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_SC_SOURCE_FILTER_XML_XMLTABI_HXX
20 #define INCLUDED_SC_SOURCE_FILTER_XML_XMLTABI_HXX
21 
22 #include <externalrefmgr.hxx>
23 #include "importcontext.hxx"
24 
25 #include <xmloff/xmlictxt.hxx>
26 #include <memory>
27 
28 namespace sax_fastparser { class FastAttributeList; }
29 
30 
32 {
34  sal_Int32 mnRow;
35  sal_Int32 mnCol;
36  sal_uInt16 mnFileId;
37 
39 };
40 
42 {
43  OUString sPrintRanges;
44  ::std::unique_ptr<ScXMLExternalTabData> pExternalRefInfo;
45  sal_Int32 nStartOffset;
48 
49 public:
50 
53 
54  virtual ~ScXMLTableContext() override;
55 
56  virtual SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix,
57  const OUString& rLocalName,
58  const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList ) override;
59 
60  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL
61  createFastChildContext( sal_Int32 nElement,
62  const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList ) override;
63 
64  virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
65 };
66 
68 {
69 public:
72 
73  virtual ~ScXMLTableProtectionContext() override;
74 
75  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
76  sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList ) override;
77 };
78 
79 #endif
80 
81 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
::std::unique_ptr< ScXMLExternalTabData > pExternalRefInfo
Definition: xmltabi.hxx:44
bool bPrintEntireSheet
Definition: xmltabi.hxx:47
sal_Int32 nStartOffset
Definition: xmltabi.hxx:45
sal_uInt16 mnFileId
Definition: xmltabi.hxx:36
ScExternalRefCache::TableTypeRef mpCacheTable
Definition: xmltabi.hxx:33
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmltabi.cxx:345
ScXMLTableContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
Definition: xmltabi.cxx:134
virtual ~ScXMLTableProtectionContext() override
Definition: xmltabi.cxx:479
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
Definition: xmltabi.cxx:483
virtual ~ScXMLTableContext() override
Definition: xmltabi.cxx:209
ScXMLTableProtectionContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
Definition: xmltabi.cxx:423
virtual SvXMLImportContextRef CreateChildContext(sal_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
Definition: xmltabi.cxx:213
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
Definition: xmltabi.cxx:243
std::shared_ptr< Table > TableTypeRef
OUString sPrintRanges
Definition: xmltabi.hxx:43