|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.itextpdf.text.Chunk
com.itextpdf.tool.xml.html.pdfelement.TabbedChunk
public class TabbedChunk
A TabbedChunk is a Chunk that contains tabcount and alignment data to allow the HTML to PDF conversion to accept tabstop css.
Field Summary |
---|
Fields inherited from class com.itextpdf.text.Chunk |
---|
ACTION, attributes, BACKGROUND, CHAR_SPACING, COLOR, content, ENCODING, font, GENERICTAG, HSCALE, HYPHENATION, IMAGE, LOCALDESTINATION, LOCALGOTO, NEWLINE, NEWPAGE, NEXTPAGE, OBJECT_REPLACEMENT_CHARACTER, PDFANNOTATION, REMOTEGOTO, SEPARATOR, SKEW, SPLITCHARACTER, SUBSUPSCRIPT, TAB, TEXTRENDERMODE, UNDERLINE, WHITESPACE |
Fields inherited from interface com.itextpdf.text.Element |
---|
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, 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, LIST, LISTITEM, MARKED, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, SECTION, SUBJECT, TITLE, WRITABLE_DIRECT, YMARK |
Constructor Summary | |
---|---|
TabbedChunk(String content)
Constructor |
|
TabbedChunk(VerticalPositionMark verticalPositionMark,
float parseToPt,
boolean b)
|
|
TabbedChunk(VerticalPositionMark verticalPositionMark,
float parseToPt,
boolean b,
String alignment)
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.itextpdf.text.Chunk |
---|
append, createWhitespace, createWhitespace, getAttributes, getCharacterSpacing, getChunks, getContent, getFont, getHorizontalScaling, getHyphenation, getImage, getTextRise, getWidthPoint, hasAttributes, isContent, isEmpty, isNestable, isWhitespace, process, setAction, setAnchor, setAnchor, setAnnotation, setAttributes, setBackground, setBackground, setCharacterSpacing, setFont, setGenericTag, setHorizontalScaling, setHyphenation, setLocalDestination, setLocalGoto, setNewPage, setRemoteGoto, setRemoteGoto, setSkew, setSplitCharacter, setTextRenderMode, setTextRise, setUnderline, setUnderline, toString, type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TabbedChunk(String content)
content
- the content of the Chunkpublic TabbedChunk(VerticalPositionMark verticalPositionMark, float parseToPt, boolean b, String alignment)
verticalPositionMark
- the drawInterface used to draw the tab. tabPosition an XparseToPt
- 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 alignmentpublic TabbedChunk(VerticalPositionMark verticalPositionMark, float parseToPt, boolean b)
verticalPositionMark
- the drawInterface to use to draw the tab. tabPosition an XparseToPt
- 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.Method Detail |
---|
public void setTabCount(int tabCount)
tabCount
- the tabcountpublic int getTabCount()
public void setAlignment(String alignment)
alignment
- the alignmentpublic String getAlignment()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |