23#ifndef __KSPREAD_LATEX_FORMAT_H__
24#define __KSPREAD_LATEX_FORMAT_H__
26#include <tqtextstream.h>
95 long getAlign() const { return _align; }
96 long getAlignY() const { return _alignY; }
97 TQColor getBgColor() const { return _bgColor; }
98 bool getVerticalText() const { return _verticalText; }
99 double getAngle() const { return _angle; }
100 TQColor getBrushColor() const { return _brushColor; }
101 int getBrushStyle() const { return _brushStyle; }
102 int getIndent() const { return _indent; }
103 bool getDontPrintText() const { return _dontprinttext; }
105 bool hasBorder() const { return (hasTopBorder() || hasBottomBorder() || hasLeftBorder() || hasRightBorder()); }
106 bool hasTopBorder() const;
108 bool hasBottomBorder() const;
110 bool hasLeftBorder() const;
112 bool hasRightBorder() const;
116 double getPenWidth() const { return _penWidth; }
117 int getPenStyle() const { return _penStyle; }
118 TQColor getPenColor() const { return _penColor; }
121 int getFontSize() const { return _size; }
122 TQString getFontFamily() const { return _family; }
123 int getFontWeight() const { return _weight; }
124 bool isValidFormat() const { return _isValidFormat; }
130 void setAlignY( long a) { _alignY = a; }
131 void setBgColor(TQColor b) { _bgColor = b; }
132 void setMultirow( long mr) { _multirow = mr; }
133 void setVerticalText( bool vt) { _verticalText = vt; }
134 void setAngle( double a) { _angle = a; }
135 void setBrushColor(TQString bc) { _brushColor.setNamedColor(bc); }
136 void setBrushStyle( int bs) { _brushStyle = bs; }
137 void setIndent( int indent) { _indent = indent; }
138 void setDontPrintText( bool dpt) { _dontprinttext = dpt; }
141 void setPenWidth( double pw) { _penWidth = pw; }
142 void setPenStyle( int ps) { _penStyle = ps; }
143 void setPenColor(TQString pc) { _penColor.setNamedColor(pc); }
146 void setFontSize( int s) { _size = s; }
147 void setFontFamily(TQString f) { _family = f; }
148 void setFontWeight( int w) { _weight = w; }
157 virtual void analyse( const TQDomNode);
158 virtual void analysePen( const TQDomNode);
159 virtual void analyseFont( const TQDomNode);
This class hold a column.
This class describe a pen which is used to draw borders.
This class supply some convenients methods to access to a DOM tree.
|