NAME

Qt::Gui::QTextFormat

PUBLIC METHODS

QTextFormat()
QTextFormat(int type)
QTextFormat(const QTextFormat & rhs)
~QTextFormat()
QBrush background()
bool boolProperty(int propertyId)
QBrush brushProperty(int propertyId)
void clearBackground()
void clearForeground()
void clearProperty(int propertyId)
QColor colorProperty(int propertyId)
qreal doubleProperty(int propertyId)
QBrush foreground()
bool hasProperty(int propertyId)
int intProperty(int propertyId)
bool isBlockFormat()
bool isCharFormat()
bool isFrameFormat()
bool isImageFormat()
bool isListFormat()
bool isTableCellFormat()
bool isTableFormat()
bool isValid()
Qt::LayoutDirection layoutDirection()
QTextLength lengthProperty(int propertyId)
void merge(const QTextFormat & other)
int objectIndex()
int objectType()
QVariant operator QVariant()
bool operator!=(const QTextFormat & rhs)
QTextFormat & operator=(const QTextFormat & rhs)
bool operator==(const QTextFormat & rhs)
QPen penProperty(int propertyId)
QVariant property(int propertyId)
int propertyCount()
void setBackground(const QBrush & brush)
void setForeground(const QBrush & brush)
void setLayoutDirection(Qt::LayoutDirection direction)
void setObjectIndex(int object)
void setObjectType(int type)
void setProperty(int propertyId, const QVariant & value)
QString stringProperty(int propertyId)
QTextBlockFormat toBlockFormat()
QTextCharFormat toCharFormat()
QTextFrameFormat toFrameFormat()
QTextImageFormat toImageFormat()
QTextListFormat toListFormat()
QTextTableCellFormat toTableCellFormat()
QTextTableFormat toTableFormat()
int type()

ENUM VALUES

InvalidFormat
BlockFormat
CharFormat
ListFormat
TableFormat
FrameFormat
UserFormat
ObjectIndex
CssFloat
LayoutDirection
OutlinePen
BackgroundBrush
ForegroundBrush
BackgroundImageUrl
BlockAlignment
BlockTopMargin
BlockBottomMargin
BlockLeftMargin
BlockRightMargin
TextIndent
TabPositions
BlockIndent
BlockNonBreakableLines
BlockTrailingHorizontalRulerWidth
FirstFontProperty
FontCapitalization
FontLetterSpacing
FontWordSpacing
FontStyleHint
FontStyleStrategy
FontKerning
FontFamily
FontPointSize
FontSizeAdjustment
FontSizeIncrement
FontWeight
FontItalic
FontUnderline
FontOverline
FontStrikeOut
FontFixedPitch
FontPixelSize
LastFontProperty
TextUnderlineColor
TextVerticalAlignment
TextOutline
TextUnderlineStyle
TextToolTip
IsAnchor
AnchorHref
AnchorName
ObjectType
ListStyle
ListIndent
FrameBorder
FrameMargin
FramePadding
FrameWidth
FrameHeight
FrameTopMargin
FrameBottomMargin
FrameLeftMargin
FrameRightMargin
FrameBorderBrush
FrameBorderStyle
TableColumns
TableColumnWidthConstraints
TableCellSpacing
TableCellPadding
TableHeaderRowCount
TableCellRowSpan
TableCellColumnSpan
TableCellTopPadding
TableCellBottomPadding
TableCellLeftPadding
TableCellRightPadding
ImageName
ImageWidth
ImageHeight
FullWidthSelection
PageBreakPolicy
UserProperty
NoObject
ImageObject
TableObject
TableCellObject
UserObject
PageBreak_Auto
PageBreak_AlwaysBefore
PageBreak_AlwaysAfter

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html