1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: root.hxx,v $
10 * $Revision: 1.44.14.1 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
34 #include <tools/solar.h>
36 #include "address.hxx"
37 #include "flttypes.hxx"
39 #include "excdefs.hxx"
44 class RangeNameBufferWK3
;
50 class XclImpColRowSettings
;
51 class XclImpAutoFilterBuffer
;
52 class XclImpPivotCacheList
;
53 class _ScRangeListTabs
;
55 class XclExpChTrTabId
;
56 class XclExpUserBViewList
;
64 // ---------------------------------------------------------- Excel Imp~/Exp~ -
66 struct RootData
// -> Inkarnation jeweils im ImportExcel-Objekt!
68 BiffTyp eDateiTyp
; // feine Differenzierung
69 ExtSheetBuffer
* pExtSheetBuff
;
70 NameBuffer
* pTabNameBuff
;
71 ShrfmlaBuffer
* pShrfmlaBuff
;
72 ExtNameBuff
* pExtNameBuff
;
73 ExcelToSc
* pFmlaConverter
;
74 XclImpColRowSettings
* pColRowBuff
; // Col/Row-Einstellungen 1 Tabelle
77 XclImpAutoFilterBuffer
* pAutoFilterBuffer
; // ranges for autofilter and advanced filter
78 _ScRangeListTabs
* pPrintRanges
;
79 _ScRangeListTabs
* pPrintTitles
;
81 // Erweiterungen fuer Export
82 XclExpChTrTabId
* pTabId
; // pointer to rec list, do not destroy
83 XclExpUserBViewList
* pUserBViewList
; // pointer to rec list, do not destroy
92 RootData( void ); // -> exctools.cxx
93 ~RootData(); // -> exctools.cxx
100 inline ExcRoot( RootData
* pNexExcRoot
) : pExcRoot( pNexExcRoot
) {}
101 inline ExcRoot( const ExcRoot
& rCopy
) : pExcRoot( rCopy
.pExcRoot
) {}
104 // ---------------------------------------------------------- Lotus Imp~/Exp~ -
106 class LotusRangeList
;
107 class LotusFontBuffer
;
114 LotusRangeList
* pRangeNames
;
115 ScRangeName
* pScRangeName
;
117 Lotus123Typ eFirstType
;
118 Lotus123Typ eActType
;
120 RangeNameBufferWK3
* pRngNmBffWK3
;
121 LotusFontBuffer
* pFontBuff
;
122 LotAttrTable
* pAttrTable
;
125 extern LOTUS_ROOT
* pLotusRoot
; // -> Inkarn. in filter.cxx
127 // ----------------------------------------------------------------------------