Class StylableChunk
java.lang.Object
com.lowagie.text.Chunk
fr.opensagres.xdocreport.itext.extension.ExtendedChunk
fr.opensagres.odfdom.converter.pdf.internal.stylable.StylableChunk
- All Implemented Interfaces:
com.lowagie.text.Element,IStylableElement
public class StylableChunk
extends fr.opensagres.xdocreport.itext.extension.ExtendedChunk
implements IStylableElement
-
Field Summary
Fields inherited from class com.lowagie.text.Chunk
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, UNDERLINEFields inherited from interface com.lowagie.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, 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 Summary
ConstructorsConstructorDescriptionStylableChunk(StylableDocument ownerDocument, IStylableContainer parent, String textContent, fr.opensagres.xdocreport.itext.extension.font.FontGroup fontGroup) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyStyles(Style style) static List<StylableChunk>createChunks(StylableDocument ownerDocument, IStylableContainer parent, String textContent) com.lowagie.text.ElementMethods inherited from class fr.opensagres.xdocreport.itext.extension.ExtendedChunk
getContent, isPageNumberChunk, setPageNumberChunkMethods inherited from class com.lowagie.text.Chunk
append, 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, type
-
Constructor Details
-
StylableChunk
public StylableChunk(StylableDocument ownerDocument, IStylableContainer parent, String textContent, fr.opensagres.xdocreport.itext.extension.font.FontGroup fontGroup)
-
-
Method Details
-
applyStyles
- Specified by:
applyStylesin interfaceIStylableElement
-
getLastStyleApplied
- Specified by:
getLastStyleAppliedin interfaceIStylableElement
-
getParent
- Specified by:
getParentin interfaceIStylableElement
-
getElement
public com.lowagie.text.Element getElement()- Specified by:
getElementin interfaceIStylableElement
-
createChunks
public static List<StylableChunk> createChunks(StylableDocument ownerDocument, IStylableContainer parent, String textContent)
-