org.odftoolkit.odfdom.converter.pdf.internal.stylable
Class StylableParagraph
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
com.lowagie.text.Phrase
com.lowagie.text.Paragraph
fr.opensagres.xdocreport.itext.extension.ExtendedParagraph
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
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 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 |
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 interface com.lowagie.text.Element |
toString |
DEFAULT_LINE_HEIGHT
public static final float DEFAULT_LINE_HEIGHT
- See Also:
- Constant Field Values
StylableParagraph
public StylableParagraph(StylableDocument ownerDocument,
IStylableContainer parent)
StylableParagraph
public StylableParagraph(StylableDocument ownerDocument,
com.lowagie.text.Paragraph title,
IStylableContainer parent)
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.