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