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 enumJava wrapper for Qt enumQTextBlockFormat::LineHeightTypesstatic enumJava wrapper for Qt enumQTextBlockFormat::MarkerTypeNested classes/interfaces inherited from class io.qt.gui.QTextFormat
QTextFormat.FormatType, QTextFormat.ObjectTypes, QTextFormat.PageBreakFlag, QTextFormat.PageBreakFlags, QTextFormat.Property -
Field Summary
Fields inherited from class io.qt.gui.QTextFormat
staticMetaObject -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.Alignmentfinal doubleclone()Creates and returns a copy of this object.final intfinal intindent()final booleanisValid()final doublefinal doublefinal doublelineHeight(double scriptLineHeight, double scaling) final intmarker()final booleanvoidreadFrom(QDataStream arg__1) Seeoperator>>(QDataStream&,QTextBlockFormat&) final doublefinal voidsetAlignment(Qt.Alignment alignment) final voidsetAlignment(Qt.AlignmentFlag ... alignment) Overloaded function forsetAlignment(io.qt.core.Qt.Alignment).final voidsetBottomMargin(double margin) final voidsetHeadingLevel(int alevel) final voidsetIndent(int indent) final voidsetLeftMargin(double margin) final voidsetLineHeight(double height, int heightType) final voidsetMarker(QTextBlockFormat.MarkerType marker) final voidsetNonBreakableLines(boolean b) final voidsetPageBreakPolicy(QTextFormat.PageBreakFlag ... flags) Overloaded function forsetPageBreakPolicy(io.qt.gui.QTextFormat.PageBreakFlags).final voidfinal voidsetRightMargin(double margin) final voidsetTabPositions(Collection<? extends QTextOption.Tab> tabs) final voidsetTextIndent(double aindent) final voidsetTopMargin(double margin) final voidswap(QTextBlockFormat value2) Seeswap(QTextBlockFormat&,QTextBlockFormat&) final QList<QTextOption.Tab>final doublefinal doublevoidwriteTo(QDataStream arg__1) Seeoperator<<(QDataStream&,QTextBlockFormat) Methods inherited from class io.qt.gui.QTextFormat
assign, background, boolProperty, brushProperty, clearBackground, clearForeground, clearProperty, colorProperty, doubleProperty, equals, equals, foreground, hashCode, hasProperty, intProperty, isBlockFormat, isCharFormat, isEmpty, isFrameFormat, isImageFormat, isListFormat, isTableCellFormat, isTableFormat, layoutDirection, lengthProperty, lengthVectorProperty, merge, objectIndex, objectType, penProperty, properties, property, propertyCount, setBackground, setBackground, setBackground, setBackground, setBackground, setBackground, setBackground, setForeground, setForeground, setForeground, setForeground, setForeground, setForeground, setForeground, setLayoutDirection, setObjectIndex, setObjectType, setProperty, setProperty, stringProperty, swap, toBlockFormat, toCharFormat, toFrameFormat, toImageFormat, toListFormat, toString, toTableCellFormat, toTableFormat, typeMethods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QTextBlockFormat
public QTextBlockFormat() -
QTextBlockFormat
- Parameters:
other-
-
QTextBlockFormat
- Parameters:
fmt-
-
-
Method Details
-
alignment
- Returns:
-
bottomMargin
- Returns:
-
headingLevel
- Returns:
-
indent
- Returns:
-
isValid
- Overrides:
isValidin classQTextFormat- Returns:
-
leftMargin
- Returns:
-
lineHeight
- Returns:
-
lineHeight
- Parameters:
scriptLineHeight-scaling-- Returns:
-
lineHeightType
- Returns:
-
marker
- Returns:
-
nonBreakableLines
- Returns:
-
writeTo
See
operator<<(QDataStream&,QTextBlockFormat) - Overrides:
writeToin classQTextFormat- Parameters:
arg__1-
-
readFrom
See
operator>>(QDataStream&,QTextBlockFormat&) - Overrides:
readFromin classQTextFormat- Parameters:
arg__1-
-
pageBreakPolicy
- Returns:
-
rightMargin
- Returns:
-
setAlignment
- Parameters:
alignment-
-
setBottomMargin
- Parameters:
margin-
-
setHeadingLevel
- Parameters:
alevel-
-
setIndent
- Parameters:
indent-
-
setLeftMargin
- Parameters:
margin-
-
setLineHeight
- Parameters:
height-heightType-
-
setMarker
- Parameters:
marker-
-
setNonBreakableLines
- Parameters:
b-
-
setPageBreakPolicy
- Parameters:
flags-
-
setRightMargin
- Parameters:
margin-
-
setTabPositions
- Parameters:
tabs-
-
setTextIndent
- Parameters:
aindent-
-
setTopMargin
- Parameters:
margin-
-
swap
See
swap(QTextBlockFormat&,QTextBlockFormat&) - Parameters:
value2-
-
tabPositions
- Returns:
-
textIndent
- Returns:
-
topMargin
- Returns:
-
clone
Creates and returns a copy of this object.
- Overrides:
clonein classQTextFormat
-
setAlignment
Overloaded function for
setAlignment(io.qt.core.Qt.Alignment). -
setPageBreakPolicy
Overloaded function for
setPageBreakPolicy(io.qt.gui.QTextFormat.PageBreakFlags).
-