LibreOffice Module sc (master)  1
lotfilter.hxx
Go to the documentation of this file.
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 <optab.h>
26 #include <patattr.hxx>
27 #include <lotattr.hxx>
28 #include <lotrange.hxx>
29 #include <lotfntbf.hxx>
30 #include <flttypes.hxx>
31 #include <namebuff.hxx>
32 
33 class SvxHorJustifyItem;
34 class FormCache;
35 
37 {
38  static const sal_uInt16 nBOF = 0x0000;
40  static OPCODE_FKT pOpFkt123[ FKT_LIMIT123 ]; // -> optab.cxx; table of possible Opcodes
41 
42  WKTYP eTyp; // type of file being processed
43  bool bEOF; // shows end of file
44  rtl_TextEncoding eCharset;
45  ScDocument& rDoc; // reference to access document
46  std::map<sal_uInt16, ScPatternAttr> aLotusPatternPool;
47 
49 
50  FormCache* pValueFormCache; // -> initialized in memory.cxx
51 
56  std::unique_ptr<RangeNameBufferWK3> pRngNmBffWK3;
59 
60  LotusContext(ScDocument& rDocP, rtl_TextEncoding eQ);
61 };
62 
63 #endif
64 
65 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
rtl_TextEncoding eCharset
Definition: lotfilter.hxx:44
FormCache * pValueFormCache
Definition: lotfilter.hxx:50
static OPCODE_FKT pOpFkt[FKT_LIMIT]
Definition: lotfilter.hxx:39
ScRange aActRange
Definition: lotfilter.hxx:55
SvxHorJustifyItem * pAttrCenter
Definition: lotfilter.hxx:48
LotusContext(ScDocument &rDocP, rtl_TextEncoding eQ)
Definition: lotus.cxx:84
static const sal_uInt16 nBOF
Definition: lotfilter.hxx:38
LotAttrTable maAttrTable
Definition: lotfilter.hxx:58
ScDocument & rDoc
Definition: lotfilter.hxx:45
LotusRangeList maRangeNames
Definition: lotfilter.hxx:52
std::unique_ptr< RangeNameBufferWK3 > pRngNmBffWK3
Definition: lotfilter.hxx:56
static OPCODE_FKT pOpFkt123[FKT_LIMIT123]
Definition: lotfilter.hxx:40
Definition: tool.h:86
SvxHorJustifyItem * pAttrLeft
Definition: lotfilter.hxx:48
#define FKT_LIMIT123
Definition: optab.h:33
Lotus123Typ
Definition: flttypes.hxx:33
SvxHorJustifyItem * pAttrRight
Definition: lotfilter.hxx:48
void(* OPCODE_FKT)(LotusContext &rContext, SvStream &rStream, sal_uInt16 nLength)
Definition: optab.h:29
WKTYP
Definition: decl.h:24
LotusFontBuffer maFontBuff
Definition: lotfilter.hxx:57
Lotus123Typ eActType
Definition: lotfilter.hxx:54
Lotus123Typ eFirstType
Definition: lotfilter.hxx:53
SvxHorJustifyItem * pAttrStandard
Definition: lotfilter.hxx:48
SvxHorJustifyItem * pAttrRepeat
Definition: lotfilter.hxx:48
std::map< sal_uInt16, ScPatternAttr > aLotusPatternPool
Definition: lotfilter.hxx:46
#define FKT_LIMIT
Definition: optab.h:31