public class TabbedChunk extends Chunk
accessibleAttributes, ACTION, attributes, BACKGROUND, CHAR_SPACING, COLOR, content, ENCODING, font, GENERICTAG, HSCALE, HYPHENATION, IMAGE, LINEHEIGHT, LOCALDESTINATION, LOCALGOTO, NEWLINE, NEWPAGE, NEXTPAGE, OBJECT_REPLACEMENT_CHARACTER, PDFANNOTATION, REMOTEGOTO, role, SEPARATOR, SKEW, SPACETABBING, SPLITCHARACTER, SUBSUPSCRIPT, TAB, TABBING, TABSETTINGS, TEXTRENDERMODE, UNDERLINE, WHITESPACE, WORD_SPACING
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, BODY, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CHAPTER, CHUNK, CREATIONDATE, CREATOR, DIV, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LANGUAGE, LIST, LISTITEM, MARKED, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, SECTION, SUBJECT, TITLE, WRITABLE_DIRECT, YMARK
Constructor and Description |
---|
TabbedChunk(String content)
Constructor
|
TabbedChunk(VerticalPositionMark verticalPositionMark, float parseToPt, boolean b) |
TabbedChunk(VerticalPositionMark verticalPositionMark, float parseToPt, boolean b, String alignment) |
Modifier and Type | Method and Description |
---|---|
String |
getAlignment()
Return the Alignment for this Chunk
|
int |
getTabCount()
Returns the tabCount for this Chunk.
|
void |
setAlignment(String alignment)
Returns the alignment for this Chunk.
|
void |
setTabCount(int tabCount)
Set the tabCount for this Chunk.
|
append, createTabspace, createTabspace, createWhitespace, createWhitespace, getAccessibleAttribute, getAccessibleAttributes, getAttributes, getCharacterSpacing, getChunks, getContent, getFont, getHorizontalScaling, getHyphenation, getId, getImage, getRole, getTextExpansion, getTextRise, getWidthPoint, getWordSpacing, hasAccessibleAttributes, hasAttributes, isContent, isEmpty, isInline, isNestable, isTabspace, isWhitespace, process, setAccessibleAttribute, setAction, setAnchor, setAnchor, setAnnotation, setAttributes, setBackground, setBackground, setCharacterSpacing, setFont, setGenericTag, setHorizontalScaling, setHyphenation, setId, setLineHeight, setLocalDestination, setLocalGoto, setNewPage, setRemoteGoto, setRemoteGoto, setRole, setSkew, setSplitCharacter, setTextExpansion, setTextRenderMode, setTextRise, setUnderline, setUnderline, setWordSpacing, toString, type
public TabbedChunk(String content)
content
- the content of the Chunk
public TabbedChunk(VerticalPositionMark verticalPositionMark, float parseToPt, boolean b, String alignment)
verticalPositionMark
- the drawInterface used to draw the tab. tabPosition an X
parseToPt
- that will be used as start position for the next Chunk.
b
- if true, a newline will be added if the tabPosition has already been reached.
alignment
- the alignment
public TabbedChunk(VerticalPositionMark verticalPositionMark, float parseToPt, boolean b)
verticalPositionMark
- the drawInterface to use to draw the tab. tabPosition an X
parseToPt
- that will be used as start position for the next Chunk.
b
- if true, a newline will be added if the tabPosition has already been reached.
public void setTabCount(int tabCount)
tabCount
- the tabcount
public int getTabCount()
public void setAlignment(String alignment)
alignment
- the alignment
public String getAlignment()
Copyright © 1998–2022. All rights reserved.