Line data Source code
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 <svtools/treelistentry.hxx>
13 :
14 0 : ScOrcusXMLTreeParam::EntryData::EntryData(EntryType eType)
15 : : mnNamespaceID(0)
16 : , meType(eType)
17 : , maLinkedPos(ScAddress::INITIALIZE_INVALID)
18 : , mbRangeParent(false)
19 0 : , mbLeafNode(true)
20 0 : {}
21 :
22 0 : ScOrcusXMLTreeParam::EntryData* ScOrcusXMLTreeParam::getUserData(SvTreeListEntry& rEntry)
23 : {
24 0 : return static_cast<ScOrcusXMLTreeParam::EntryData*>(rEntry.GetUserData());
25 : }
26 :
27 0 : const ScOrcusXMLTreeParam::EntryData* ScOrcusXMLTreeParam::getUserData(const SvTreeListEntry& rEntry)
28 : {
29 0 : return static_cast<const ScOrcusXMLTreeParam::EntryData*>(rEntry.GetUserData());
30 : }
31 :
32 0 : ScOrcusImportXMLParam::CellLink::CellLink(const ScAddress& rPos, const OString& rPath) :
33 156 : maPos(rPos), maPath(rPath) {}
34 :
35 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|