Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Qt3::QTextParagraph Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-write/qrichtext_p.h>

Collaboration diagram for Qt3::QTextParagraph:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QTextParagraph (QTextDocument *d, QTextParagraph *pr=0, QTextParagraph *nx=0, bool updateIds=TRUE)
virtual ~QTextParagraph ()
QTextStringstring () const
QTextStringCharat (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
QTextDocumentdocument () const
QTextParagraphPseudoDocumentpseudoDocument () const
QRect rect () const
void setHeight (int h)
void show ()
void hide ()
bool isVisible () const
QTextParagraphprev () const
QTextParagraphnext () 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
QTextStringCharlineStartOfChar (int i, int *index=0, int *line=0) const
int lines () const
QTextStringCharlineStartOfLine (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)
QTextParagraphDataextraData () 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
QTextTableCelltableCell () const
QBrush * background () const
int documentWidth () const
int documentVisibleWidth () const
int documentX () const
int documentY () const
QTextFormatCollectionformatCollection () const
QTextFormatterformatter () 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)
QTextCursorundo (QTextCursor *c=0)
QTextCursorredo (QTextCursor *c=0)
QTextCommandHistorycommands () 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 readStyleInformation (QDataStream &stream)
void writeStyleInformation (QDataStream &stream) const

Protected Member Functions

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
QTextParagraphp
QTextParagraphn
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
QTextStringstr
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
QTextParagraphDataeData
short list_val
QColor * bgcol
ushort ldepth

Friends

class QTextDocument
class QTextCursor

Constructor & Destructor Documentation

QTextParagraph::QTextParagraph QTextDocument d,
QTextParagraph pr = 0,
QTextParagraph nx = 0,
bool  updateIds = TRUE
 

Definition at line 3723 of file qrichtext.cpp.

References bgcol, docOrPseudo, document(), formatCollection(), hasdoc, Qt3::QTextString::insert(), list_val, Qt3::QStyleSheetItem::ListDisc, lstyle, n, p, pseudoDocument(), s, state, str, tabStopWidth, and Qt3::QTextFormat::width().

QTextParagraph::~QTextParagraph  )  [virtual]
 

Definition at line 3774 of file qrichtext.cpp.

References QMap< Key, T >::begin(), Qt3::QTextDocument::curParag, document(), eData, QMap< Key, T >::end(), hasdoc, lineStarts, mFloatingItems, Qt3::QTextDocument::minw, Qt3::QTextDocument::minwParag, mSelections, n, p, pseudoDocument(), str, and tArray.


Member Function Documentation

void QTextParagraph::addCommand QTextCommand cmd  ) 
 

Definition at line 4724 of file qrichtext.cpp.

References document(), hasdoc, and pseudoDocument().

void QTextParagraph::adjustToPainter QPainter *  p  ) 
 

Definition at line 4653 of file qrichtext.cpp.

References at(), i, and length().

Referenced by Qt3::QTextTableCell::adjustToPainter().

int Qt3::QTextParagraph::alignment  )  const [inline]
 

Definition at line 1939 of file qrichtext_p.h.

References QTextParagraph::align.

Referenced by Qt3::QTextFormatterBreakWords::format(), Qt3::QTextEdit::getParagraphFormat(), paint(), Qt3::QTextDocument::richText(), and Qt3::QTextCursor::x().

void Qt3::QTextParagraph::append const QString s,
bool  reallyAtEnd = FALSE
[inline]
 

Definition at line 1846 of file qrichtext_p.h.

References QTextParagraph::insert(), Qt3::QTextString::length(), and QTextParagraph::str.

Referenced by join(), Qt3::QTextDocument::setPlainText(), Qt3::QTextDocument::setRichTextInternal(), and Qt3::QTextCursor::splitAndInsertEmptyParagraph().

QTextStringChar * Qt3::QTextParagraph::at int  i  )  const [inline]
 

Definition at line 1819 of file qrichtext_p.h.

References Qt3::QTextString::at(), and QTextParagraph::str.

Referenced by adjustToPainter(), drawLabel(), Qt3::QTextDocument::drawParagraph(), drawString(), Qt3::QTextDocument::focusNextPrevChild(), Qt3::QTextFormatterBreakWords::format(), Qt3::QTextEdit::getFormat(), Qt3::QTextEdit::getParagraphFormat(), Qt3::QTextCursor::gotoIntoNested(), Qt3::QTextCursor::gotoNextLetter(), Qt3::QTextCursor::gotoPreviousLetter(), join(), paint(), Qt3::QTextCursor::place(), Qt3::QTextDocument::plainText(), Qt3::QTextCursor::processNesting(), Qt3::QTextEdit::readFormats(), remove(), Qt3::QTextDocument::selectedText(), Qt3::QTextDocument::setDefaultFormat(), Qt3::QTextDocument::setRichTextInternal(), Qt3::QTextCursor::splitAndInsertEmptyParagraph(), and Qt3::QTextCursor::x().

QBrush * Qt3::QTextParagraph::background  )  const [inline]
 

Definition at line 1954 of file qrichtext_p.h.

References QTextParagraph::tableCell().

QBrush Qt3::QTextParagraph::backgroundBrush const QColorGroup &  cg  )  [inline, private]
 

Definition at line 1259 of file qrichtext_p.h.

References QTextParagraph::bgcol.

Referenced by Qt3::QTextDocument::drawParagraph().

QColor* Qt3::QTextParagraph::backgroundColor  )  const [inline]
 

Definition at line 1237 of file qrichtext_p.h.

References QTextParagraph::bgcol.

Referenced by copyParagData(), and Qt3::QTextEdit::paragraphBackgroundColor().

int QTextParagraph::bottomMargin  )  const [virtual]
 

Definition at line 4758 of file qrichtext.cpp.

References document(), isListItem(), listDepth(), next(), Qt3::QTextFormat::painter(), rtext, scale(), and ubm.

Referenced by Qt3::QTextFormatterBreakWords::format(), Qt3::QTextFormatterBreakInWords::format(), Qt3::QTextFormatter::formatVertically(), and Qt3::QTextDocument::setRichTextMarginsInternal().

void Qt3::QTextParagraph::clearBackgroundColor  )  [inline]
 

Definition at line 1841 of file qrichtext_p.h.

References QTextParagraph::bgcol, QTextParagraph::setChanged(), and TRUE.

Referenced by Qt3::QTextEdit::clearParagraphBackground().

QTextCommandHistory * Qt3::QTextParagraph::commands  )  const [inline]
 

Definition at line 1933 of file qrichtext_p.h.

References QTextParagraph::document(), QTextParagraph::hasdoc, and QTextParagraph::pseudoDocument().

void QTextParagraph::copyParagData QTextParagraph parag  )  [virtual]
 

Definition at line 4797 of file qrichtext.cpp.

References align, backgroundColor(), Qt3::QTextString::direction(), ldepth, litem, lstyle, rtext, setBackgroundColor(), Qt3::QTextString::setDirection(), str, ubm, uflm, ulinespacing, ulm, urm, and utm.

Referenced by Qt3::QTextCursor::splitAndInsertEmptyParagraph().

QChar::Direction QTextParagraph::direction  )  const
 

Definition at line 4838 of file qrichtext.cpp.

References Qt3::QTextString::direction(), QChar::DirON, and str.

Referenced by Qt3::QTextDocument::richText().

QTextDocument * Qt3::QTextParagraph::document  )  const [inline]
 

Definition at line 1913 of file qrichtext_p.h.

References QTextParagraph::docOrPseudo, and QTextParagraph::hasdoc.

Referenced by addCommand(), bottomMargin(), Qt3::QTextCursor::document(), Qt3::QTextDocument::draw(), Qt3::QTextDocument::drawParagraph(), drawString(), Qt3::QTextFormatterBreakInWords::format(), format(), formatCollection(), formatter(), Qt3::QTextCursor::gotoPosition(), indent(), insert(), Qt3::QTextCursor::insert(), join(), leftMargin(), move(), nextTab(), paint(), Qt3::QTextCursor::place(), Qt3::QTextCursor::processNesting(), QTextParagraph(), redo(), remove(), Qt3::QTextCursor::remove(), setChanged(), setNext(), setPrev(), Qt3::QTextDocument::setSelectionEnd(), setTabStops(), Qt3::QTextCursor::splitAndInsertEmptyParagraph(), tabArray(), topMargin(), undo(), and ~QTextParagraph().

int Qt3::QTextParagraph::documentVisibleWidth  )  const [inline]
 

Definition at line 1964 of file qrichtext_p.h.

References QTextParagraph::document(), QTextParagraph::hasdoc, and QTextParagraph::pseudoDocument().

Referenced by Qt3::QTextFormatterBreakWords::format(), and Qt3::QTextFormatterBreakInWords::format().

int Qt3::QTextParagraph::documentWidth  )  const [inline]
 

Definition at line 1959 of file qrichtext_p.h.

References QTextParagraph::document(), QTextParagraph::hasdoc, and QTextParagraph::pseudoDocument().

Referenced by format().

int Qt3::QTextParagraph::documentX  )  const [inline]
 

Definition at line 1969 of file qrichtext_p.h.

References QTextParagraph::document(), QTextParagraph::hasdoc, and QTextParagraph::pseudoDocument().

Referenced by format().

int Qt3::QTextParagraph::documentY  )  const [inline]
 

Definition at line 1974 of file qrichtext_p.h.

References QTextParagraph::document(), QTextParagraph::hasdoc, and QTextParagraph::pseudoDocument().

Referenced by format().

void QTextParagraph::drawLabel QPainter *  p,
int  x,
int  y,
int  w,
int  h,
int  base,
const QColorGroup &  cg
[protected, virtual]
 

Definition at line 4504 of file qrichtext.cpp.

References at(), Qt3::QTextFormat::color(), depth, Qt3::QTextFormat::font(), format(), QString::fromLatin1(), isListItem(), l, list_val, Qt3::QStyleSheetItem::ListCircle, Qt3::QStyleSheetItem::ListDecimal, listDepth(), Qt3::QStyleSheetItem::ListDisc, Qt3::QStyleSheetItem::ListLowerAlpha, Qt3::QStyleSheetItem::ListSquare, listStyle(), Qt3::QStyleSheetItem::ListUpperAlpha, n, Qt::NoBrush, prev(), r, s, QString::setNum(), and size.

Referenced by paint().

void QTextParagraph::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
[protected, virtual]
 

Definition at line 4406 of file qrichtext.cpp.

References Qt3::QTextFormat::AlignNormal, Qt3::QTextFormat::AlignSubScript, Qt3::QTextFormat::AlignSuperScript, Qt3::QTextStringChar::anchorHref(), at(), Qt::blue, Qt3::QTextFormat::color(), document(), Qt::DotLine, f, FALSE, Qt3::QTextFormat::font(), Qt3::QTextFormat::fontSizesInPixels(), Qt3::QTextStringChar::format, format(), hasdoc, i, Qt3::QTextStringChar::isAnchor(), Qt3::QTextFormat::isMisspelled(), length(), QString::length(), QString::mid(), Qt::PlainText, Qt::red, QString::remove(), Qt3::QTextDocument::Standard, str, TRUE, Qt3::QTextFormat::useLinkColor(), and Qt3::QTextFormat::vAlign().

Referenced by paint().

int Qt3::QTextParagraph::endState  )  const [inline]
 

Definition at line 1876 of file qrichtext_p.h.

References QTextParagraph::state.

QTextParagraphData * Qt3::QTextParagraph::extraData  )  const [inline]
 

Definition at line 1984 of file qrichtext_p.h.

References QTextParagraph::eData.

Referenced by join().

int QTextParagraph::firstLineMargin  )  const [virtual]
 

Definition at line 4778 of file qrichtext.cpp.

References Qt3::QTextFormat::painter(), scale(), and uflm.

Referenced by Qt3::QTextFormatterBreakWords::format(), Qt3::QTextFormatterBreakInWords::format(), and Qt3::QTextDocument::setRichTextMarginsInternal().

bool Qt3::QTextParagraph::firstPreProcess  )  const [inline]
 

Definition at line 1893 of file qrichtext_p.h.

References QTextParagraph::firstPProcess.

QPtrList< QTextCustomItem > & QTextParagraph::floatingItems  )  const [private]
 

Definition at line 590 of file qrichtext_p.cpp.

References mFloatingItems.

void QTextParagraph::format int  start = -1,
bool  doMove = TRUE
 

Definition at line 3962 of file qrichtext.cpp.

References Qt3::QTextString::at(), QMap< Key, T >::begin(), changed, QMap< Key, T >::clear(), QMap< Key, T >::count(), document(), documentWidth(), documentX(), documentY(), QMap< Key, T >::end(), FALSE, QPtrList< type >::first(), firstFormat, formatter(), hasdoc, i, invalid, invalidate(), isFullWidth(), lastInFrame, Qt3::QTextString::length(), lineStarts, mFloatingItems, move(), movedDown, n, needPreProcess, QPtrList< type >::next(), p, Qt3::QTextCustomItem::PlaceRight, pseudoDocument(), r, s, shift, state, str, string(), TRUE, visible, Qt3::QTextString::width(), Qt3::QTextStringChar::x, and Opie::MM::y.

Referenced by Qt3::QTextDocument::draw(), drawLabel(), drawString(), Qt3::QTextEdit::formatMore(), insert(), Qt3::QTextCursor::insert(), join(), Qt3::QTextCursor::remove(), Qt3::QTextCursor::splitAndInsertEmptyParagraph(), and Qt3::QTextEdit::sync().

QTextFormatCollection * QTextParagraph::formatCollection  )  const
 

Definition at line 4661 of file qrichtext.cpp.

References document(), hasdoc, and QSingleCleanupHandler< Type >::set().

Referenced by insert(), QTextParagraph(), richText(), and setFormat().

QTextFormatter * QTextParagraph::formatter  )  const
 

Definition at line 559 of file qrichtext_p.cpp.

References document(), hasdoc, and pseudoDocument().

Referenced by format(), and move().

bool QTextParagraph::fullSelected int  id  )  const
 

Definition at line 470 of file qrichtext_p.cpp.

References QMap< Key, T >::end(), FALSE, QMap< Key, T >::find(), Qt3::QTextString::length(), mSelections, and str.

bool Qt3::QTextParagraph::hasAnySelection  )  const [inline]
 

Definition at line 1864 of file qrichtext_p.h.

References FALSE, QTextParagraph::mSelections, and QTextParagraph::selections().

bool Qt3::QTextParagraph::hasChanged  )  const [inline]
 

Definition at line 1829 of file qrichtext_p.h.

References QTextParagraph::changed.

Referenced by Qt3::QTextDocument::draw().

bool QTextParagraph::hasSelection int  id  )  const
 

Definition at line 465 of file qrichtext_p.cpp.

References QMap< Key, T >::contains(), FALSE, and mSelections.

Referenced by paint(), and removeSelection().

void QTextParagraph::hide  ) 
 

Definition at line 4823 of file qrichtext.cpp.

References FALSE, hasdoc, and visible.

void QTextParagraph::indent int *  oldIndent = 0,
int *  newIndent = 0
 

Definition at line 4223 of file qrichtext.cpp.

References document(), hasdoc, and isListItem().

Referenced by Qt3::QTextCursor::indent(), Qt3::QTextDocument::indentSelection(), and Qt3::QTextCursor::splitAndInsertEmptyParagraph().

void QTextParagraph::insert int  index,
const QChar unicode,
int  len
 

Definition at line 3843 of file qrichtext.cpp.

References document(), format(), formatCollection(), hasdoc, Qt3::QTextString::insert(), invalidate(), needPreProcess, Qt3::QTextPreProcessor::Standard, str, and TRUE.

void QTextParagraph::insert int  index,
const QString s
 

Definition at line 3838 of file qrichtext.cpp.

References QString::length(), and QString::unicode().

Referenced by Qt3::QTextCursor::insert(), and truncate().

void QTextParagraph::invalidate int  chr  ) 
 

Definition at line 3818 of file qrichtext.cpp.

References QPtrList< type >::first(), i, invalid, invalidateStyleCache(), mFloatingItems, and QPtrList< type >::next().

Referenced by Qt3::QTextEdit::doKeyboardAction(), format(), insert(), Qt3::QTextCursor::insert(), Qt3::QTextDocument::invalidate(), join(), readStyleInformation(), remove(), Qt3::QTextEdit::removeParagraph(), Qt3::QTextDocument::removeSelectedText(), setAlignment(), Qt3::QTextDocument::setDefaultFormat(), setDirection(), setFormat(), and setListDepth().

void QTextParagraph::invalidateStyleCache  )  [private]
 

Definition at line 3831 of file qrichtext.cpp.

References list_val.

Referenced by invalidate().

bool Qt3::QTextParagraph::isBreakable  )  const [inline]
 

Definition at line 1234 of file qrichtext_p.h.

References QTextParagraph::breakable.

Referenced by Qt3::QTextFormatter::isWrapEnabled().

bool Qt3::QTextParagraph::isFullWidth  )  const [inline]
 

Definition at line 1202 of file qrichtext_p.h.

References QTextParagraph::fullWidth.

Referenced by format().

bool Qt3::QTextParagraph::isListItem  )  const [inline]
 

Definition at line 1110 of file qrichtext_p.h.

References QTextParagraph::litem.

Referenced by bottomMargin(), drawLabel(), Qt3::QTextEdit::getParagraphFormat(), indent(), paint(), Qt3::QTextDocument::richText(), Qt3::QTextEdit::setParagType(), and topMargin().

bool Qt3::QTextParagraph::isNewLinesAllowed  )  const
 

bool Qt3::QTextParagraph::isValid  )  const [inline]
 

Definition at line 1824 of file qrichtext_p.h.

References QTextParagraph::invalid.

Referenced by Qt3::QTextDocument::draw(), Qt3::QTextEdit::ensureFormatted(), leftGap(), lineBaseLine(), lineHeight(), lineHeightOfChar(), lineInfo(), lines(), lineStartOfChar(), lineStartOfLine(), and lineY().

bool Qt3::QTextParagraph::isVisible  )  const [inline]
 

Definition at line 1127 of file qrichtext_p.h.

References QTextParagraph::visible.

Referenced by Qt3::QTextCursor::gotoDown(), Qt3::QTextCursor::gotoNextLetter(), Qt3::QTextCursor::gotoNextWord(), Qt3::QTextCursor::gotoPreviousLetter(), Qt3::QTextCursor::gotoUp(), and Qt3::QTextCursor::place().

void QTextParagraph::join QTextParagraph s  ) 
 

Definition at line 3876 of file qrichtext.cpp.

References append(), Qt3::QTextString::at(), at(), document(), extraData(), format(), hasdoc, i, invalidate(), length(), Qt3::QTextString::length(), n, needPreProcess, p, r, remove(), setExtraData(), Qt3::QTextString::setFormat(), start, state, str, Qt3::QTextString::toString(), and TRUE.

Referenced by Qt3::QTextCursor::remove().

int QTextParagraph::leftGap  )  const
 

Definition at line 4162 of file qrichtext.cpp.

References Qt3::QTextString::at(), QMap< Key, T >::begin(), QMap< Key, T >::count(), Qt3::QTextString::isBidi(), isValid(), length(), lineStarts, str, and Opie::MM::x.

int QTextParagraph::leftMargin  )  const [virtual]
 

Definition at line 4770 of file qrichtext.cpp.

References document(), listDepth(), Qt3::QTextFormat::painter(), scale(), and ulm.

Referenced by Qt3::QTextFormatterBreakWords::format(), Qt3::QTextFormatterBreakInWords::format(), and Qt3::QTextDocument::setRichTextMarginsInternal().

int Qt3::QTextParagraph::length  )  const [inline]
 

Definition at line 1546 of file qrichtext_p.h.

References Qt3::QTextString::length(), and QTextParagraph::str.

Referenced by adjustToPainter(), Qt3::QTextCursor::atParagEnd(), drawString(), Qt3::QTextFormatCommand::execute(), Qt3::QTextDocument::focusNextPrevChild(), Qt3::QTextFormatterBreakWords::format(), Qt3::QTextFormatterBreakInWords::format(), Qt3::QTextEdit::getFormat(), Qt3::QTextCursor::gotoDown(), Qt3::QTextCursor::gotoLineEnd(), Qt3::QTextCursor::gotoPosition(), Qt3::QTextCursor::gotoPreviousLetter(), Qt3::QTextCursor::gotoUp(), join(), leftGap(), Qt3::QTextDocument::length(), paint(), Qt3::QTextEdit::paragraphLength(), Qt3::QTextTable::prev(), Qt3::QTextEdit::removeParagraph(), Qt3::QTextDocument::removeSelectedText(), richText(), Qt3::QTextEdit::setCursorPosition(), Qt3::QTextDocument::setFormat(), Qt3::QTextDocument::setRichTextInternal(), Qt3::QTextEdit::setSelection(), Qt3::QTextDocument::setTextFormat(), Qt3::QTextCursor::splitAndInsertEmptyParagraph(), truncate(), Qt3::QTextFormatCommand::unexecute(), and Qt3::QTextTable::up().

int QTextParagraph::lineBaseLine int  l  )  const
 

Definition at line 496 of file qrichtext_p.cpp.

References QMap< Key, T >::begin(), QMap< Key, T >::count(), isValid(), lineStarts, oendl, and owarn.

int QTextParagraph::lineHeight int  l  )  const
 

Definition at line 512 of file qrichtext_p.cpp.

References QMap< Key, T >::begin(), QMap< Key, T >::count(), isValid(), lineStarts, oendl, and owarn.

int QTextParagraph::lineHeightOfChar int  i,
int *  bl = 0,
int *  y = 0
const
 

Definition at line 4085 of file qrichtext.cpp.

References QMap< Key, T >::begin(), QMap< Key, T >::end(), isValid(), lineStarts, oendl, and owarn.

Referenced by Qt3::QTextCursor::gotoIntoNested(), and Qt3::QTextCursor::processNesting().

void QTextParagraph::lineInfo int  l,
int &  y,
int &  h,
int &  bl
const
 

Definition at line 528 of file qrichtext_p.cpp.

References QMap< Key, T >::begin(), QMap< Key, T >::count(), isValid(), lineStarts, odebug, oendl, and owarn.

Referenced by paint().

int QTextParagraph::lines  )  const
 

Definition at line 4135 of file qrichtext.cpp.

References QMap< Key, T >::count(), isValid(), and lineStarts.

Referenced by Qt3::QTextCursor::gotoDown(), Qt3::QTextCursor::gotoLineEnd(), Qt3::QTextCursor::gotoUp(), Qt3::QTextEdit::lines(), and Qt3::QTextEdit::linesOfParagraph().

int QTextParagraph::lineSpacing  )  const [virtual]
 

Definition at line 4790 of file qrichtext.cpp.

References l, Qt3::QTextFormat::painter(), scale(), and ulinespacing.

Referenced by Qt3::QTextFormatterBreakWords::format().

QMap< int, QTextLineStart * > & Qt3::QTextParagraph::lineStartList  )  [inline]
 

Definition at line 1903 of file qrichtext_p.h.

References QTextParagraph::lineStarts.

Referenced by Qt3::QTextFormatter::formatVertically().

QTextStringChar * QTextParagraph::lineStartOfChar int  i,
int *  index = 0,
int *  line = 0
const
 

Definition at line 4109 of file qrichtext.cpp.

References Qt3::QTextString::at(), QMap< Key, T >::begin(), QMap< Key, T >::count(), QMap< Key, T >::end(), isValid(), l, lineStarts, oendl, owarn, and str.

Referenced by Qt3::QTextCursor::gotoDown(), Qt3::QTextCursor::gotoLineEnd(), Qt3::QTextCursor::gotoLineStart(), Qt3::QTextCursor::gotoUp(), Qt3::QTextEdit::lineOfChar(), and Qt3::QTextCursor::y().

QTextStringChar * QTextParagraph::lineStartOfLine int  line,
int *  index = 0
const
 

Definition at line 4143 of file qrichtext.cpp.

References Qt3::QTextString::at(), QMap< Key, T >::begin(), QMap< Key, T >::count(), i, isValid(), lineStarts, oendl, owarn, and str.

Referenced by Qt3::QTextCursor::gotoDown(), Qt3::QTextCursor::gotoLineEnd(), and Qt3::QTextCursor::gotoUp().

int QTextParagraph::lineY int  l  )  const
 

Definition at line 480 of file qrichtext_p.cpp.

References QMap< Key, T >::begin(), QMap< Key, T >::count(), isValid(), lineStarts, oendl, and owarn.

Referenced by Qt3::QTextCursor::y().

int Qt3::QTextParagraph::listDepth  )  const [inline]
 

Definition at line 1115 of file qrichtext_p.h.

References QTextParagraph::ldepth.

Referenced by bottomMargin(), drawLabel(), Qt3::QTextEdit::getParagraphFormat(), leftMargin(), Qt3::QTextDocument::richText(), Qt3::QTextEdit::setParagType(), and topMargin().

QStyleSheetItem::ListStyle Qt3::QTextParagraph::listStyle  )  const [inline]
 

Definition at line 1108 of file qrichtext_p.h.

References QTextParagraph::lstyle.

Referenced by drawLabel(), Qt3::QTextEdit::getParagraphFormat(), and Qt3::QTextDocument::richText().

int Qt3::QTextParagraph::listValue  )  const [inline]
 

Definition at line 1112 of file qrichtext_p.h.

References QTextParagraph::list_val.

Referenced by Qt3::QTextDocument::richText().

void QTextParagraph::move int &  dy  ) 
 

Definition at line 3938 of file qrichtext.cpp.

References changed, document(), formatter(), hasdoc, i, lastInFrame, mFloatingItems, p, r, shift, and TRUE.

Referenced by format(), Qt3::QTextEdit::removeParagraph(), and Qt3::QTextDocument::removeSelectedText().

QTextParagraph * Qt3::QTextParagraph::next  )  const [inline]
 

Definition at line 1859 of file qrichtext_p.h.

References QTextParagraph::n.

Referenced by Qt3::QTextTableCell::adjustToPainter(), bottomMargin(), Qt3::QTextDocument::draw(), Qt3::QTextFormatterBreakWords::format(), Qt3::QTextFormatterBreakInWords::format(), Qt3::QTextEdit::formatMore(), Qt3::QTextFormatter::formatVertically(), Qt3::QTextCursor::gotoDown(), Qt3::QTextCursor::gotoNextLetter(), Qt3::QTextCursor::gotoNextWord(), Qt3::QTextDocument::indentSelection(), Qt3::QTextCursor::insert(), Qt3::QTextDocument::invalidate(), Qt3::QTextDocument::length(), Qt3::QTextEdit::lines(), paint(), Qt3::QTextDocument::paragAt(), Qt3::QTextCursor::place(), Qt3::QTextDocument::plainText(), Qt3::QTextEdit::readFormats(), readStyleInformation(), Qt3::QTextStyleCommand::readStyleInformation(), Qt3::QTextCursor::remove(), Qt3::QTextEdit::removeParagraph(), Qt3::QTextDocument::removeSelectedText(), Qt3::QTextDocument::richText(), Qt3::QTextEdit::setAlignment(), Qt3::QTextDocument::setDefaultFormat(), Qt3::QTextDocument::setFormat(), setListDepth(), Qt3::QTextEdit::setParagType(), Qt3::QTextDocument::setRichTextMarginsInternal(), Qt3::QTextDocument::setSelectionEnd(), Qt3::QTextCursor::splitAndInsertEmptyParagraph(), Qt3::QTextEdit::sync(), Qt3::QTextFormatCommand::unexecute(), Qt3::QTextDeleteCommand::unexecute(), and Qt3::QTextStyleCommand::writeStyleInformation().

int QTextParagraph::nextTab int  i,
int  x
[virtual]
 

Definition at line 4627 of file qrichtext.cpp.

References d, document(), hasdoc, i, tabStopWidth, and tArray.

Referenced by Qt3::QTextFormatterBreakWords::format(), and Qt3::QTextFormatterBreakInWords::format().

void QTextParagraph::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]
 

Definition at line 4237 of file qrichtext.cpp.

References Qt3::AlignJustify, alignment(), Qt3::QTextString::at(), at(), QMap< Key, T >::begin(), Qt::black, Qt3::QTextStringChar::c, Qt3::QTextStringChar::customItem(), document(), drawLabel(), drawString(), QMap< Key, T >::end(), FALSE, Opie::Core::flush(), Qt3::QTextStringChar::format, hasdoc, hasSelection(), i, Qt3::QTextCursor::index(), is_printer(), Qt3::QTextStringChar::isAnchor(), QTextFormatter::isBreakable(), Qt3::QTextStringChar::isCustom(), isListItem(), length(), QString::length(), lineInfo(), Qt3::QTextStringChar::lineStart, mSelections, next(), Qt3::QTextCursor::paragraph(), Qt3::QTextCustomItem::PlaceInline, QChar_linesep, r, Qt3::QTextStringChar::rightToLeft, Qt3::QTextDocument::Standard, Qt3::QTextStringChar::startOfRun, str, string(), Qt3::QTextString::toString(), QChar::unicode(), QString::unicode(), visible, Qt3::QTextString::width(), Qt3::QTextCursor::x(), Qt3::QTextStringChar::x, and Opie::MM::y.

Referenced by Qt3::QTextDocument::draw(), and Qt3::QTextDocument::drawParagraph().

int Qt3::QTextParagraph::paragId  )  const [inline]
 

Definition at line 1886 of file qrichtext_p.h.

References QTextParagraph::id, oendl, and owarn.

Referenced by Qt3::QTextDocument::paragAt(), Qt3::QTextEdit::setAlignment(), and Qt3::QTextEdit::setParagType().

QTextParagraph * Qt3::QTextParagraph::prev  )  const [inline]
 

Definition at line 1854 of file qrichtext_p.h.

References QTextParagraph::p.

Referenced by drawLabel(), Qt3::QTextDocument::focusNextPrevChild(), Qt3::QTextFormatterBreakWords::format(), Qt3::QTextFormatterBreakInWords::format(), Qt3::QTextFormatter::formatVertically(), Qt3::QTextCursor::gotoPreviousLetter(), Qt3::QTextCursor::gotoUp(), Qt3::QTextCursor::insert(), Qt3::QTextEdit::pasteSubType(), readStyleInformation(), Qt3::QTextEdit::removeParagraph(), setListDepth(), Qt3::QTextCursor::splitAndInsertEmptyParagraph(), and topMargin().

QTextParagraphPseudoDocument * Qt3::QTextParagraph::pseudoDocument  )  const [inline]
 

Definition at line 1920 of file qrichtext_p.h.

References QTextParagraph::docOrPseudo, and QTextParagraph::hasdoc.

Referenced by addCommand(), format(), formatter(), QTextParagraph(), redo(), undo(), and ~QTextParagraph().

void QTextParagraph::readStyleInformation QDataStream stream  ) 
 

Definition at line 4586 of file qrichtext.cpp.

References align, invalidate(), ldepth, litem, lstyle, next(), prev(), rtext, s, Qt3::QTextString::setDirection(), str, ubm, uflm, ulinespacing, ulm, urm, and utm.

Referenced by Qt3::QTextDeleteCommand::unexecute(), and Qt3::QTextStyleCommand::writeStyleInformation().

QRect Qt3::QTextParagraph::rect  )  const [inline]
 

Definition at line 1551 of file qrichtext_p.h.

References QTextParagraph::r.

Referenced by Qt3::QTextDocument::draw(), Qt3::QTextDocument::drawParagraph(), Qt3::QTextFormatterBreakWords::format(), Qt3::QTextFormatterBreakInWords::format(), Qt3::QTextEdit::formatMore(), Qt3::QTextFormatter::formatVertically(), Qt3::QTextCursor::globalX(), Qt3::QTextCursor::globalY(), Qt3::QTextCursor::gotoIntoNested(), Qt3::QTextDocument::height(), Qt3::QTextCursor::insert(), Qt3::QTextEdit::makeParagVisible(), Qt3::QTextEdit::paragraphRect(), Qt3::QTextCursor::place(), Qt3::QTextCursor::processNesting(), Qt3::QTextCursor::remove(), Qt3::QTextEdit::removeParagraph(), and Qt3::QTextDocument::removeSelectedText().

QTextCursor * QTextParagraph::redo QTextCursor c = 0  ) 
 

Definition at line 4739 of file qrichtext.cpp.

References document(), hasdoc, and pseudoDocument().

void Qt3::QTextParagraph::registerFloatingItem QTextCustomItem i  )  [inline]
 

Definition at line 1944 of file qrichtext_p.h.

References QTextParagraph::floatingItems().

Referenced by Qt3::QTextDocument::registerCustomItem().

void QTextParagraph::remove int  index,
int  len
 

Definition at line 3861 of file qrichtext.cpp.

References at(), Qt3::QTextStringChar::customItem(), document(), hasdoc, i, invalidate(), Qt3::QTextStringChar::isCustom(), Qt3::QTextString::length(), needPreProcess, Qt3::QTextString::remove(), str, and TRUE.

Referenced by join(), Qt3::QTextCursor::remove(), Qt3::QTextEdit::removeParagraph(), and Qt3::QTextCursor::splitAndInsertEmptyParagraph().

void QTextParagraph::removeSelection int  id  ) 
 

Definition at line 436 of file qrichtext_p.cpp.

References hasSelection(), mSelections, setChanged(), and TRUE.

Referenced by Qt3::QTextDocument::removeSelection().

QString QTextParagraph::richText  )  const
 

Definition at line 4673 of file qrichtext.cpp.

References Qt3::QTextStringChar::anchorHref(), Qt3::QTextStringChar::anchorName(), Qt3::QTextString::at(), QValueList< T >::begin(), Qt3::QTextStringChar::c, Qt3::QTextStringChar::customItem(), QValueList< T >::end(), Qt3::QTextStringChar::format, formatCollection(), i, Qt3::QTextCursor::index(), Qt3::QTextStringChar::isAnchor(), Qt3::QTextStringChar::isCustom(), l, length(), QString::null, Qt3::QTextCursor::paragraph(), QChar_linesep, s, QStringList::split(), and str.

Referenced by Qt3::QTextDocument::richText(), and Qt3::QTextDocument::text().

int QTextParagraph::rightMargin  )  const [virtual]
 

Definition at line 4784 of file qrichtext.cpp.

References Qt3::QTextFormat::painter(), scale(), and urm.

Referenced by Qt3::QTextFormatterBreakWords::format(), Qt3::QTextFormatterBreakInWords::format(), and Qt3::QTextDocument::setRichTextMarginsInternal().

int QTextParagraph::selectionEnd int  id  )  const
 

Definition at line 455 of file qrichtext_p.cpp.

References QMap< Key, T >::end(), QMap< Key, T >::find(), and mSelections.

QMap< int, QTextParagraphSelection > & QTextParagraph::selections  )  const [private]
 

Definition at line 582 of file qrichtext_p.cpp.

References mSelections.

Referenced by setSelection().

int QTextParagraph::selectionStart int  id  )  const
 

Definition at line 445 of file qrichtext_p.cpp.

References QMap< Key, T >::end(), QMap< Key, T >::find(), and mSelections.

void QTextParagraph::setAlignment int  a  ) 
 

Definition at line 551 of file qrichtext_p.cpp.

References align, and invalidate().

Referenced by Qt3::QTextEdit::setAlignment(), and Qt3::QTextDocument::setRichTextInternal().

void Qt3::QTextParagraph::setBackgroundColor const QColor &  c  )  [inline]
 

Definition at line 1834 of file qrichtext_p.h.

References QTextParagraph::bgcol, QTextParagraph::setChanged(), and TRUE.

Referenced by copyParagData(), and Qt3::QTextEdit::setParagraphBackgroundColor().

void Qt3::QTextParagraph::setBreakable bool  b  )  [inline]
 

Definition at line 1233 of file qrichtext_p.h.

References QTextParagraph::breakable.

void QTextParagraph::setChanged bool  b,
bool  recursive = FALSE
 

Definition at line 4843 of file qrichtext.cpp.

References changed, and document().

Referenced by Qt3::QTextDocument::drawParagraph(), Qt3::QTextDocument::focusNextPrevChild(), removeSelection(), and setSelection().

void QTextParagraph::setDirection QChar::Direction  d  ) 
 

Definition at line 4830 of file qrichtext.cpp.

References Qt3::QTextString::direction(), invalidate(), Qt3::QTextString::setDirection(), and str.

void Qt3::QTextParagraph::setEndState int  s  )  [inline]
 

Definition at line 1869 of file qrichtext_p.h.

References QTextParagraph::state.

Referenced by Qt3::QTextCursor::insert(), Qt3::QTextEdit::removeParagraph(), and Qt3::QTextDocument::removeSelectedText().

void Qt3::QTextParagraph::setExtraData QTextParagraphData data  )  [inline]
 

Definition at line 1979 of file qrichtext_p.h.

References QTextParagraph::eData.

Referenced by join().

void Qt3::QTextParagraph::setFirstPreProcess bool  b  )  [inline]
 

Definition at line 1898 of file qrichtext_p.h.

References QTextParagraph::firstPProcess.

void QTextParagraph::setFormat int  index,
int  len,
QTextFormat f,
bool  useCollection = TRUE,
int  flags = -1
 

Definition at line 4185 of file qrichtext.cpp.

References Qt3::QTextString::at(), changed, Qt3::QTextFormat::font(), Qt3::QTextFormatCollection::format(), Qt3::QTextFormat::Format, formatCollection(), i, invalid, invalidate(), Qt3::QTextFormat::key(), Qt3::QTextString::length(), Qt3::QTextString::setFormat(), str, TRUE, and Qt3::QTextFormat::vAlign().

Referenced by Qt3::QTextDocument::setFormat(), Qt3::QTextDocument::setRichTextInternal(), Qt3::QTextCursor::splitAndInsertEmptyParagraph(), and Qt3::QTextFormatCommand::unexecute().

void Qt3::QTextParagraph::setFullWidth bool  b  )  [inline]
 

Definition at line 1201 of file qrichtext_p.h.

References QTextParagraph::fullWidth.

Referenced by Qt3::QTextFormatterBreakWords::format(), and Qt3::QTextFormatterBreakInWords::format().

void Qt3::QTextParagraph::setHeight int  h  )  [inline]
 

Definition at line 1124 of file qrichtext_p.h.

References QTextParagraph::r.

Referenced by Qt3::QTextFormatter::formatVertically().

void QTextParagraph::setListDepth int  depth  ) 
 

Definition at line 4608 of file qrichtext.cpp.

References hasdoc, invalidate(), ldepth, next(), prev(), and s.

Referenced by Qt3::QTextEdit::setParagType().

void Qt3::QTextParagraph::setListItem bool  li  )  [inline]
 

Definition at line 1109 of file qrichtext_p.h.

References QTextParagraph::changed, QTextParagraph::litem, and TRUE.

Referenced by Qt3::QTextEdit::setParagType(), and Qt3::QTextDocument::setRichTextMarginsInternal().

void Qt3::QTextParagraph::setListStyle QStyleSheetItem::ListStyle  ls  )  [inline]
 

Definition at line 1107 of file qrichtext_p.h.

References QTextParagraph::changed, QTextParagraph::lstyle, and TRUE.

Referenced by Qt3::QTextEdit::setParagType().

void Qt3::QTextParagraph::setListValue int  v  )  [inline]
 

Definition at line 1111 of file qrichtext_p.h.

References QTextParagraph::list_val.

Referenced by Qt3::QTextDocument::setRichTextInternal().

void Qt3::QTextParagraph::setMovedDown bool  b  )  [inline]
 

Definition at line 1240 of file qrichtext_p.h.

References QTextParagraph::movedDown.

Referenced by Qt3::QTextFormatter::formatVertically().

void Qt3::QTextParagraph::setNewLinesAllowed bool  b  ) 
 

void QTextParagraph::setNext QTextParagraph s  ) 
 

Definition at line 3804 of file qrichtext.cpp.

References document(), hasdoc, and n.

void Qt3::QTextParagraph::setParagId int  i  )  [inline]
 

Definition at line 1881 of file qrichtext_p.h.

Referenced by Qt3::QTextCursor::insert(), and Qt3::QTextEdit::removeParagraph().

void QTextParagraph::setPrev QTextParagraph s  ) 
 

Definition at line 3811 of file qrichtext.cpp.

References document(), hasdoc, and p.

void QTextParagraph::setSelection int  id,
int  start,
int  end
 

Definition at line 421 of file qrichtext_p.cpp.

References Qt3::QTextParagraphSelection::end, QMap< Key, T >::end(), mSelections, selections(), setChanged(), Qt3::QTextParagraphSelection::start, and TRUE.

void QTextParagraph::setTabArray int *  a  ) 
 

Definition at line 568 of file qrichtext_p.cpp.

References tArray.

void QTextParagraph::setTabStops int  tw  ) 
 

Definition at line 574 of file qrichtext_p.cpp.

References document(), hasdoc, and tabStopWidth.

void QTextParagraph::show  ) 
 

Definition at line 4816 of file qrichtext.cpp.

References hasdoc, TRUE, and visible.

QTextString * Qt3::QTextParagraph::string  )  const [inline]
 

Definition at line 1908 of file qrichtext_p.h.

References QTextParagraph::str.

Referenced by Qt3::QTextFormatterBreakWords::format(), Qt3::QTextFormatterBreakInWords::format(), format(), Qt3::QTextFormatter::formatVertically(), Qt3::QTextCursor::gotoLeft(), Qt3::QTextCursor::gotoNextWord(), Qt3::QTextCursor::gotoPreviousWord(), Qt3::QTextCursor::gotoRight(), Qt3::QTextCursor::gotoWordLeft(), Qt3::QTextCursor::gotoWordRight(), Qt3::QTextCursor::insert(), Qt3::QTextEdit::keyPressEvent(), paint(), Qt3::QTextDocument::plainText(), Qt3::QTextDocument::selectedText(), Qt3::QTextCursor::splitAndInsertEmptyParagraph(), Qt3::QTextDocument::text(), and Qt3::QTextCursor::x().

int * QTextParagraph::tabArray  )  const
 

Definition at line 4619 of file qrichtext.cpp.

References document(), hasdoc, and tArray.

QTextTableCell * Qt3::QTextParagraph::tableCell  )  const [inline]
 

Definition at line 1928 of file qrichtext_p.h.

References QTextParagraph::document(), and QTextParagraph::hasdoc.

int QTextParagraph::topMargin  )  const [virtual]
 

Definition at line 4746 of file qrichtext.cpp.

References document(), isListItem(), listDepth(), Qt3::QTextFormat::painter(), prev(), rtext, scale(), and utm.

Referenced by Qt3::QTextFormatterBreakWords::format(), Qt3::QTextFormatterBreakInWords::format(), Qt3::QTextFormatter::formatVertically(), and Qt3::QTextDocument::setRichTextMarginsInternal().

void QTextParagraph::truncate int  index  ) 
 

Definition at line 3854 of file qrichtext.cpp.

References insert(), length(), needPreProcess, str, TRUE, and Qt3::QTextString::truncate().

QTextCursor * QTextParagraph::undo QTextCursor c = 0  ) 
 

Definition at line 4732 of file qrichtext.cpp.

References document(), hasdoc, and pseudoDocument().

void Qt3::QTextParagraph::unregisterFloatingItem QTextCustomItem i  )  [inline]
 

Definition at line 1949 of file qrichtext_p.h.

References QTextParagraph::floatingItems().

Referenced by Qt3::QTextDocument::unregisterCustomItem().

bool Qt3::QTextParagraph::wasMovedDown  )  const [inline]
 

Definition at line 1241 of file qrichtext_p.h.

References QTextParagraph::movedDown.

void QTextParagraph::writeStyleInformation QDataStream stream  )  const
 

Definition at line 4601 of file qrichtext.cpp.

References align, Qt3::QTextString::direction(), ldepth, litem, lstyle, rtext, str, ubm, uflm, ulinespacing, ulm, urm, and utm.

Referenced by Qt3::QTextEdit::readFormats(), and Qt3::QTextStyleCommand::readStyleInformation().


Friends And Related Function Documentation

friend class QTextCursor [friend]
 

Definition at line 1096 of file qrichtext_p.h.

friend class QTextDocument [friend]
 

Definition at line 1095 of file qrichtext_p.h.


Member Data Documentation

int Qt3::QTextParagraph::align [private]
 

Definition at line 1280 of file qrichtext_p.h.

Referenced by copyParagData(), readStyleInformation(), setAlignment(), and writeStyleInformation().

QColor* Qt3::QTextParagraph::bgcol [private]
 

Definition at line 1291 of file qrichtext_p.h.

Referenced by QTextParagraph().

uint Qt3::QTextParagraph::breakable [private]
 

Definition at line 1274 of file qrichtext_p.h.

uint Qt3::QTextParagraph::changed [private]
 

Definition at line 1267 of file qrichtext_p.h.

Referenced by format(), move(), setChanged(), and setFormat().

void* Qt3::QTextParagraph::docOrPseudo [private]
 

Definition at line 1266 of file qrichtext_p.h.

Referenced by QTextParagraph().

QTextParagraphData* Qt3::QTextParagraph::eData [private]
 

Definition at line 1289 of file qrichtext_p.h.

Referenced by ~QTextParagraph().

uint Qt3::QTextParagraph::firstFormat [private]
 

Definition at line 1268 of file qrichtext_p.h.

Referenced by format().

uint Qt3::QTextParagraph::firstPProcess [private]
 

Definition at line 1269 of file qrichtext_p.h.

uint Qt3::QTextParagraph::fullWidth [private]
 

Definition at line 1271 of file qrichtext_p.h.

uint Qt3::QTextParagraph::hasdoc [private]
 

Definition at line 1277 of file qrichtext_p.h.

Referenced by addCommand(), drawString(), format(), formatCollection(), formatter(), hide(), indent(), insert(), join(), move(), nextTab(), paint(), QTextParagraph(), redo(), remove(), setListDepth(), setNext(), setPrev(), setTabStops(), show(), tabArray(), undo(), and ~QTextParagraph().

int Qt3::QTextParagraph::id [private]
 

Definition at line 1281 of file qrichtext_p.h.

int Qt3::QTextParagraph::invalid [private]
 

Definition at line 1263 of file qrichtext_p.h.

Referenced by format(), invalidate(), and setFormat().

uint Qt3::QTextParagraph::lastInFrame [private]
 

Definition at line 1272 of file qrichtext_p.h.

Referenced by format(), and move().

ushort Qt3::QTextParagraph::ldepth [private]
 

Definition at line 1292 of file qrichtext_p.h.

Referenced by copyParagData(), readStyleInformation(), setListDepth(), Qt3::QTextDocument::setRichTextMarginsInternal(), and writeStyleInformation().

QMap<int, QTextLineStart*> Qt3::QTextParagraph::lineStarts [private]
 

Definition at line 1262 of file qrichtext_p.h.

Referenced by format(), leftGap(), lineBaseLine(), lineHeight(), lineHeightOfChar(), lineInfo(), lines(), lineStartOfChar(), lineStartOfLine(), lineY(), and ~QTextParagraph().

short Qt3::QTextParagraph::list_val [private]
 

Definition at line 1290 of file qrichtext_p.h.

Referenced by drawLabel(), invalidateStyleCache(), and QTextParagraph().

uint Qt3::QTextParagraph::litem [private]
 

Definition at line 1278 of file qrichtext_p.h.

Referenced by copyParagData(), readStyleInformation(), and writeStyleInformation().

QStyleSheetItem::ListStyle Qt3::QTextParagraph::lstyle [private]
 

Definition at line 1285 of file qrichtext_p.h.

Referenced by copyParagData(), QTextParagraph(), readStyleInformation(), and writeStyleInformation().

QPtrList<QTextCustomItem>* Qt3::QTextParagraph::mFloatingItems [private]
 

Definition at line 1284 of file qrichtext_p.h.

Referenced by floatingItems(), format(), invalidate(), move(), and ~QTextParagraph().

uint Qt3::QTextParagraph::mightHaveCustomItems [private]
 

Definition at line 1276 of file qrichtext_p.h.

Referenced by Qt3::QTextDocument::plainText(), Qt3::QTextDocument::registerCustomItem(), Qt3::QTextDocument::selectedText(), and Qt3::QTextDocument::setSelectionEnd().

uint Qt3::QTextParagraph::movedDown [private]
 

Definition at line 1275 of file qrichtext_p.h.

Referenced by format().

QMap<int, QTextParagraphSelection>* Qt3::QTextParagraph::mSelections [private]
 

Definition at line 1283 of file qrichtext_p.h.

Referenced by fullSelected(), hasSelection(), paint(), removeSelection(), selectionEnd(), selections(), selectionStart(), setSelection(), and ~QTextParagraph().

QTextParagraph * Qt3::QTextParagraph::n [private]
 

Definition at line 1265 of file qrichtext_p.h.

Referenced by drawLabel(), format(), join(), QTextParagraph(), setNext(), Qt3::QTextDocument::setRichTextInternal(), and ~QTextParagraph().

uint Qt3::QTextParagraph::needPreProcess [private]
 

Definition at line 1270 of file qrichtext_p.h.

Referenced by format(), insert(), join(), remove(), and truncate().

QTextParagraph* Qt3::QTextParagraph::p [private]
 

Definition at line 1265 of file qrichtext_p.h.

Referenced by format(), join(), move(), QTextParagraph(), setPrev(), Qt3::QTextDocument::setRichTextInternal(), and ~QTextParagraph().

QRect Qt3::QTextParagraph::r [private]
 

Definition at line 1264 of file qrichtext_p.h.

Referenced by drawLabel(), format(), join(), move(), and paint().

uint Qt3::QTextParagraph::rtext [private]
 

Definition at line 1279 of file qrichtext_p.h.

Referenced by bottomMargin(), copyParagData(), readStyleInformation(), Qt3::QTextDocument::setRichText(), Qt3::QTextDocument::setRichTextInternal(), Qt3::QTextDocument::setTextFormat(), topMargin(), and writeStyleInformation().

int Qt3::QTextParagraph::state [private]
 

Definition at line 1281 of file qrichtext_p.h.

Referenced by format(), join(), and QTextParagraph().

QTextString* Qt3::QTextParagraph::str [private]
 

Definition at line 1282 of file qrichtext_p.h.

Referenced by copyParagData(), direction(), drawString(), format(), fullSelected(), insert(), join(), leftGap(), lineStartOfChar(), lineStartOfLine(), paint(), QTextParagraph(), readStyleInformation(), remove(), richText(), setDirection(), setFormat(), truncate(), writeStyleInformation(), and ~QTextParagraph().

short Qt3::QTextParagraph::tabStopWidth [private]
 

Definition at line 1288 of file qrichtext_p.h.

Referenced by nextTab(), QTextParagraph(), and setTabStops().

int* Qt3::QTextParagraph::tArray [private]
 

Definition at line 1287 of file qrichtext_p.h.

Referenced by nextTab(), setTabArray(), tabArray(), and ~QTextParagraph().

short Qt3::QTextParagraph::ubm [private]
 

Definition at line 1286 of file qrichtext_p.h.

Referenced by bottomMargin(), copyParagData(), readStyleInformation(), Qt3::QTextDocument::richText(), Qt3::QTextDocument::setRichTextInternal(), Qt3::QTextDocument::setRichTextMarginsInternal(), and writeStyleInformation().

short Qt3::QTextParagraph::uflm [private]
 

Definition at line 1286 of file qrichtext_p.h.

Referenced by copyParagData(), firstLineMargin(), readStyleInformation(), Qt3::QTextDocument::richText(), Qt3::QTextDocument::setRichTextInternal(), Qt3::QTextDocument::setRichTextMarginsInternal(), and writeStyleInformation().

short Qt3::QTextParagraph::ulinespacing [private]
 

Definition at line 1286 of file qrichtext_p.h.

Referenced by copyParagData(), lineSpacing(), readStyleInformation(), Qt3::QTextDocument::setRichTextMarginsInternal(), and writeStyleInformation().

short Qt3::QTextParagraph::ulm [private]
 

Definition at line 1286 of file qrichtext_p.h.

Referenced by copyParagData(), leftMargin(), readStyleInformation(), Qt3::QTextDocument::richText(), Qt3::QTextDocument::setRichTextInternal(), Qt3::QTextDocument::setRichTextMarginsInternal(), and writeStyleInformation().

short Qt3::QTextParagraph::urm [private]
 

Definition at line 1286 of file qrichtext_p.h.

Referenced by copyParagData(), readStyleInformation(), Qt3::QTextDocument::richText(), rightMargin(), Qt3::QTextDocument::setRichTextInternal(), Qt3::QTextDocument::setRichTextMarginsInternal(), and writeStyleInformation().

short Qt3::QTextParagraph::utm [private]
 

Definition at line 1286 of file qrichtext_p.h.

Referenced by copyParagData(), readStyleInformation(), Qt3::QTextDocument::richText(), Qt3::QTextDocument::setRichTextInternal(), Qt3::QTextDocument::setRichTextMarginsInternal(), topMargin(), and writeStyleInformation().

uint Qt3::QTextParagraph::visible [private]
 

Definition at line 1273 of file qrichtext_p.h.

Referenced by format(), hide(), paint(), and show().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:03:38 2005 for OPIE by  doxygen 1.4.2