46class Table:
public XmlParser, Config
49 TQPtrList<Column> _columns;
50 TQPtrList<Cell> _cells;
58 bool _firstletterupper;
61 bool _printCommentIndicator;
62 bool _printFormulaIndicator;
64 bool _showFormulaIndicator;
70 TQString _orientation;
100 int getMaxColumn()
const {
return _maxCol; }
101 TQString getName()
const {
return _name; }
102 TQString getFormat()
const {
return _format; }
103 TQString getOrientation()
const {
return _orientation; }
104 long getBorderRight()
const {
return _borderRight; }
105 long getBorderLeft()
const {
return _borderLeft; }
106 long getBorderBottom()
const {
return _borderBottom; }
107 long getBorderTop()
const {
return _borderTop; }
109 bool isColumnNumber()
const {
return _columnNumber; }
110 bool isBorders()
const {
return _borders; }
111 bool isHide()
const {
return _hide; }
112 bool isHideZero()
const {
return _hideZero; }
113 bool isFirstletterupper()
const {
return _firstletterupper; }
114 bool isGrid()
const {
return _grid; }
115 bool isPrintGrid()
const {
return _printGrid; }
116 bool isPrintCommentIndicator()
const {
return _printCommentIndicator; }
117 bool isPrintFormulaIndicator()
const {
return _printFormulaIndicator; }
118 bool isShowFormula()
const {
return _showFormula; }
119 bool isShowFormulaIndicator()
const {
return _showFormulaIndicator; }
120 bool isLCMode()
const {
return _lcMode; }
126 void setMaxColumn(
int c);
127 void setName(TQString name) { _name = name; }
128 void setFormat(TQString format) { _format = format; }
129 void setOrientation(TQString orient) { _orientation = orient; }
130 void setBorderRight(
long br) { _borderRight = br; }
131 void setBorderLeft(
long bl) { _borderLeft = bl; }
132 void setBorderBottom(
long bb) { _borderBottom = bb; }
133 void setBorderTop(
long bt) { _borderTop = bt; }
135 void setColumnNumber() { _columnNumber =
true; }
136 void setBorders() { _borders =
true; }
137 void setHide() { _hide =
true; }
138 void setHideZero() { _hideZero =
true; }
139 void setFirstletterupper() { _firstletterupper =
true; }
140 void setGrid() { _grid =
true; }
141 void setPrintGrid() { _printGrid =
true; }
142 void setPrintCommentIndicator() { _printCommentIndicator =
true; }
143 void setPrintFormulaIndicator() { _printFormulaIndicator =
true; }
144 void setShowFormula() { _showFormula =
true; }
145 void setShowFormulaIndicator() { _showFormulaIndicator =
true; }
146 void setLCMode() { _lcMode =
true; }
174 void analyse (
const TQDomNode);
175 void analysePaper (
const TQDomNode);
176 void generate (TQTextStream&);
179 void generateCell(TQTextStream&,
int,
int);
180 void generateTableHeader(TQTextStream&);
181 void generateTopLineBorder(TQTextStream&,
int);
182 void generateBottomLineBorder(TQTextStream&,
int);