1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
25 #include <patattr.hxx>
26 #include <lotattr.hxx>
27 #include <lotrange.hxx>
28 #include <lotfntbf.hxx>
29 #include <flttypes.hxx>
30 #include <namebuff.hxx>
32 class SvxHorJustifyItem
;
37 static const sal_uInt16 nBOF
= 0x0000;
38 static OPCODE_FKT pOpFkt
[ FKT_LIMIT
];
39 static OPCODE_FKT pOpFkt123
[ FKT_LIMIT123
]; // -> optab.cxx; table of possible Opcodes
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
;
47 std::unique_ptr
<SvxHorJustifyItem
> xAttrRight
, xAttrLeft
, xAttrCenter
, xAttrRepeat
, xAttrStandard
;
49 std::unique_ptr
<FormCache
> xValueFormCache
; // -> initialized in memory.cxx
51 LotusRangeList maRangeNames
;
52 Lotus123Typ eFirstType
;
55 std::unique_ptr
<RangeNameBufferWK3
> pRngNmBffWK3
;
56 LotusFontBuffer maFontBuff
;
57 LotAttrTable maAttrTable
;
59 LotusContext(ScDocument
& rDocP
, rtl_TextEncoding eQ
);
63 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */