LCOV - code coverage report
Current view: top level - sc/source/filter/lotus - lotfilter.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 4 4 100.0 %
Date: 2015-06-13 12:38:46 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          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 INCLUDED_SC_SOURCE_FILTER_LOTUS_FILTER_HXX
      21             : #define INCLUDED_SC_SOURCE_FILTER_LOTUS_FILTER_HXX
      22             : 
      23             : #include <map>
      24             : #include "decl.h"
      25             : #include "op.h"
      26             : #include "optab.h"
      27             : #include "root.hxx"
      28             : 
      29             : class SvxHorJustifyItem;
      30             : class ScProtectionAttr;
      31             : class SfxUInt32Item;
      32             : class FormCache;
      33             : 
      34           4 : struct LotusContext
      35             : {
      36             :     const sal_uInt16 nBOF;
      37             :     WKTYP            eTyp;          // type of file being processed
      38             :     bool             bEOF;          // shows end of file
      39             :     rtl_TextEncoding eCharVon;
      40             :     ScDocument*      pDoc;          // pointer to access document
      41             :     static OPCODE_FKT pOpFkt[ FKT_LIMIT ];
      42             :     static OPCODE_FKT pOpFkt123[ FKT_LIMIT123 ]; // -> optab.cxx, table of possible Opcodes
      43             :     LOTUS_ROOT*      pLotusRoot;
      44             :     std::map<sal_uInt16, ScPatternAttr> aLotusPatternPool;
      45             : 
      46             :     sal_uInt8        nDefaultFormat; // -> op.cpp, standard cell format
      47             : 
      48             :     SvxHorJustifyItem *pAttrRight, *pAttrLeft, *pAttrCenter, *pAttrRepeat, *pAttrStandard;
      49             :     ScProtectionAttr* pAttrUnprot;
      50             :     SfxUInt32Item**   pAttrValForms;
      51             : 
      52             :     FormCache*       pValueFormCache; // -> in memory.cxx initialisiert
      53             : 
      54           4 :     LotusContext()
      55             :         : nBOF(0x0000)
      56             :         , eTyp(eWK_UNKNOWN)
      57             :         , bEOF(false)
      58             :         , eCharVon(RTL_TEXTENCODING_DONTKNOW)
      59             :         , pDoc(0)
      60             :         , pLotusRoot(NULL)
      61             : 
      62             :         , nDefaultFormat(0)
      63             :         , pAttrRight(NULL)
      64             :         , pAttrLeft(NULL)
      65             :         , pAttrCenter(NULL)
      66             :         , pAttrRepeat(NULL)
      67             :         , pAttrStandard(NULL)
      68             :         , pAttrUnprot(NULL)
      69             :         , pAttrValForms(NULL)
      70           4 :         , pValueFormCache(NULL)
      71             :     {
      72           4 :     }
      73             : };
      74             : 
      75             : #endif
      76             : 
      77             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11