tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / sc / source / filter / xml / xmltabi.hxx
blob92f5b1956ac67e2bbe53e8a693d07b456b62939c
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #pragma once
21 #include <externalrefmgr.hxx>
22 #include "importcontext.hxx"
24 #include <memory>
26 namespace sax_fastparser { class FastAttributeList; }
29 struct ScXMLExternalTabData
31 ScExternalRefCache::TableTypeRef mpCacheTable;
32 sal_Int32 mnRow;
33 sal_Int32 mnCol;
34 sal_uInt16 mnFileId;
36 ScXMLExternalTabData();
39 class ScXMLTableContext : public ScXMLImportContext
41 OUString sPrintRanges;
42 ::std::unique_ptr<ScXMLExternalTabData> pExternalRefInfo;
43 sal_Int64 nStartOffset;
44 bool bStartFormPage;
45 bool bPrintEntireSheet;
47 public:
49 ScXMLTableContext( ScXMLImport& rImport,
50 const rtl::Reference<sax_fastparser::FastAttributeList>& rAttrList );
52 virtual ~ScXMLTableContext() override;
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;
58 virtual void SAL_CALL endFastElement(sal_Int32 nElement) override;
61 class ScXMLTableProtectionContext : public ScXMLImportContext
63 public:
64 ScXMLTableProtectionContext( ScXMLImport& rImport,
65 const rtl::Reference<sax_fastparser::FastAttributeList>& rAttrList );
67 virtual ~ScXMLTableProtectionContext() override;
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */