summaryrefslogtreecommitdiff
path: root/patches/OOO_1_1/qpro-hxx.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/OOO_1_1/qpro-hxx.diff')
-rw-r--r--patches/OOO_1_1/qpro-hxx.diff50
1 files changed, 50 insertions, 0 deletions
diff --git a/patches/OOO_1_1/qpro-hxx.diff b/patches/OOO_1_1/qpro-hxx.diff
new file mode 100644
index 000000000..582cbb231
--- /dev/null
+++ b/patches/OOO_1_1/qpro-hxx.diff
@@ -0,0 +1,50 @@
+--- /dev/null 2004-08-25 23:04:59.000000000 +0530
++++ sc/source/filter/inc/qpro.hxx 2004-12-15 12:41:25.000000000 +0530
+@@ -0,0 +1,47 @@
++#ifndef _QPRO_HXX
++#define _QPRO_HXX
++
++#include "flttools.hxx"
++#include "filter.hxx"
++#include "scerrors.hxx"
++#include "document.hxx"
++#include "cell.hxx"
++#include "math.h"
++
++#include <vcl/color.hxx>
++
++
++// Stream wrapper class
++class BiffReader
++{
++ protected:
++ sal_uInt16 mnId;
++ sal_uInt16 mnLength;
++ sal_uInt32 mnOffset;
++ rtl_TextEncoding meCharSet;
++
++ public:
++ sal_uInt8 Align[ 256 ];
++ sal_uInt8 Font[ 256 ];
++ sal_uInt16 FontRecord[ 256 ];
++ sal_uInt16 FontSize[ 256 ];
++ sal_Int16 FontColor[ 256 ];
++ String FontType[ 256 ];
++ bool EndOfFile;
++ SvStream *mpStream;
++ BiffReader( SfxMedium & rMedium );
++ ~BiffReader();
++ bool recordsLeft() { return mpStream && !mpStream->IsEof(); }
++ bool nextRecord();
++ void SetFormat( ScDocument* pDoc, sal_uInt8 nCol, sal_uInt16 nRow, sal_uInt8 nTab, sal_uInt16 nStyle );
++ sal_uInt16 getId() { return mnId; }
++ sal_uInt16 getLength() { return mnLength; }
++ void readString( String &rString, sal_uInt16 nLength );
++ SvStream& operator>>( sal_uInt8 & rByte );
++ SvStream& operator>>( sal_uInt16 & rWord );
++ SvStream& operator>>( sal_Int8 & rByte );
++ ColorData MapIntToColor( sal_uInt16 nColor );
++
++};
++#endif
++