public class StylableChunk extends ExtendedChunk implements IStylableElement
ACTION, attributes, BACKGROUND, COLOR, content, ENCODING, font, GENERICTAG, HSCALE, HYPHENATION, IMAGE, LOCALDESTINATION, LOCALGOTO, NEWLINE, NEWPAGE, NEXTPAGE, OBJECT_REPLACEMENT_CHARACTER, PDFANNOTATION, REMOTEGOTO, SEPARATOR, SKEW, SPLITCHARACTER, SUBSUPSCRIPT, TAB, TEXTRENDERMODE, UNDERLINEALIGN_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, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE, YMARK| Constructor and Description |
|---|
StylableChunk(StylableDocument ownerDocument,
IStylableContainer parent,
java.lang.String textContent,
FontGroup fontGroup) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyStyles(Style style) |
static java.util.List<StylableChunk> |
createChunks(StylableDocument ownerDocument,
IStylableContainer parent,
java.lang.String textContent) |
com.lowagie.text.Element |
getElement() |
Style |
getLastStyleApplied() |
IStylableContainer |
getParent() |
getContent, isPageNumberChunk, setPageNumberChunkappend, getAttributes, getChunks, getFont, getHorizontalScaling, getHyphenation, getImage, getTextRise, getWidthPoint, hasAttributes, isContent, isEmpty, isNestable, process, setAction, setAnchor, setAnchor, setAnnotation, setAttributes, setBackground, setBackground, setFont, setGenericTag, setHorizontalScaling, setHyphenation, setLocalDestination, setLocalGoto, setNewPage, setRemoteGoto, setRemoteGoto, setSkew, setSplitCharacter, setTextRenderMode, setTextRise, setUnderline, setUnderline, toString, typepublic StylableChunk(StylableDocument ownerDocument, IStylableContainer parent, java.lang.String textContent, FontGroup fontGroup)
public void applyStyles(Style style)
applyStyles in interface IStylableElementpublic Style getLastStyleApplied()
getLastStyleApplied in interface IStylableElementpublic IStylableContainer getParent()
getParent in interface IStylableElementpublic com.lowagie.text.Element getElement()
getElement in interface IStylableElementpublic static java.util.List<StylableChunk> createChunks(StylableDocument ownerDocument, IStylableContainer parent, java.lang.String textContent)
Copyright © 2022. All Rights Reserved.