java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
com.lowagie.text.Phrase
com.lowagie.text.Paragraph
com.lowagie.text.ListItem
fr.opensagres.odfdom.converter.pdf.internal.stylable.StylableListItem
All Implemented Interfaces:
com.lowagie.text.Element, com.lowagie.text.TextElementArray, IStylableContainer, IStylableElement, Serializable, Cloneable, Iterable, Collection, List, RandomAccess

public class StylableListItem extends com.lowagie.text.ListItem implements IStylableContainer
fixes for pdf conversion by Leszek Piotrowicz <leszekp@safe-mail.net>
See Also:
  • Field Summary

    Fields inherited from class com.lowagie.text.Paragraph

    alignment, indentationLeft, indentationRight, keeptogether, multipliedLeading, spacingAfter, spacingBefore

    Fields inherited from class com.lowagie.text.Phrase

    font, hyphenation, leading

    Fields inherited from class java.util.AbstractList

    modCount

    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

    Constructors
    Constructor
    Description
    StylableListItem(com.lowagie.text.Phrase phrase)
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addElement(com.lowagie.text.Element element)
     
    void
     
    com.lowagie.text.Element
     
    List<com.lowagie.text.Element>
     
     
     
    void
    setListSymbol(com.lowagie.text.Chunk chunk)
     
    void
    setListSymbol(String content, com.lowagie.text.Font font, float lineHeight, boolean lineHeightProportional)
     

    Methods inherited from class com.lowagie.text.ListItem

    getListSymbol, setIndentationLeft, type

    Methods inherited from class com.lowagie.text.Paragraph

    add, getAlignment, getExtraParagraphSpace, getFirstLineIndent, getIndentationLeft, getIndentationRight, getKeepTogether, getMultipliedLeading, getSpacingAfter, getSpacingBefore, getTotalLeading, setAlignment, setAlignment, setExtraParagraphSpace, setFirstLineIndent, setIndentationLeft, setIndentationRight, setKeepTogether, setLeading, setLeading, setMultipliedLeading, setSpacingAfter, setSpacingBefore, spacingAfter, spacingBefore

    Methods inherited from class com.lowagie.text.Phrase

    add, addAll, addChunk, addSpecial, getChunks, getContent, getFont, getHyphenation, getInstance, getInstance, getInstance, getLeading, hasLeading, isContent, isEmpty, isNestable, process, setFont, setHyphenation

    Methods inherited from class java.util.AbstractCollection

    containsAll, toString

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.Collection

    parallelStream, stream, toArray

    Methods inherited from interface com.lowagie.text.Element

    toString

    Methods inherited from interface java.util.List

    containsAll
  • Constructor Details

    • StylableListItem

      public StylableListItem(IStylableFactory ownerDocument, IStylableContainer parent)
    • StylableListItem

      public StylableListItem(com.lowagie.text.Phrase phrase)
  • Method Details

    • getElements

      public List<com.lowagie.text.Element> getElements()
    • addElement

      public void addElement(com.lowagie.text.Element element)
      Specified by:
      addElement in interface IStylableContainer
    • setListSymbol

      public void setListSymbol(com.lowagie.text.Chunk chunk)
      Overrides:
      setListSymbol in class com.lowagie.text.ListItem
    • setListSymbol

      public void setListSymbol(String content, com.lowagie.text.Font font, float lineHeight, boolean lineHeightProportional)
    • 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