Get the style color and number just once
[LibreOffice.git] / sc / source / filter / inc / op.h
blob13b8e7012fbc31dfab57c3b4aa0858aa8fd2d987
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 #pragma once
22 #include <sal/types.h>
23 class SfxItemSet;
25 // OP code functions
26 class SvStream;
27 struct LotusContext;
28 void NI(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
29 void OP_BOF(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
30 void OP_EOF(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
31 void OP_Integer(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
32 void OP_Number(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
33 void OP_Label(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
34 void OP_Formula(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
35 void OP_ColumnWidth(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
36 void OP_NamedRange(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
37 void OP_SymphNamedRange(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
38 void OP_Footer(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
39 void OP_Header(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
40 void OP_Margins(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
41 void OP_HiddenCols(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
42 void OP_Window1(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
43 void OP_Blank(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
44 // Lotus 123 bits.
45 void OP_BOF123(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
46 void OP_EOF123(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
47 void OP_Number123(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
48 void OP_Label123(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
49 void OP_Formula123(LotusContext &rContext, SvStream &aStream, sal_uInt16 nLength );
50 void OP_IEEENumber123(LotusContext &rContext,SvStream& r, sal_uInt16 n);
51 void OP_Note123(LotusContext &rContext,SvStream &aStream, sal_uInt16 nLength);
52 void OP_CreatePattern123(LotusContext &rContext,SvStream &aStream, sal_uInt16 nLength);
53 void OP_SheetName123(LotusContext &rContext, SvStream &rStream, sal_uInt16 nLength );
54 void OP_HorAlign123(LotusContext &rContext,sal_uInt8 nAlignPattern, SfxItemSet& rPattern /* const ScPatternAttr& rPattern*/ );
55 void OP_VerAlign123(LotusContext &rContext,sal_uInt8 nAlignPattern, SfxItemSet& rPattern /* const ScPatternAttr& rPattern*/ );
56 void OP_ApplyPatternArea123(LotusContext &rContext,SvStream& r);
58 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */