LibreOffice Module sc (master)
1
sc
source
core
tool
orcusxml.cxx
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
10
#include <
orcusxml.hxx
>
11
12
#include <utility>
13
#include <
vcl/weld.hxx
>
14
15
ScOrcusXMLTreeParam::EntryData::EntryData
(
EntryType
eType)
16
: mnNamespaceID(0)
17
,
meType
(
eType
)
18
, maLinkedPos(
ScAddress
::INITIALIZE_INVALID)
19
, mbRangeParent(false)
20
, mbLeafNode(true)
21
{}
22
23
ScOrcusXMLTreeParam::EntryData
*
ScOrcusXMLTreeParam::getUserData
(
const
weld::TreeView
& rControl,
const
weld::TreeIter
& rEntry)
24
{
25
return
weld::fromId<ScOrcusXMLTreeParam::EntryData*>(rControl.
get_id
(rEntry));
26
}
27
28
ScOrcusImportXMLParam::CellLink::CellLink
(
const
ScAddress
& rPos, OString aPath) :
29
maPos(rPos),
maPath
(
std
::move(aPath)) {}
30
31
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
maPath
Any maPath
ScAddress
Definition:
address.hxx:207
weld::TreeIter
weld::TreeView
weld::TreeView::get_id
virtual OUString get_id(int pos) const=0
eType
DocumentType eType
std
orcusxml.hxx
ScOrcusImportXMLParam::CellLink::CellLink
CellLink(const ScAddress &rPos, OString aPath)
Definition:
orcusxml.cxx:28
ScOrcusXMLTreeParam::EntryData
Custom data stored with each tree item.
Definition:
orcusxml.hxx:32
ScOrcusXMLTreeParam::EntryData::EntryData
SC_DLLPUBLIC EntryData(EntryType eType)
Leaf if it has no child elements. Child Attributes don't count.
Definition:
orcusxml.cxx:15
ScOrcusXMLTreeParam::getUserData
static EntryData * getUserData(const weld::TreeView &rControl, const weld::TreeIter &rEntry)
Definition:
orcusxml.cxx:23
ScOrcusXMLTreeParam::EntryType
EntryType
Definition:
orcusxml.hxx:28
weld.hxx
meType
RedlineType meType
Generated on Sun Jul 30 2023 04:28:22 for LibreOffice Module sc (master) by
1.9.3