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