2012-10-12 17:20:52 -04:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "orcusxml.hxx"
|
|
|
|
|
2012-10-12 21:32:09 -04:00
|
|
|
#include "svtools/treelistbox.hxx"
|
2012-11-27 22:01:07 -05:00
|
|
|
#include "svtools/treelistentry.hxx"
|
2012-11-21 15:21:41 -05:00
|
|
|
#include "rtl/strbuf.hxx"
|
2012-10-12 21:32:09 -04:00
|
|
|
|
|
|
|
ScOrcusXMLTreeParam::EntryData::EntryData(EntryType eType) :
|
2012-11-09 22:10:54 -05:00
|
|
|
meType(eType), maLinkedPos(ScAddress::INITIALIZE_INVALID), mbRangeParent(false), mbLeafNode(true) {}
|
2012-10-12 17:20:52 -04:00
|
|
|
|
2012-11-07 13:06:35 -05:00
|
|
|
ScOrcusXMLTreeParam::EntryData* ScOrcusXMLTreeParam::getUserData(SvTreeListEntry& rEntry)
|
2012-10-12 21:32:09 -04:00
|
|
|
{
|
|
|
|
return static_cast<ScOrcusXMLTreeParam::EntryData*>(rEntry.GetUserData());
|
|
|
|
}
|
|
|
|
|
2012-11-09 15:21:36 -05:00
|
|
|
const ScOrcusXMLTreeParam::EntryData* ScOrcusXMLTreeParam::getUserData(const SvTreeListEntry& rEntry)
|
|
|
|
{
|
|
|
|
return static_cast<const ScOrcusXMLTreeParam::EntryData*>(rEntry.GetUserData());
|
|
|
|
}
|
|
|
|
|
2012-11-09 17:05:49 -05:00
|
|
|
ScOrcusImportXMLParam::CellLink::CellLink(const ScAddress& rPos, const OString& rPath) :
|
2012-11-09 15:21:36 -05:00
|
|
|
maPos(rPos), maPath(rPath) {}
|
|
|
|
|
2012-10-12 17:20:52 -04:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|