public static class IndentCharacters.IndentCharacter extends ControlCharacter
--{7em} indicates an indentation of 7 characters in markup,
where the number, the unit, and the brackets are optional. Default
indentation is 4 characters, default unit is 7em It can be
escaped with a backslash ('\').| Modifier and Type | Field and Description |
|---|---|
protected SpaceUnit |
indentUnit |
protected float |
indentWidth |
protected int |
level |
| Constructor and Description |
|---|
IndentCharacter(String level,
String indentWidth,
String indentUnit) |
| Modifier and Type | Method and Description |
|---|---|
Indent |
createNewIndent(float fontSize,
org.apache.pdfbox.pdmodel.font.PDFont font,
Color color)
Creates the actual
Indent fragment from this control
character. |
boolean |
equals(Object obj) |
int |
getLevel() |
int |
hashCode() |
protected String |
nextLabel() |
charAt, escape, getCharacterToEscape, length, mustEscape, subSequence, toString, unescapeclone, finalize, getClass, notify, notifyAll, wait, wait, waitchars, codePointsprotected int level
protected float indentWidth
protected SpaceUnit indentUnit
public int getLevel()
protected String nextLabel()
public Indent createNewIndent(float fontSize, org.apache.pdfbox.pdmodel.font.PDFont font, Color color) throws IOException
Indent fragment from this control
character.fontSize - the current font size.font - the current font.color - the color to use.IOException - by pdfboxCopyright © 2022. All rights reserved.