org.odftoolkit.odfdom.converter.pdf.internal.stylable
Class StylableChunk

java.lang.Object
  extended by com.lowagie.text.Chunk
      extended by fr.opensagres.xdocreport.itext.extension.ExtendedChunk
          extended by org.odftoolkit.odfdom.converter.pdf.internal.stylable.StylableChunk
All Implemented Interfaces:
com.lowagie.text.Element, IStylableElement

public class StylableChunk
extends 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, UNDERLINE
 
Fields 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
StylableChunk(StylableDocument ownerDocument, IStylableContainer parent, String textContent, FontGroup fontGroup)
           
 
Method Summary
 void applyStyles(Style style)
           
static List<StylableChunk> createChunks(StylableDocument ownerDocument, IStylableContainer parent, String textContent)
           
 com.lowagie.text.Element getElement()
           
 Style getLastStyleApplied()
           
 IStylableContainer getParent()
           
 
Methods inherited from class fr.opensagres.xdocreport.itext.extension.ExtendedChunk
getContent, isPageNumberChunk, setPageNumberChunk
 
Methods 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StylableChunk

public StylableChunk(StylableDocument ownerDocument,
                     IStylableContainer parent,
                     String textContent,
                     FontGroup fontGroup)
Method Detail

applyStyles

public void applyStyles(Style style)
Specified by:
applyStyles in interface IStylableElement

getLastStyleApplied

public Style getLastStyleApplied()
Specified by:
getLastStyleApplied in interface IStylableElement

getParent

public IStylableContainer getParent()
Specified by:
getParent in interface IStylableElement

getElement

public com.lowagie.text.Element getElement()
Specified by:
getElement in interface IStylableElement

createChunks

public static List<StylableChunk> createChunks(StylableDocument ownerDocument,
                                               IStylableContainer parent,
                                               String textContent)


Copyright © 2013. All rights reserved.