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