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
fr.opensagres.odfdom.converter.pdf.internal.stylable.StylableParagraph
- All Implemented Interfaces:
com.lowagie.text.Element,com.lowagie.text.TextElementArray,IStylableContainer,IStylableElement,fr.opensagres.xdocreport.itext.extension.IITextContainer,fr.opensagres.xdocreport.itext.extension.IITextElement,Serializable,Cloneable,Iterable,Collection,List,RandomAccess
- Direct Known Subclasses:
StylableHeading
public class StylableParagraph
extends fr.opensagres.xdocreport.itext.extension.ExtendedParagraph
implements IStylableContainer
fixes for paragraph pdf conversion by Leszek Piotrowicz <leszekp@safe-mail.net>
- See Also:
-
Field Summary
FieldsFields inherited from class fr.opensagres.xdocreport.itext.extension.ExtendedParagraph
TRANSPARENT_COLOR, wrapperCell, wrapperTableFields inherited from class com.lowagie.text.Paragraph
alignment, indentationLeft, indentationRight, keeptogether, multipliedLeading, spacingAfter, spacingBeforeFields inherited from class com.lowagie.text.Phrase
font, hyphenation, leadingFields inherited from class java.util.AbstractList
modCountFields 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
ConstructorsConstructorDescriptionStylableParagraph(StylableDocument ownerDocument, com.lowagie.text.Paragraph title, IStylableContainer parent) StylableParagraph(StylableDocument ownerDocument, IStylableContainer parent) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyStyles(Style style) static com.lowagie.text.ChunkcreateAdjustedChunk(String content, com.lowagie.text.Font font, float lineHeight, boolean lineHeightProportional) com.lowagie.text.ElementMethods 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, setSpacingBeforeMethods 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, typeMethods 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, setHyphenationMethods inherited from class java.util.ArrayList
addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface com.lowagie.text.Element
toStringMethods inherited from interface fr.opensagres.odfdom.converter.pdf.internal.stylable.IStylableContainer
addElementMethods inherited from interface java.util.List
containsAll
-
Field Details
-
DEFAULT_LINE_HEIGHT
public static final float DEFAULT_LINE_HEIGHT- See Also:
-
-
Constructor Details
-
StylableParagraph
-
StylableParagraph
public StylableParagraph(StylableDocument ownerDocument, com.lowagie.text.Paragraph title, IStylableContainer parent)
-
-
Method Details
-
applyStyles
- Specified by:
applyStylesin interfaceIStylableElement
-
getLastStyleApplied
- Specified by:
getLastStyleAppliedin interfaceIStylableElement
-
getParent
- Specified by:
getParentin interfaceIStylableElement
-
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:
getElementin interfaceIStylableElement- Overrides:
getElementin classfr.opensagres.xdocreport.itext.extension.ExtendedParagraph
-