public class ExtendedParagraph extends com.lowagie.text.Paragraph implements IITextContainer
| Modifier and Type | Field and Description |
|---|---|
static Color |
TRANSPARENT_COLOR |
protected com.lowagie.text.pdf.PdfPCell |
wrapperCell |
protected com.lowagie.text.pdf.PdfPTable |
wrapperTable |
alignment, indentationLeft, indentationRight, keeptogether, multipliedLeading, spacingAfter, spacingBeforemodCountALIGN_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 and Description |
|---|
ExtendedParagraph() |
ExtendedParagraph(com.lowagie.text.Paragraph paragraph) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(com.lowagie.text.Element element) |
protected com.lowagie.text.pdf.PdfPTable |
createWrapperTable(com.lowagie.text.pdf.PdfPCell wrapperCell,
boolean addParagraph) |
com.lowagie.text.Element |
getElement() |
IITextContainer |
getITextContainer() |
protected com.lowagie.text.pdf.PdfPCell |
getWrapperCell() |
boolean |
hasBackgroundColor() |
boolean |
hasBorders() |
void |
setBackgroundColor(Color backgroundColor) |
void |
setBorderColorBottom(Color borderColorBottom)
Sets the color of the Bottom border.
|
void |
setBorderColorLeft(Color borderColorLeft)
Sets the color of the Left border.
|
void |
setBorderColorRight(Color borderColorRight)
Sets the color of the Right border.
|
void |
setBorderColorTop(Color borderColorTop)
Sets the color of the top border.
|
void |
setBorderPadding(float padding)
Sets the padding of the contents in the cell (space between content and border).
|
void |
setBorderPaddingBottom(float paddingBottom)
Setter for property paddingBottom.
|
void |
setBorderPaddingLeft(float paddingLeft)
Setter for property paddingLeft.
|
void |
setBorderPaddingRight(float paddingRight)
Setter for property paddingRight.
|
void |
setBorderPaddingTop(float paddingTop)
Setter for property paddingTop.
|
void |
setBorderWidthBottom(float borderWidthBottom)
Sets the width of the bottom border.
|
void |
setBorderWidthLeft(float borderWidthLeft)
Sets the width of the Left border.
|
void |
setBorderWidthRight(float borderWidthRight)
Sets the width of the Right border.
|
void |
setBorderWidthTop(float borderWidthTop)
Sets the width of the Top border.
|
void |
setIndentation(com.lowagie.text.Paragraph paragraph) |
void |
setITextContainer(IITextContainer container) |
void |
setSpacingAfter(com.lowagie.text.Paragraph paragraph) |
void |
setSpacingBefore(com.lowagie.text.Paragraph 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, typeadd, addAll, addChunk, addSpecial, getChunks, getContent, getFont, getHyphenation, getInstance, getInstance, getInstance, getLeading, hasLeading, isContent, isEmpty, isNestable, process, setFont, setHyphenationaddAll, clear, clone, contains, ensureCapacity, get, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, toString, wait, wait, waitcontainsAll, equals, hashCodepublic static final Color TRANSPARENT_COLOR
protected com.lowagie.text.pdf.PdfPCell wrapperCell
protected com.lowagie.text.pdf.PdfPTable wrapperTable
public ExtendedParagraph()
public ExtendedParagraph(com.lowagie.text.Paragraph paragraph)
public void addElement(com.lowagie.text.Element element)
addElement in interface IITextContainerpublic IITextContainer getITextContainer()
getITextContainer in interface IITextElementpublic void setITextContainer(IITextContainer container)
setITextContainer in interface IITextElementprotected com.lowagie.text.pdf.PdfPCell getWrapperCell()
protected com.lowagie.text.pdf.PdfPTable createWrapperTable(com.lowagie.text.pdf.PdfPCell wrapperCell,
boolean addParagraph)
public com.lowagie.text.Element getElement()
public boolean hasBorders()
public boolean hasBackgroundColor()
public void setSpacingBefore(com.lowagie.text.Paragraph paragraph)
public void setSpacingAfter(com.lowagie.text.Paragraph paragraph)
public void setIndentation(com.lowagie.text.Paragraph paragraph)
public void setBackgroundColor(Color backgroundColor)
public void setBorderWidthTop(float borderWidthTop)
borderWidthTop - a widthpublic void setBorderColorTop(Color borderColorTop)
borderColorTop - a Colorpublic void setBorderWidthBottom(float borderWidthBottom)
borderWidthBottom - a widthpublic void setBorderColorBottom(Color borderColorBottom)
borderColorBottom - a Colorpublic void setBorderWidthLeft(float borderWidthLeft)
borderWidthLeft - a widthpublic void setBorderColorLeft(Color borderColorLeft)
borderColorLeft - a Colorpublic void setBorderWidthRight(float borderWidthRight)
borderWidthRight - a widthpublic void setBorderColorRight(Color borderColorRight)
borderColorRight - a Colorpublic void setBorderPadding(float padding)
padding - public void setBorderPaddingLeft(float paddingLeft)
paddingLeft - New value of property paddingLeft.public void setBorderPaddingRight(float paddingRight)
paddingRight - New value of property paddingRight.public void setBorderPaddingBottom(float paddingBottom)
paddingBottom - New value of property paddingBottom.public void setBorderPaddingTop(float paddingTop)
paddingTop - New value of property paddingTop.Copyright © 2017. All Rights Reserved.