4#include <qpro/tablenames.h>
5#include <qpro/stream.h>
15 QpFloatingPointCell = 14,
29 QpRec(QpRecType pType);
58class QpRecCell :
public QpRec
61 QpRecCell(QpRecType pType);
64 void attributes(TQP_INT16 pAttributes);
65 TQP_INT16 attributes();
68 void cellRef(
char* pText, QpTableNames& pTable, TQP_INT16 pNoteBook, TQP_UINT8 pPage, TQP_UINT8 pColumn, TQP_INT16 pRow);
69 void cellRef(
char* pText, QpTableNames& pTable, QpIStream& pFormulaRef);
71 void column(TQP_UINT8 pColumn);
74 void row(TQP_INT16 pRow);
78 int loadCellInfo(QpIStream& pIn);
80 TQP_INT16 cAttributes;
89class QpRecBof :
public QpRec
92 QpRecBof(TQP_INT16 pLen, QpIStream& pIn);
95 void fileFormat(TQP_INT16 pFileFormat);
96 TQP_INT16 fileFormat();
99 TQP_INT16 cFileFormat;
104class QpRecEof :
public QpRec
107 QpRecEof(TQP_INT16 pLen, QpIStream& pIn);
114class QpRecRecalcMode :
public QpRec
117 enum MODE{Manual=0, Background=1, Automatic=255};
119 QpRecRecalcMode(TQP_INT16 pLen, QpIStream& pIn);
122 void mode(MODE pMode);
132class QpRecRecalcOrder :
public QpRec
135 enum ORDER { Natural=0,
Column=1,
Row=255 };
137 QpRecRecalcOrder(TQP_INT16 pLen, QpIStream& pIn);
140 void order(ORDER pOrder);
157class QpRecEmptyCell :
public QpRecCell
160 QpRecEmptyCell(TQP_INT16 pLen, QpIStream& pIn);
167class QpRecIntegerCell :
public QpRecCell
170 QpRecIntegerCell(TQP_INT16 pLen, QpIStream& pIn);
181class QpRecFloatingPointCell :
public QpRecCell
184 QpRecFloatingPointCell(TQP_INT16 pLen, QpIStream& pIn);
185 ~QpRecFloatingPointCell();
194class QpRecFormulaCell :
public QpRecCell
197 QpRecFormulaCell(TQP_INT16 pLen, QpIStream& pIn);
200 const char* formula();
201 TQP_INT16 formulaReferences();
202 TQP_INT16 formulaLen();
207 TQP_INT64 cLastValue;
214class QpRecLabelCell :
public QpRecCell
217 QpRecLabelCell(TQP_INT16 pLen, QpIStream& pIn);
230class QpRecUnknown :
public QpRec
233 QpRecUnknown(TQP_INT16 pType, TQP_INT16 pLen, QpIStream& pIn);
239class QpRecBop :
public QpRec
242 QpRecBop(TQP_INT16 pLen, QpIStream& pIn);
245 TQP_UINT8 pageIndex();
248 TQP_UINT8 cPageIndex;
253class QpRecPageName :
public QpRec
256 QpRecPageName(TQP_INT16 pLen, QpIStream& pIn);
259 const char* pageName();
267class QpRecPassword :
public QpRec
270 QpRecPassword(TQP_INT16 pLen, QpIStream& pIn);
273 const TQP_UINT8* password();
276 TQP_UINT8* cPassword;
This class hold a column.