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 <memory>
25
26namespace sax_fastparser { class FastAttributeList; }
27
28
30{
32 sal_Int32 mnRow;
33 sal_Int32 mnCol;
34 sal_uInt16 mnFileId;
35
37};
38
40{
41 OUString sPrintRanges;
42 ::std::unique_ptr<ScXMLExternalTabData> pExternalRefInfo;
43 sal_Int32 nStartOffset;
46
47public:
48
51
52 virtual ~ScXMLTableContext() override;
53
54 virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL
55 createFastChildContext( sal_Int32 nElement,
56 const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList ) override;
57
58 virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
59};
60
62{
63public:
66
67 virtual ~ScXMLTableProtectionContext() override;
68};
69
70/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::shared_ptr< Table > TableTypeRef
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:212
virtual ~ScXMLTableContext() override
Definition: xmltabi.cxx:207
ScXMLTableContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
Definition: xmltabi.cxx:132
bool bPrintEntireSheet
Definition: xmltabi.hxx:45
sal_Int32 nStartOffset
Definition: xmltabi.hxx:43
::std::unique_ptr< ScXMLExternalTabData > pExternalRefInfo
Definition: xmltabi.hxx:42
OUString sPrintRanges
Definition: xmltabi.hxx:41
virtual void SAL_CALL endFastElement(sal_Int32 nElement) override
Definition: xmltabi.cxx:327
virtual ~ScXMLTableProtectionContext() override
Definition: xmltabi.cxx:465
ScXMLTableProtectionContext(ScXMLImport &rImport, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList)
Definition: xmltabi.cxx:409
sal_uInt16 mnFileId
Definition: xmltabi.hxx:34
ScExternalRefCache::TableTypeRef mpCacheTable
Definition: xmltabi.hxx:31