public class BlockProperties
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
BlockProperties.Builder
The Builder is used when creating a BlockProperties instance.
|
| Modifier | Constructor and Description |
|---|---|
protected |
BlockProperties(BlockProperties.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj) |
int |
getBlockIndent()
Get block indent, in characters
|
FormattingTypes.BreakBefore |
getBreakBeforeType()
Get break before type
|
java.lang.String |
getDefaultListLabel()
Gets the default list label for this list
|
FormattingTypes.Keep |
getKeepType()
Get keep type
|
int |
getKeepWithNext()
Get the number of rows containing text in the next block that must be on the same page as this block
|
int |
getKeepWithNextSheets()
Gets the number of next sheets to keep in the same volume as this block
|
int |
getKeepWithPreviousSheets()
Gets the number of previous sheets to keep in the same volume as this block
|
java.lang.String |
getListItemLabel()
Gets the list item label
|
NumeralStyle |
getListNumberFormat()
Gets the number format for this list
|
FormattingTypes.ListStyle |
getListType()
Get list type
|
BlockSpacing |
getMargin()
Gets the margin
|
int |
getOrphans()
Gets the minimum number of lines of a paragraph that must be
left at the bottom of a page.
|
BlockSpacing |
getPadding()
Gets the padding
|
TextBlockProperties |
getTextBlockProperties()
Gets the text block properties for this block
|
TextBorderStyle |
getTextBorderStyle()
Gets the text border style for this block
|
java.lang.String |
getUnderlineStyle()
Gets the underline pattern for this block
|
BlockPosition |
getVerticalPosition()
Gets the vertical position for this block
|
java.lang.Integer |
getVolumeKeepPriority()
Gets volume keep priority
|
int |
getWidows()
Gets the minimum number of lines of a paragraph that must be
left at the top of a page.
|
int |
hashCode() |
protected BlockProperties(BlockProperties.Builder builder)
public BlockSpacing getMargin()
public BlockSpacing getPadding()
public int getBlockIndent()
public java.lang.Integer getVolumeKeepPriority()
public FormattingTypes.ListStyle getListType()
public NumeralStyle getListNumberFormat()
public java.lang.String getDefaultListLabel()
public java.lang.String getListItemLabel()
public FormattingTypes.BreakBefore getBreakBeforeType()
public FormattingTypes.Keep getKeepType()
public int getKeepWithNext()
public int getKeepWithPreviousSheets()
public int getKeepWithNextSheets()
public BlockPosition getVerticalPosition()
public TextBorderStyle getTextBorderStyle()
public java.lang.String getUnderlineStyle()
public int getOrphans()
public int getWidows()
public TextBlockProperties getTextBlockProperties()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object