LCOV - code coverage report
Current view: top level - sc/source/filter/inc - root.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 1 1 100.0 %
Date: 2012-08-25 Functions: 1 1 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     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                 :            :  * This file incorporates work covered by the following license notice:
      10                 :            :  *
      11                 :            :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12                 :            :  *   contributor license agreements. See the NOTICE file distributed
      13                 :            :  *   with this work for additional information regarding copyright
      14                 :            :  *   ownership. The ASF licenses this file to you under the Apache
      15                 :            :  *   License, Version 2.0 (the "License"); you may not use this file
      16                 :            :  *   except in compliance with the License. You may obtain a copy of
      17                 :            :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18                 :            :  */
      19                 :            : 
      20                 :            : #ifndef SC_ROOT_HXX
      21                 :            : #define SC_ROOT_HXX
      22                 :            : 
      23                 :            : #include <tools/solar.h>
      24                 :            : #include "global.hxx"
      25                 :            : #include "address.hxx"
      26                 :            : #include "flttypes.hxx"
      27                 :            : #include "filter.hxx"
      28                 :            : #include "excdefs.hxx"
      29                 :            : 
      30                 :            : class ScRangeName;
      31                 :            : 
      32                 :            : class RangeNameBufferWK3;
      33                 :            : class ShrfmlaBuffer;
      34                 :            : class ExtNameBuff;
      35                 :            : class ExtSheetBuffer;
      36                 :            : class ExcelToSc;
      37                 :            : 
      38                 :            : class XclImpColRowSettings;
      39                 :            : class XclImpAutoFilterBuffer;
      40                 :            : class _ScRangeListTabs;
      41                 :            : 
      42                 :            : class XclExpChTrTabId;
      43                 :            : class XclExpUserBViewList;
      44                 :            : 
      45                 :            : class XclImpRoot;
      46                 :            : class XclExpRoot;
      47                 :            : 
      48                 :            : // ---------------------------------------------------------- Excel Imp~/Exp~ -
      49                 :            : 
      50                 :            : struct RootData     // -> Inkarnation jeweils im ImportExcel-Objekt!
      51                 :            : {
      52                 :            :     BiffTyp             eDateiTyp;              // feine Differenzierung
      53                 :            :     ExtSheetBuffer*     pExtSheetBuff;
      54                 :            :     ShrfmlaBuffer*      pShrfmlaBuff;
      55                 :            :     ExtNameBuff*        pExtNameBuff;
      56                 :            :     ExcelToSc*          pFmlaConverter;
      57                 :            :     XclImpColRowSettings* pColRowBuff;        // Col/Row-Einstellungen 1 Tabelle
      58                 :            : 
      59                 :            :     // Biff8
      60                 :            :     XclImpAutoFilterBuffer* pAutoFilterBuffer;      // ranges for autofilter and advanced filter
      61                 :            :     _ScRangeListTabs*       pPrintRanges;
      62                 :            :     _ScRangeListTabs*       pPrintTitles;
      63                 :            : 
      64                 :            :     // Erweiterungen fuer Export
      65                 :            :     XclExpChTrTabId*        pTabId;             // pointer to rec list, do not destroy
      66                 :            :     XclExpUserBViewList*    pUserBViewList;     // pointer to rec list, do not destroy
      67                 :            : 
      68                 :            :     XclImpRoot*         pIR;
      69                 :            :     XclExpRoot*         pER;
      70                 :            : 
      71                 :            :                         RootData( void );       // -> exctools.cxx
      72                 :            :                         ~RootData();            // -> exctools.cxx
      73                 :            : };
      74                 :            : 
      75                 :            : class ExcRoot
      76                 :            : {
      77                 :            : protected:
      78                 :            :     RootData*       pExcRoot;
      79                 :        183 :     inline          ExcRoot( RootData* pNexExcRoot ) : pExcRoot( pNexExcRoot ) {}
      80                 :            :     inline          ExcRoot( const ExcRoot& rCopy ) : pExcRoot( rCopy.pExcRoot ) {}
      81                 :            : };
      82                 :            : 
      83                 :            : // ---------------------------------------------------------- Lotus Imp~/Exp~ -
      84                 :            : 
      85                 :            : class LotusRangeList;
      86                 :            : class LotusFontBuffer;
      87                 :            : class LotAttrTable;
      88                 :            : 
      89                 :            : 
      90                 :            : struct LOTUS_ROOT
      91                 :            : {
      92                 :            :     ScDocument*         pDoc;
      93                 :            :     LotusRangeList*     pRangeNames;
      94                 :            :     ScRangeName*        pScRangeName;
      95                 :            :     CharSet             eCharsetQ;
      96                 :            :     Lotus123Typ         eFirstType;
      97                 :            :     Lotus123Typ         eActType;
      98                 :            :     ScRange             aActRange;
      99                 :            :     RangeNameBufferWK3* pRngNmBffWK3;
     100                 :            :     LotusFontBuffer*    pFontBuff;
     101                 :            :     LotAttrTable*       pAttrTable;
     102                 :            : 
     103                 :            :                         LOTUS_ROOT( ScDocument* pDocP, CharSet eQ );
     104                 :            :                         ~LOTUS_ROOT();
     105                 :            : };
     106                 :            : 
     107                 :            : extern LOTUS_ROOT*      pLotusRoot; // -> Inkarn. in filter.cxx
     108                 :            : 
     109                 :            : // ----------------------------------------------------------------------------
     110                 :            : 
     111                 :            : #endif
     112                 :            : 
     113                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10