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
Modifier 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
-
Field Summary
Fields inherited from class io.qt.gui.QTextFormat
staticMetaObject
-
Constructor Summary
-
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
void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QTextBlockFormat&) 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
void
writeTo
(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, type
Methods 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:
isValid
in classQTextFormat
- Returns:
-
leftMargin
- Returns:
-
lineHeight
- Returns:
-
lineHeight
- Parameters:
scriptLineHeight
-scaling
-- Returns:
-
lineHeightType
- Returns:
-
marker
- Returns:
-
nonBreakableLines
- Returns:
-
writeTo
See
operator<<(QDataStream&,
QTextBlockFormat) - Overrides:
writeTo
in classQTextFormat
- Parameters:
arg__1
-
-
readFrom
See
operator>>(QDataStream&,
QTextBlockFormat&) - Overrides:
readFrom
in 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:
clone
in classQTextFormat
-
setAlignment
Overloaded function for
setAlignment(io.qt.core.Qt.Alignment)
. -
setPageBreakPolicy
Overloaded function for
setPageBreakPolicy(io.qt.gui.QTextFormat.PageBreakFlags)
.
-