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