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,
java.lang.String blockId)
Start a new block with the supplied BlockProperties.
|
addChars, endStyle, insertAnchor, insertEvaluate, insertLeader, insertMarker, insertReference, newLine, startStylevoid startBlock(BlockProperties props)
props - the BlockProperties of the new blockjava.lang.IllegalStateException - if the current state does not allow this call to be madevoid startBlock(BlockProperties props, java.lang.String blockId)
props - the block propertiesblockId - the block idjava.lang.IllegalStateException - if the current state does not allow this call to be madevoid endBlock()
java.lang.IllegalStateException - if the current state does not allow this call to be made