1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 #ifndef _WW8DOUT_HXX 25 #define _WW8DOUT_HXX 26 27 #ifndef INC_FSTREAM 28 #include <fstream.h> // ostream 29 #endif 30 #ifndef SOLAR_H 31 #include <tools/solar.h> // sal_uInt8 32 #endif 33 34 class SvStream; 35 36 void OutByte( SvStream& rSt, short nLen ); 37 void OutBool( SvStream& rSt, short nLen ); 38 void OutShort( SvStream& rSt, short ); 39 void OutShorts( SvStream& rSt, short nLen ); 40 void OutWord( SvStream& rSt, short ); 41 void OutWords( SvStream& rSt, short nLen ); 42 void OutWordHex( SvStream& rSt, short ); 43 void OutWordsHex( SvStream& rSt, short ); 44 void OutLongHex( SvStream& rSt, short ); 45 void OutLongsHex( SvStream& rSt, short nLen ); 46 void OutTab( SvStream& rSt, short nLen ); 47 void OutTab68( SvStream& rSt, short nLen ); 48 void OutTab190( SvStream& rSt, short nLen ); 49 void OutTab191( SvStream& rSt, short nLen ); 50 void OutTab192( SvStream& rSt, short nLen ); 51 void OutBool4( SvStream& rSt, short nLen ); 52 void OutHugeHex( SvStream& rSt, short nLen ); 53 void OutTabD608( SvStream& rSt, short nLen ); 54 void OutTabD609( SvStream& rSt, short nLen ); 55 56 57 // unter WNTMSCI4 muss das __cdecl sein, damit nicht nur der Fkt-Pointer 58 // ausgegeben wird.... 59 60 ostream& __cdecl filepos( ostream& s, SvStream& rSt ); 61 62 ostream& __cdecl endl1( ostream& s ); 63 ostream& __cdecl indent( ostream& s, SvStream& rSt ); 64 ostream& __cdecl indent1( ostream& s ); 65 ostream& __cdecl indent2( ostream& s ); 66 ostream& __cdecl hex2( ostream& s ); 67 ostream& __cdecl hex4( ostream& s ); 68 ostream& __cdecl hex6( ostream& s ); 69 ostream& __cdecl hex8( ostream& s ); 70 ostream& __cdecl dec2( ostream& s ); 71 72 ostream& __cdecl begin( ostream& s, SvStream& rSt ); 73 ostream& __cdecl begin1( ostream& s ); 74 ostream& __cdecl begin2( ostream& s ); 75 ostream& __cdecl end( ostream& s, SvStream& rSt ); 76 ostream& __cdecl end1( ostream& s ); 77 ostream& __cdecl end2( ostream& s ); 78 79 extern ostream* pOut; 80 81 82 #endif 83