java.lang.Object
io.qt.QtObject
io.qt.gui.QTextFormat
io.qt.gui.QTextBlockFormat
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Formatting information for blocks of text in a QTextDocument
Java wrapper for Qt class QTextBlockFormat
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQTextBlockFormat::LineHeightTypes
static enum
Java wrapper for Qt enumQTextBlockFormat::MarkerType
Nested classes/interfaces inherited from class io.qt.gui.QTextFormat
QTextFormat.FormatType, QTextFormat.ObjectTypes, QTextFormat.PageBreakFlag, QTextFormat.PageBreakFlags, QTextFormat.Property
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Fields inherited from class io.qt.gui.QTextFormat
staticMetaObject
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.Alignment
final double
clone()
Creates and returns a copy of this object.final int
final int
indent()
final boolean
isValid()
final double
final double
final double
lineHeight
(double scriptLineHeight, double scaling) final int
marker()
final boolean
final double
final void
setAlignment
(Qt.Alignment alignment) final void
setAlignment
(Qt.AlignmentFlag ... alignment) Overloaded function forsetAlignment(io.qt.core.Qt.Alignment)
.final void
setBottomMargin
(double margin) final void
setHeadingLevel
(int alevel) final void
setIndent
(int indent) final void
setLeftMargin
(double margin) final void
setLineHeight
(double height, int heightType) final void
setMarker
(QTextBlockFormat.MarkerType marker) final void
setNonBreakableLines
(boolean b) final void
setPageBreakPolicy
(QTextFormat.PageBreakFlag ... flags) Overloaded function forsetPageBreakPolicy(io.qt.gui.QTextFormat.PageBreakFlags)
.final void
final void
setRightMargin
(double margin) final void
setTabPositions
(Collection<? extends QTextOption.Tab> tabs) final void
setTextIndent
(double aindent) final void
setTopMargin
(double margin) final void
swap
(QTextBlockFormat value2) Seeswap(QTextBlockFormat&,
QTextBlockFormat&) final QList<QTextOption.Tab>
final double
final double
Methods inherited from class io.qt.gui.QTextFormat
assign, 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, setBackground, setForeground, setLayoutDirection, setObjectIndex, setObjectType, setProperty, setProperty, stringProperty, swap, toBlockFormat, toCharFormat, toFrameFormat, toImageFormat, toListFormat, toString, toTableCellFormat, toTableFormat, type
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QTextBlockFormat
public QTextBlockFormat() -
QTextBlockFormat
-
-
Method Details
-
alignment
-
bottomMargin
-
headingLevel
-
indent
-
isValid
- Overrides:
isValid
in classQTextFormat
-
leftMargin
-
lineHeight
-
lineHeight
-
lineHeightType
-
marker
-
nonBreakableLines
-
pageBreakPolicy
-
rightMargin
-
setAlignment
-
setBottomMargin
-
setHeadingLevel
-
setIndent
-
setLeftMargin
-
setLineHeight
-
setMarker
-
setNonBreakableLines
-
setPageBreakPolicy
-
setRightMargin
-
setTabPositions
-
setTextIndent
-
setTopMargin
-
swap
See
swap(QTextBlockFormat&,
QTextBlockFormat&) -
tabPositions
-
textIndent
-
topMargin
-
clone
Creates and returns a copy of this object.
- Overrides:
clone
in classQTextFormat
-
setAlignment
Overloaded function for
setAlignment(io.qt.core.Qt.Alignment)
. -
setPageBreakPolicy
Overloaded function for
setPageBreakPolicy(io.qt.gui.QTextFormat.PageBreakFlags)
.
-