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 #pragma once
20 
21 #include <externalrefmgr.hxx>
22 #include "importcontext.hxx"
23 
24 #include <xmloff/xmlictxt.hxx>
25 #include <memory>
26 
27 namespace sax_fastparser { class FastAttributeList; }
28 
29 
31 {
33  sal_Int32 mnRow;
34  sal_Int32 mnCol;
35  sal_uInt16 mnFileId;
36 
38 };
39 
41 {
42  OUString sPrintRanges;
43  ::std::unique_ptr<ScXMLExternalTabData> pExternalRefInfo;
44  sal_Int32 nStartOffset;
47 
48 public:
49 
52 
53  virtual ~ScXMLTableContext() override;
54 
55  virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL
56  createFastChildContext( sal_Int32 nElement,
57  const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList ) override;
58 
59  virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
60 };
61 
63 {
64 public:
67 
68  virtual ~ScXMLTableProtectionContext() override;
69 };
70 
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
::std::unique_ptr< ScXMLExternalTabData > pExternalRefInfo
Definition: xmltabi.hxx:43
bool bPrintEntireSheet
Definition: xmltabi.hxx:46
sal_Int32 nStartOffset
Definition: xmltabi.hxx:44
sal_uInt16 mnFileId
Definition: xmltabi.hxx:35
ScExternalRefCache::TableTypeRef mpCacheTable
Definition: xmltabi.hxx:32
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmltabi.cxx:324
ScXMLTableContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
Definition: xmltabi.cxx:133
virtual ~ScXMLTableProtectionContext() override
Definition: xmltabi.cxx:462
This class exists only to provide GetScImport() to its derived classes.
virtual ~ScXMLTableContext() override
Definition: xmltabi.cxx:208
ScXMLTableProtectionContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
Definition: xmltabi.cxx:406
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:213
std::shared_ptr< Table > TableTypeRef
OUString sPrintRanges
Definition: xmltabi.hxx:42