#include </home/clem/local/src/opie/qmake/include/private/qrichtext_p.h>
Collaboration diagram for QTextParagraph:

Public Member Functions | |
| QTextParagraph (QTextDocument *d, QTextParagraph *pr=0, QTextParagraph *nx=0, bool updateIds=TRUE) | |
| virtual | ~QTextParagraph () |
| QTextString * | string () const |
| QTextStringChar * | at (int i) const |
| int | leftGap () const |
| int | length () const |
| void | setListStyle (QStyleSheetItem::ListStyle ls) |
| QStyleSheetItem::ListStyle | listStyle () const |
| void | setListItem (bool li) |
| bool | isListItem () const |
| void | setListValue (int v) |
| int | listValue () const |
| void | setListDepth (int depth) |
| int | listDepth () const |
| QTextDocument * | document () const |
| QTextParagraphPseudoDocument * | pseudoDocument () const |
| QRect | rect () const |
| void | setHeight (int h) |
| void | show () |
| void | hide () |
| bool | isVisible () const |
| QTextParagraph * | prev () const |
| QTextParagraph * | next () const |
| void | setPrev (QTextParagraph *s) |
| void | setNext (QTextParagraph *s) |
| void | insert (int index, const QString &s) |
| void | insert (int index, const QChar *unicode, int len) |
| void | append (const QString &s, bool reallyAtEnd=FALSE) |
| void | truncate (int index) |
| void | remove (int index, int len) |
| void | join (QTextParagraph *s) |
| void | invalidate (int chr) |
| void | move (int &dy) |
| void | format (int start=-1, bool doMove=TRUE) |
| bool | isValid () const |
| bool | hasChanged () const |
| void | setChanged (bool b, bool recursive=FALSE) |
| int | lineHeightOfChar (int i, int *bl=0, int *y=0) const |
| QTextStringChar * | lineStartOfChar (int i, int *index=0, int *line=0) const |
| int | lines () const |
| QTextStringChar * | lineStartOfLine (int line, int *index=0) const |
| int | lineY (int l) const |
| int | lineBaseLine (int l) const |
| int | lineHeight (int l) const |
| void | lineInfo (int l, int &y, int &h, int &bl) const |
| void | setSelection (int id, int start, int end) |
| void | removeSelection (int id) |
| int | selectionStart (int id) const |
| int | selectionEnd (int id) const |
| bool | hasSelection (int id) const |
| bool | hasAnySelection () const |
| bool | fullSelected (int id) const |
| void | setEndState (int s) |
| int | endState () const |
| void | setParagId (int i) |
| int | paragId () const |
| bool | firstPreProcess () const |
| void | setFirstPreProcess (bool b) |
| void | indent (int *oldIndent=0, int *newIndent=0) |
| void | setExtraData (QTextParagraphData *data) |
| QTextParagraphData * | extraData () const |
| QMap< int, QTextLineStart * > & | lineStartList () |
| void | setFormat (int index, int len, QTextFormat *f, bool useCollection=TRUE, int flags=-1) |
| void | setAlignment (int a) |
| int | alignment () const |
| virtual void | paint (QPainter &painter, const QColorGroup &cg, QTextCursor *cursor=0, bool drawSelections=FALSE, int clipx=-1, int clipy=-1, int clipw=-1, int cliph=-1) |
| virtual int | topMargin () const |
| virtual int | bottomMargin () const |
| virtual int | leftMargin () const |
| virtual int | firstLineMargin () const |
| virtual int | rightMargin () const |
| virtual int | lineSpacing () const |
| void | registerFloatingItem (QTextCustomItem *i) |
| void | unregisterFloatingItem (QTextCustomItem *i) |
| void | setFullWidth (bool b) |
| bool | isFullWidth () const |
| QTextTableCell * | tableCell () const |
| QBrush * | background () const |
| int | documentWidth () const |
| int | documentVisibleWidth () const |
| int | documentX () const |
| int | documentY () const |
| QTextFormatCollection * | formatCollection () const |
| QTextFormatter * | formatter () const |
| virtual int | nextTab (int i, int x) |
| int * | tabArray () const |
| void | setTabArray (int *a) |
| void | setTabStops (int tw) |
| void | adjustToPainter (QPainter *p) |
| void | setNewLinesAllowed (bool b) |
| bool | isNewLinesAllowed () const |
| QString | richText () const |
| void | addCommand (QTextCommand *cmd) |
| QTextCursor * | undo (QTextCursor *c=0) |
| QTextCursor * | redo (QTextCursor *c=0) |
| QTextCommandHistory * | commands () const |
| virtual void | copyParagData (QTextParagraph *parag) |
| void | setBreakable (bool b) |
| bool | isBreakable () const |
| void | setBackgroundColor (const QColor &c) |
| QColor * | backgroundColor () const |
| void | clearBackgroundColor () |
| void | setMovedDown (bool b) |
| bool | wasMovedDown () const |
| void | setDirection (QChar::Direction d) |
| QChar::Direction | direction () const |
| void | setPaintDevice (QPaintDevice *pd) |
| void | readStyleInformation (QDataStream &stream) |
| void | writeStyleInformation (QDataStream &stream) const |
Protected Member Functions | |
| virtual void | setColorForSelection (QColor &c, QPainter &p, const QColorGroup &cg, int selection) |
| virtual void | drawLabel (QPainter *p, int x, int y, int w, int h, int base, const QColorGroup &cg) |
| virtual void | drawString (QPainter &painter, const QString &str, int start, int len, int xstart, int y, int baseLine, int w, int h, int selection, QTextStringChar *formatChar, const QColorGroup &cg, bool rightToLeft) |
Private Member Functions | |
| QMap< int, QTextParagraphSelection > & | selections () const |
| QPtrList< QTextCustomItem > & | floatingItems () const |
| QBrush | backgroundBrush (const QColorGroup &cg) |
| void | invalidateStyleCache () |
Private Attributes | |
| QMap< int, QTextLineStart * > | lineStarts |
| int | invalid |
| QRect | r |
| QTextParagraph * | p |
| QTextParagraph * | n |
| void * | docOrPseudo |
| uint | changed: 1 |
| uint | firstFormat: 1 |
| uint | firstPProcess: 1 |
| uint | needPreProcess: 1 |
| uint | fullWidth: 1 |
| uint | lastInFrame: 1 |
| uint | visible: 1 |
| uint | breakable: 1 |
| uint | movedDown: 1 |
| uint | mightHaveCustomItems: 1 |
| uint | hasdoc: 1 |
| uint | litem: 1 |
| uint | rtext: 1 |
| int | align: 4 |
| int | state |
| int | id |
| QTextString * | str |
| QMap< int, QTextParagraphSelection > * | mSelections |
| QPtrList< QTextCustomItem > * | mFloatingItems |
| QStyleSheetItem::ListStyle | lstyle |
| short | utm |
| short | ubm |
| short | ulm |
| short | urm |
| short | uflm |
| short | ulinespacing |
| int * | tArray |
| short | tabStopWidth |
| QTextParagraphData * | eData |
| short | list_val |
| QColor * | bgcol |
| ushort | ldepth |
| QPaintDevice * | paintdevice |
Friends | |
| class | QTextDocument |
| class | QTextCursor |
| class | QSyntaxHighlighter |
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 2044 of file qrichtext_p.h. References align. |
|
||||||||||||
|
Definition at line 1949 of file qrichtext_p.h. References insert(), QTextString::length(), and str. |
|
|
Definition at line 1922 of file qrichtext_p.h. References QTextString::at(), and str. |
|
|
Definition at line 2061 of file qrichtext_p.h. References tableCell(). |
|
|
Definition at line 1331 of file qrichtext_p.h. References bgcol. |
|
|
Definition at line 1305 of file qrichtext_p.h. References bgcol. |
|
|
|
|
|
Definition at line 1944 of file qrichtext_p.h. References bgcol, setChanged(), and TRUE. |
|
|
Definition at line 2038 of file qrichtext_p.h. References document(), hasdoc, and pseudoDocument(). |
|
|
|
|
|
|
|
|
Definition at line 2016 of file qrichtext_p.h. References docOrPseudo, and hasdoc. Referenced by commands(), Qt3::QTextParagraph::commands(), documentVisibleWidth(), Qt3::QTextParagraph::documentVisibleWidth(), documentWidth(), Qt3::QTextParagraph::documentWidth(), documentX(), Qt3::QTextParagraph::documentX(), documentY(), Qt3::QTextParagraph::documentY(), tableCell(), Qt3::QTextParagraph::tableCell(), and QTextDocument::useDoubleBuffer(). |
|
|
Definition at line 2075 of file qrichtext_p.h. References document(), hasdoc, and pseudoDocument(). |
|
|
Definition at line 2070 of file qrichtext_p.h. References document(), hasdoc, and pseudoDocument(). |
|
|
Definition at line 2080 of file qrichtext_p.h. References document(), hasdoc, and pseudoDocument(). |
|
|
Definition at line 2085 of file qrichtext_p.h. References document(), hasdoc, and pseudoDocument(). |
|
||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
Definition at line 1979 of file qrichtext_p.h. References state. |
|
|
Definition at line 2095 of file qrichtext_p.h. References eData. |
|
|
|
|
|
Definition at line 1996 of file qrichtext_p.h. References firstPProcess. |
|
|
Referenced by registerFloatingItem(), Qt3::QTextParagraph::registerFloatingItem(), unregisterFloatingItem(), and Qt3::QTextParagraph::unregisterFloatingItem(). |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 1967 of file qrichtext_p.h. References FALSE, mSelections, and selections(). |
|
|
Definition at line 1932 of file qrichtext_p.h. References changed. |
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
Definition at line 1302 of file qrichtext_p.h. References breakable. Referenced by QTextFormatter::isWrapEnabled(). |
|
|
Definition at line 1268 of file qrichtext_p.h. References fullWidth. |
|
|
Definition at line 1168 of file qrichtext_p.h. References litem. |
|
|
|
|
|
Definition at line 1927 of file qrichtext_p.h. References invalid. |
|
|
Definition at line 1191 of file qrichtext_p.h. References visible. |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 1643 of file qrichtext_p.h. References QTextString::length(), and str. Referenced by QTextString::operator+=(), and Qt3::QTextString::operator+=(). |
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
Definition at line 2006 of file qrichtext_p.h. References lineStarts. |
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
Definition at line 1173 of file qrichtext_p.h. References ldepth. |
|
|
Definition at line 1166 of file qrichtext_p.h. References lstyle. |
|
|
Definition at line 1170 of file qrichtext_p.h. References list_val. |
|
|
|
|
|
Definition at line 1962 of file qrichtext_p.h. References n. |
|
||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||
|
|
|
|
Definition at line 1989 of file qrichtext_p.h. References id, and qWarning(). |
|
|
Definition at line 1957 of file qrichtext_p.h. References p. |
|
|
Definition at line 2023 of file qrichtext_p.h. References docOrPseudo, and hasdoc. Referenced by commands(), Qt3::QTextParagraph::commands(), documentVisibleWidth(), Qt3::QTextParagraph::documentVisibleWidth(), documentWidth(), Qt3::QTextParagraph::documentWidth(), documentX(), Qt3::QTextParagraph::documentX(), documentY(), and Qt3::QTextParagraph::documentY(). |
|
|
|
|
|
Definition at line 1648 of file qrichtext_p.h. References r. |
|
|
|
|
|
Definition at line 2050 of file qrichtext_p.h. References floatingItems(). |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by hasAnySelection(), and Qt3::QTextParagraph::hasAnySelection(). |
|
|
|
|
|
|
|
|
Definition at line 1937 of file qrichtext_p.h. References bgcol, setChanged(), and TRUE. |
|
|
Definition at line 1301 of file qrichtext_p.h. References breakable. |
|
||||||||||||
|
Referenced by clearBackgroundColor(), Qt3::QTextParagraph::clearBackgroundColor(), setBackgroundColor(), and Qt3::QTextParagraph::setBackgroundColor(). |
|
||||||||||||||||||||
|
|
|
|
|
|
|
Definition at line 1972 of file qrichtext_p.h. References state. |
|
|
Definition at line 2090 of file qrichtext_p.h. References eData. |
|
|
Definition at line 2001 of file qrichtext_p.h. References firstPProcess. |
|
||||||||||||||||||||||||
|
|
|
|
Definition at line 1267 of file qrichtext_p.h. References fullWidth. |
|
|
Definition at line 1188 of file qrichtext_p.h. References r. |
|
|
|
|
|
|
|
|
Definition at line 1165 of file qrichtext_p.h. |
|
|
Definition at line 1169 of file qrichtext_p.h. References list_val. |
|
|
Definition at line 1308 of file qrichtext_p.h. References movedDown. |
|
|
|
|
|
|
|
|
Definition at line 1313 of file qrichtext_p.h. References paintdevice. |
|
|
Definition at line 1984 of file qrichtext_p.h. |
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 2011 of file qrichtext_p.h. References str. |
|
|
|
|
|
Definition at line 2032 of file qrichtext_p.h. References document(), and hasdoc. Referenced by background(), and Qt3::QTextParagraph::background(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 2055 of file qrichtext_p.h. References floatingItems(). |
|
|
Definition at line 1309 of file qrichtext_p.h. References movedDown. |
|
|
|
|
|
Definition at line 1154 of file qrichtext_p.h. |
|
|
Definition at line 1153 of file qrichtext_p.h. |
|
|
Definition at line 1152 of file qrichtext_p.h. |
|
|
Definition at line 1352 of file qrichtext_p.h. Referenced by alignment(), and Qt3::QTextParagraph::alignment(). |
|
|
|
Definition at line 1346 of file qrichtext_p.h. Referenced by isBreakable(), Qt3::QTextParagraph::isBreakable(), setBreakable(), and Qt3::QTextParagraph::setBreakable(). |
|
|
Definition at line 1339 of file qrichtext_p.h. Referenced by hasChanged(), Qt3::QTextParagraph::hasChanged(), Qt3::QTextParagraph::setListItem(), setListStyle(), and Qt3::QTextParagraph::setListStyle(). |
|
|
Definition at line 1338 of file qrichtext_p.h. Referenced by document(), Qt3::QTextParagraph::document(), pseudoDocument(), and Qt3::QTextParagraph::pseudoDocument(). |
|
|
Definition at line 1363 of file qrichtext_p.h. Referenced by extraData(), Qt3::QTextParagraph::extraData(), setExtraData(), and Qt3::QTextParagraph::setExtraData(). |
|
|
Definition at line 1340 of file qrichtext_p.h. |
|
|
Definition at line 1341 of file qrichtext_p.h. Referenced by firstPreProcess(), Qt3::QTextParagraph::firstPreProcess(), setFirstPreProcess(), and Qt3::QTextParagraph::setFirstPreProcess(). |
|
|
Definition at line 1343 of file qrichtext_p.h. Referenced by isFullWidth(), Qt3::QTextParagraph::isFullWidth(), setFullWidth(), and Qt3::QTextParagraph::setFullWidth(). |
|
|
|
Definition at line 1353 of file qrichtext_p.h. Referenced by paragId(), and Qt3::QTextParagraph::paragId(). |
|
|
Definition at line 1335 of file qrichtext_p.h. Referenced by isValid(), and Qt3::QTextParagraph::isValid(). |
|
|
Definition at line 1344 of file qrichtext_p.h. |
|
|
Definition at line 1366 of file qrichtext_p.h. Referenced by listDepth(), and Qt3::QTextParagraph::listDepth(). |
|
|
Definition at line 1334 of file qrichtext_p.h. Referenced by lineStartList(), and Qt3::QTextParagraph::lineStartList(). |
|
|
Definition at line 1364 of file qrichtext_p.h. Referenced by listValue(), Qt3::QTextParagraph::listValue(), setListValue(), and Qt3::QTextParagraph::setListValue(). |
|
|
Definition at line 1350 of file qrichtext_p.h. Referenced by isListItem(), Qt3::QTextParagraph::isListItem(), and Qt3::QTextParagraph::setListItem(). |
|
|
Definition at line 1359 of file qrichtext_p.h. Referenced by listStyle(), Qt3::QTextParagraph::listStyle(), setListStyle(), and Qt3::QTextParagraph::setListStyle(). |
|
|
Definition at line 1357 of file qrichtext_p.h. |
|
|
Definition at line 1348 of file qrichtext_p.h. |
|
|
Definition at line 1347 of file qrichtext_p.h. Referenced by setMovedDown(), Qt3::QTextParagraph::setMovedDown(), wasMovedDown(), and Qt3::QTextParagraph::wasMovedDown(). |
|
|
Definition at line 1355 of file qrichtext_p.h. Referenced by hasAnySelection(), and Qt3::QTextParagraph::hasAnySelection(). |
|
|
Definition at line 1337 of file qrichtext_p.h. Referenced by next(), and Qt3::QTextParagraph::next(). |
|
|
Definition at line 1342 of file qrichtext_p.h. |
|
|
Definition at line 1337 of file qrichtext_p.h. Referenced by prev(), and Qt3::QTextParagraph::prev(). |
|
|
Definition at line 1367 of file qrichtext_p.h. Referenced by setPaintDevice(). |
|
|
Definition at line 1336 of file qrichtext_p.h. Referenced by rect(), Qt3::QTextParagraph::rect(), setHeight(), and Qt3::QTextParagraph::setHeight(). |
|
|
Definition at line 1351 of file qrichtext_p.h. |
|
|
Definition at line 1353 of file qrichtext_p.h. Referenced by endState(), Qt3::QTextParagraph::endState(), setEndState(), and Qt3::QTextParagraph::setEndState(). |
|
|
Definition at line 1354 of file qrichtext_p.h. Referenced by append(), Qt3::QTextParagraph::append(), at(), Qt3::QTextParagraph::at(), length(), Qt3::QTextParagraph::length(), string(), and Qt3::QTextParagraph::string(). |
|
|
Definition at line 1362 of file qrichtext_p.h. |
|
|
Definition at line 1361 of file qrichtext_p.h. |
|
|
Definition at line 1360 of file qrichtext_p.h. |
|
|
Definition at line 1360 of file qrichtext_p.h. |
|
|
Definition at line 1360 of file qrichtext_p.h. |
|
|
Definition at line 1360 of file qrichtext_p.h. |
|
|
Definition at line 1360 of file qrichtext_p.h. |
|
|
Definition at line 1360 of file qrichtext_p.h. |
|
|
Definition at line 1345 of file qrichtext_p.h. Referenced by isVisible(), and Qt3::QTextParagraph::isVisible(). |
1.4.2