Layout Class Reference
#include <layout.h>
Inheritance diagram for Layout:
Public Member Functions | |
| Layout () | |
| bool | isChapter () const |
| bool | isList () const |
| bool | isEnum () const |
| bool | isLastSame () const |
| bool | isNextSame () const |
| TQString | getLastName () const |
| EType | getLastCounter () const |
| EType | getCounterType () const |
| int | getCounterDepth () const |
| int | getCounterBullet () const |
| int | getCounterStart () const |
| int | getNumberingType () const |
| EEnv | getEnv () const |
| bool | isHardBreakAfter () const |
| bool | isHardBreak () const |
| bool | isKeppLinesTogether () const |
| void | setName (TQString name) |
| void | setLastName () |
| void | setLastCounter () |
| void | setFollowing (TQString name) |
| void | setCounterType (int ct) |
| void | setCounterDepth (int cd) |
| void | setCounterBullet (int cb) |
| void | setCounterStart (int cs) |
| void | setNumberingType (int nt) |
| void | setEnv (int env) |
| void | useHardBreakAfter () |
| void | useHardBreak () |
| void | keepLinesTogether () |
| void | analyseLayout (const TQDomNode) |
| Public Member Functions inherited from TextFormat | |
| TextFormat () | |
| unsigned int | getSize () const |
| unsigned int | getWeight () const |
| EAlign | getAlign () const |
| int | getColorBlue () const |
| int | getColorGreen () const |
| int | getColorRed () const |
| ETypeUnderline | getUnderlineType () const |
| int | getBkColorBlue () const |
| int | getBkColorGreen () const |
| int | getBkColorRed () const |
| bool | isItalic () const |
| bool | isUnderlined () const |
| bool | isStrikeout () const |
| bool | isColor () const |
| bool | isBkColored () const |
| void | setSize (const unsigned int t) |
| void | setWeight (const unsigned int w) |
| void | setItalic (bool i) |
| void | setUnderlined (ETypeUnderline u) |
| void | setUnderlined (TQString u) |
| void | setStrikeout (bool s) |
| void | setPolice (TQString p) |
| void | setAlign (const int a) |
| void | setColor (const int, const int, const int) |
| void | setBkColor (const int, const int, const int) |
| void | analyseFormat (const TQDomNode) |
| void | analyseParam (const TQDomNode) |
| void | analyseFont (const TQDomNode) |
| void | analyseItalic (const TQDomNode) |
| void | analyseUnderlined (const TQDomNode) |
| void | analyseStrikeout (const TQDomNode) |
| void | analyseWeight (const TQDomNode) |
| void | analyseAlign (const TQDomNode) |
| void | analyseColor (const TQDomNode) |
| void | analyseSize (const TQDomNode) |
| void | analyseBackgroundColor (const TQDomNode) |
| Public Member Functions inherited from Format | |
| Format () | |
| long | getMultirow () const |
| long | getAlign () const |
| long | getAlignY () const |
| TQColor | getBgColor () const |
| bool | getVerticalText () const |
| double | getAngle () const |
| TQColor | getBrushColor () const |
| int | getBrushStyle () const |
| int | getIndent () const |
| bool | getDontPrintText () const |
| bool | hasBorder () const |
| bool | hasTopBorder () const |
| bool | hasBottomBorder () const |
| bool | hasLeftBorder () const |
| bool | hasRightBorder () const |
| double | getPenWidth () const |
| int | getPenStyle () const |
| TQColor | getPenColor () const |
| int | getFontSize () const |
| TQString | getFontFamily () const |
| int | getFontWeight () const |
| bool | isValidFormat () const |
| void | setAlign (long a) |
| void | setAlignY (long a) |
| void | setBgColor (TQColor b) |
| void | setMultirow (long mr) |
| void | setVerticalText (bool vt) |
| void | setAngle (double a) |
| void | setBrushColor (TQString bc) |
| void | setBrushStyle (int bs) |
| void | setIndent (int indent) |
| void | setDontPrintText (bool dpt) |
| void | setPenWidth (double pw) |
| void | setPenStyle (int ps) |
| void | setPenColor (TQString pc) |
| void | setFontSize (int s) |
| void | setFontFamily (TQString f) |
| void | setFontWeight (int w) |
| virtual void | analyse (const TQDomNode) |
| virtual void | analysePen (const TQDomNode) |
| void | generate (TQTextStream &out, Column *col=NULL, Row *row=NULL) |
| void | generateTextFormat (TQTextStream &out, TQString text) |
| void | generateColor (TQTextStream &out) |
| Format (Para *para=0) | |
| EFormat | getId () const |
| Para * | getPara () const |
| EFormat | getFormatType () const |
| unsigned int | getPos () const |
| unsigned int | getLength () const |
| void | setId (int id) |
| void | setPara (Para *para) |
| void | setPos (const unsigned int pos) |
| void | setLength (const unsigned int t) |
| virtual void | analyse (const TQDomNode) |
| virtual void | generate (TQTextStream &)=0 |
| Public Member Functions inherited from XmlParser | |
| XmlParser (TQString) | |
| XmlParser (TQByteArray) | |
| XmlParser (const KoStore *) | |
| TQString | getFilename () const |
| TQString | getDocument () const |
| Document * | getRoot () const |
| FileHeader * | getFileHeader () const |
| TQString | getChildName (TQDomNode, int) |
| TQDomNode | getChild (TQDomNode, TQString) |
| TQDomNode | getChild (TQDomNode, TQString, int) |
| TQDomNode | getChild (TQDomNode, int) |
| TQString | getData (TQDomNode, int) |
| TQString | getData (TQDomNode, TQString) |
| int | getNbChild (TQDomNode, TQString) |
| int | getNbChild (TQDomNode) |
| TQString | getAttr (TQDomNode, TQString) const |
| bool | isChild (TQDomNode, TQString) |
| void | setFileHeader (FileHeader *h) |
| void | setRoot (Document *r) |
| TQDomNode | init () |
| XmlParser (Config *, TQString) | |
| XmlParser (Config *, TQByteArray) | |
| XmlParser (Config *, const KoStore *) | |
| TQString | getFilename () const |
| TQString | getDocument () const |
| Document * | getRoot () const |
| KoStore * | getStorage () const |
| TQString | getChildName (TQDomNode, int) |
| TQDomNode | getChild (TQDomNode, TQString) |
| TQDomNode | getChild (TQDomNode, TQString, int) |
| TQDomNode | getChild (TQDomNode, int) |
| TQString | getData (TQDomNode, int) |
| int | getNbChild (TQDomNode, TQString) |
| int | getNbChild (TQDomNode) |
| TQString | getAttr (TQDomNode, TQString) const |
| bool | isChild (TQDomNode, TQString) |
| void | setRoot (Document *r) |
| TQDomNode | init () |
Additional Inherited Members | |
| Static Protected Attributes inherited from XmlParser | |
| static FileHeader * | _fileHeader = 0 |
| static Document * | _root = 0 |
| static TQString | _filename |
Detailed Description
This class tells about a paragraph and its contents.
For example, a list, a title and the format for the paragraph.
Constructor & Destructor Documentation
◆ Layout()
| Layout::Layout | ( | ) |
◆ ~Layout()
Member Function Documentation
◆ analyseLayout()
| void Layout::analyseLayout | ( | const TQDomNode | balise | ) |
Helpfull functions.
Definition at line 55 of file layout.cpp.
◆ getCounterBullet()
◆ getCounterDepth()
◆ getCounterStart()
◆ getCounterType()
◆ getEnv()
◆ getLastCounter()
◆ getLastName()
◆ getNumberingType()
◆ isChapter()
◆ isEnum()
◆ isHardBreak()
◆ isHardBreakAfter()
◆ isKeppLinesTogether()
◆ isLastSame()
◆ isList()
◆ isNextSame()
◆ keepLinesTogether()
◆ setCounterBullet()
◆ setCounterDepth()
◆ setCounterStart()
◆ setCounterType()
◆ setEnv()
◆ setFollowing()
◆ setLastCounter()
◆ setLastName()
◆ setName()
◆ setNumberingType()
◆ useHardBreak()
◆ useHardBreakAfter()
The documentation for this class was generated from the following files:
