java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QTextFormat
io.qt.gui.QTextBlockFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QTextBlockFormat extends QTextFormat implements Cloneable
Formatting information for blocks of text in a QTextDocument
Java wrapper for Qt class QTextBlockFormat
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QTextBlockFormat.LineHeightTypes
Java wrapper for Qt enum QTextBlockFormat::LineHeightTypesstatic class
QTextBlockFormat.MarkerType
Java wrapper for Qt enum QTextBlockFormat::MarkerTypeNested classes/interfaces inherited from class io.qt.gui.QTextFormat
QTextFormat.FormatType, QTextFormat.ObjectTypes, QTextFormat.PageBreakFlag, QTextFormat.PageBreakFlags, QTextFormat.Property
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QTextBlockFormat()
protected
QTextBlockFormat(QTextFormat fmt)
protected
QTextBlockFormat(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Methods inherited from class io.qt.gui.QTextFormat
background, boolProperty, brushProperty, clearBackground, clearForeground, clearProperty, colorProperty, doubleProperty, equals, foreground, hashCode, hasProperty, intProperty, isBlockFormat, isCharFormat, isEmpty, isFrameFormat, isImageFormat, isListFormat, isTableCellFormat, isTableFormat, layoutDirection, lengthProperty, lengthVectorProperty, merge, objectIndex, objectType, penProperty, properties, property, propertyCount, readFrom, setBackground, setForeground, setLayoutDirection, setObjectIndex, setObjectType, setProperty, setProperty, stringProperty, swap, toBlockFormat, toCharFormat, toFrameFormat, toImageFormat, toListFormat, toString, toTableCellFormat, toTableFormat, type, writeTo
-
Constructor Details
-
QTextBlockFormat
public QTextBlockFormat() -
QTextBlockFormat
-
QTextBlockFormat
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
alignment
-
bottomMargin
-
headingLevel
-
indent
-
isValid
- Overrides:
isValid
in classQTextFormat
-
leftMargin
-
lineHeight
-
lineHeight
-
lineHeightType
-
marker
-
nonBreakableLines
-
pageBreakPolicy
-
rightMargin
-
setAlignment
Overloaded function for
setAlignment(io.qt.core.Qt.Alignment)
. -
setAlignment
-
setBottomMargin
-
setHeadingLevel
-
setIndent
-
setLeftMargin
-
setLineHeight
-
setMarker
-
setNonBreakableLines
-
setPageBreakPolicy
Overloaded function for
setPageBreakPolicy(io.qt.gui.QTextFormat.PageBreakFlags)
. -
setPageBreakPolicy
-
setRightMargin
-
setTabPositions
-
setTextIndent
-
setTopMargin
-
tabPositions
-
textIndent
-
topMargin
-
clone
- Overrides:
clone
in classQTextFormat
-