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

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList
              extended by com.lowagie.text.Phrase
                  extended by com.lowagie.text.Paragraph
                      extended by fr.opensagres.xdocreport.itext.extension.ExtendedParagraph
                          extended by org.odftoolkit.odfdom.converter.pdf.internal.stylable.StylableParagraph
All Implemented Interfaces:
com.lowagie.text.Element, com.lowagie.text.TextElementArray, IITextContainer, IITextElement, Serializable, Cloneable, Iterable, Collection, List, RandomAccess, IStylableContainer, IStylableElement
Direct Known Subclasses:
StylableHeading

public class StylableParagraph
extends ExtendedParagraph
implements IStylableContainer

fixes for paragraph pdf conversion by Leszek Piotrowicz

See Also:
Serialized Form

Field Summary
static float DEFAULT_LINE_HEIGHT
           
 
Fields inherited from class fr.opensagres.xdocreport.itext.extension.ExtendedParagraph
TRANSPARENT_COLOR, wrapperCell, wrapperTable
 
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
StylableParagraph(StylableDocument ownerDocument, IStylableContainer parent)
           
StylableParagraph(StylableDocument ownerDocument, com.lowagie.text.Paragraph title, IStylableContainer parent)
           
 
Method Summary
 void applyStyles(Style style)
           
static com.lowagie.text.Chunk createAdjustedChunk(String content, com.lowagie.text.Font font, float lineHeight, boolean lineHeightProportional)
           
 com.lowagie.text.Element getElement()
           
 Style getLastStyleApplied()
           
 StylableDocument getOwnerDocument()
           
 IStylableContainer getParent()
           
 
Methods inherited from class fr.opensagres.xdocreport.itext.extension.ExtendedParagraph
addElement, createWrapperTable, getITextContainer, getWrapperCell, hasBackgroundColor, hasBorders, setBackgroundColor, setBorderColorBottom, setBorderColorLeft, setBorderColorRight, setBorderColorTop, setBorderPadding, setBorderPaddingBottom, setBorderPaddingLeft, setBorderPaddingRight, setBorderPaddingTop, setBorderWidthBottom, setBorderWidthLeft, setBorderWidthRight, setBorderWidthTop, setIndentation, setITextContainer, setSpacingAfter, setSpacingBefore
 
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, type
 
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.ArrayList
addAll, clear, clone, contains, ensureCapacity, get, indexOf, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.odftoolkit.odfdom.converter.pdf.internal.stylable.IStylableContainer
addElement
 
Methods inherited from interface com.lowagie.text.Element
toString
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Field Detail

DEFAULT_LINE_HEIGHT

public static final float DEFAULT_LINE_HEIGHT
See Also:
Constant Field Values
Constructor Detail

StylableParagraph

public StylableParagraph(StylableDocument ownerDocument,
                         IStylableContainer parent)

StylableParagraph

public StylableParagraph(StylableDocument ownerDocument,
                         com.lowagie.text.Paragraph title,
                         IStylableContainer parent)
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

getOwnerDocument

public StylableDocument getOwnerDocument()

createAdjustedChunk

public static com.lowagie.text.Chunk createAdjustedChunk(String content,
                                                         com.lowagie.text.Font font,
                                                         float lineHeight,
                                                         boolean lineHeightProportional)

getElement

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


Copyright © 2013. All rights reserved.