QTextDocumentProto Class Reference

#include <qtextdocumentproto.h>

List of all members.

Public Member Functions

 QTextDocumentProto (QObject *parent)
Q_INVOKABLE void addResource (int type, const QUrl &name, const QVariant &resource)
Q_INVOKABLE void adjustSize ()
Q_INVOKABLE QVector< QTextFormatallFormats () const
Q_INVOKABLE QTextBlock begin () const
Q_INVOKABLE QChar characterAt (int pos) const
Q_INVOKABLE int characterCount () const
Q_INVOKABLE void clear ()
Q_INVOKABLE QTextDocumentclone (QObject *parent=0) const
Q_INVOKABLE
QAbstractTextDocumentLayout
documentLayout () const
Q_INVOKABLE void drawContents (QPainter *p, const QRectF &rect=QRectF())
Q_INVOKABLE QTextBlock end () const
Q_INVOKABLE QTextCursor find (const QRegExp &expr, int position=0, int options=0) const
Q_INVOKABLE QTextCursor find (const QString &subString, int position=0, int options=0) const
Q_INVOKABLE QTextCursor find (const QRegExp &expr, const QTextCursor &cursor, int options=0) const
Q_INVOKABLE QTextCursor find (const QString &subString, const QTextCursor &cursor, int options=0) const
Q_INVOKABLE QTextBlock findBlock (int pos) const
Q_INVOKABLE QTextBlock findBlockByLineNumber (int lineNumber) const
Q_INVOKABLE QTextBlock findBlockByNumber (int blockNumber) const
Q_INVOKABLE QTextBlock firstBlock () const
Q_INVOKABLE qreal idealWidth () const
Q_INVOKABLE bool isEmpty () const
Q_INVOKABLE bool isRedoAvailable () const
Q_INVOKABLE bool isUndoAvailable () const
Q_INVOKABLE QTextBlock lastBlock () const
Q_INVOKABLE int lineCount () const
Q_INVOKABLE void markContentsDirty (int position, int length)
Q_INVOKABLE QString metaInformation (int info) const
Q_INVOKABLE QTextObjectobject (int objectIndex) const
Q_INVOKABLE QTextObjectobjectForFormat (const QTextFormat &f) const
Q_INVOKABLE int pageCount () const
Q_INVOKABLE void print (QPrinter *printer) const
Q_INVOKABLE void redo (QTextCursor *cursor)
Q_INVOKABLE QVariant resource (int type, const QUrl &name) const
Q_INVOKABLE int revision () const
Q_INVOKABLE QTextFramerootFrame () const
Q_INVOKABLE void setDefaultFont (const QFont &font)
Q_INVOKABLE void setDocumentLayout (QAbstractTextDocumentLayout *layout)
Q_INVOKABLE void setHtml (const QString &html)
Q_INVOKABLE void setMetaInformation (int info, const QString &string)
Q_INVOKABLE void setPlainText (const QString &text)
Q_INVOKABLE QString toHtml (const QByteArray &encoding=QByteArray()) const
Q_INVOKABLE QString toPlainText () const
Q_INVOKABLE QString toString () const
Q_INVOKABLE void undo (QTextCursor *cursor)

Constructor & Destructor Documentation

QTextDocumentProto::QTextDocumentProto ( QObject parent  ) 

Member Function Documentation

void QTextDocumentProto::addResource ( int  type,
const QUrl name,
const QVariant resource 
)
void QTextDocumentProto::adjustSize (  ) 
QVector< QTextFormat > QTextDocumentProto::allFormats (  )  const
QTextBlock QTextDocumentProto::begin (  )  const
QChar QTextDocumentProto::characterAt ( int  pos  )  const
int QTextDocumentProto::characterCount (  )  const
void QTextDocumentProto::clear (  ) 
QTextDocument * QTextDocumentProto::clone ( QObject parent = 0  )  const
QAbstractTextDocumentLayout * QTextDocumentProto::documentLayout (  )  const
void QTextDocumentProto::drawContents ( QPainter p,
const QRectF rect = QRectF() 
)
QTextBlock QTextDocumentProto::end (  )  const
QTextCursor QTextDocumentProto::find ( const QRegExp expr,
int  position = 0,
int  options = 0 
) const
QTextCursor QTextDocumentProto::find ( const QString subString,
int  position = 0,
int  options = 0 
) const
QTextCursor QTextDocumentProto::find ( const QRegExp expr,
const QTextCursor cursor,
int  options = 0 
) const
QTextCursor QTextDocumentProto::find ( const QString subString,
const QTextCursor cursor,
int  options = 0 
) const
QTextBlock QTextDocumentProto::findBlock ( int  pos  )  const
QTextBlock QTextDocumentProto::findBlockByLineNumber ( int  lineNumber  )  const
QTextBlock QTextDocumentProto::findBlockByNumber ( int  blockNumber  )  const
QTextBlock QTextDocumentProto::firstBlock (  )  const
qreal QTextDocumentProto::idealWidth (  )  const
bool QTextDocumentProto::isEmpty (  )  const
bool QTextDocumentProto::isRedoAvailable (  )  const
bool QTextDocumentProto::isUndoAvailable (  )  const
QTextBlock QTextDocumentProto::lastBlock (  )  const
int QTextDocumentProto::lineCount (  )  const
void QTextDocumentProto::markContentsDirty ( int  position,
int  length 
)
QString QTextDocumentProto::metaInformation ( int  info  )  const
QTextObject * QTextDocumentProto::object ( int  objectIndex  )  const
QTextObject * QTextDocumentProto::objectForFormat ( const QTextFormat f  )  const
int QTextDocumentProto::pageCount (  )  const
void QTextDocumentProto::print ( QPrinter printer  )  const
void QTextDocumentProto::redo ( QTextCursor cursor  ) 
QVariant QTextDocumentProto::resource ( int  type,
const QUrl name 
) const
int QTextDocumentProto::revision (  )  const
QTextFrame * QTextDocumentProto::rootFrame (  )  const
void QTextDocumentProto::setDefaultFont ( const QFont font  ) 
void QTextDocumentProto::setDocumentLayout ( QAbstractTextDocumentLayout layout  ) 
void QTextDocumentProto::setHtml ( const QString html  ) 
void QTextDocumentProto::setMetaInformation ( int  info,
const QString string 
)
void QTextDocumentProto::setPlainText ( const QString text  ) 
QString QTextDocumentProto::toHtml ( const QByteArray encoding = QByteArray()  )  const
QString QTextDocumentProto::toPlainText (  )  const
QString QTextDocumentProto::toString (  )  const
void QTextDocumentProto::undo ( QTextCursor cursor  ) 

The documentation for this class was generated from the following files:

Generated on Tue Apr 20 12:03:21 2010 xTuple ERP Programmer Reference, Version 3.5.0 doxygen 1.6.1