fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sc / source / filter / lotus / lotfilter.hxx
blob22e55d2b9bffeedd4966f164f8e25c45f7eff985
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef INCLUDED_SC_SOURCE_FILTER_LOTUS_FILTER_HXX
21 #define INCLUDED_SC_SOURCE_FILTER_LOTUS_FILTER_HXX
23 #include <map>
24 #include "decl.h"
25 #include "op.h"
26 #include "optab.h"
27 #include "root.hxx"
29 class SvxHorJustifyItem;
30 class ScProtectionAttr;
31 class SfxUInt32Item;
32 class FormCache;
34 struct LotusContext
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;
46 sal_uInt8 nDefaultFormat; // -> op.cpp, standard cell format
48 SvxHorJustifyItem *pAttrRight, *pAttrLeft, *pAttrCenter, *pAttrRepeat, *pAttrStandard;
49 ScProtectionAttr* pAttrUnprot;
50 SfxUInt32Item** pAttrValForms;
52 FormCache* pValueFormCache; // -> in memory.cxx initialisiert
54 LotusContext()
55 : nBOF(0x0000)
56 , eTyp(eWK_UNKNOWN)
57 , bEOF(false)
58 , eCharVon(RTL_TEXTENCODING_DONTKNOW)
59 , pDoc(0)
60 , pLotusRoot(NULL)
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 , pValueFormCache(NULL)
75 #endif
77 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */