public interface BlockBuilder extends BlockContentBuilder
Modifier and Type | Method and Description |
---|---|
void |
endBlock()
End the current block.
|
void |
startBlock(BlockProperties props)
Start a new block with the supplied BlockProperties.
|
void |
startBlock(BlockProperties props,
String blockId)
Start a new block with the supplied BlockProperties.
|
addChars, endSpan, endStyle, insertAnchor, insertEvaluate, insertExternalReference, insertLeader, insertMarker, insertMarkerReference, insertPageReference, newLine, startSpan, startStyle
void startBlock(BlockProperties props)
props
- the BlockProperties of the new blockIllegalStateException
- if the current state does not allow this call to be madevoid startBlock(BlockProperties props, String blockId)
props
- the block propertiesblockId
- the block idIllegalStateException
- if the current state does not allow this call to be madevoid endBlock()
IllegalStateException
- if the current state does not allow this call to be made