|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
public class ExtendedParagraph
Field Summary | |
---|---|
static Color |
TRANSPARENT_COLOR
|
protected com.lowagie.text.pdf.PdfPCell |
wrapperCell
|
protected com.lowagie.text.pdf.PdfPTable |
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 | |
---|---|
ExtendedParagraph()
|
|
ExtendedParagraph(com.lowagie.text.Paragraph paragraph)
|
Method Summary | |
---|---|
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)
|
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, toString, wait, wait, wait |
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 |
---|
public static final Color TRANSPARENT_COLOR
protected com.lowagie.text.pdf.PdfPCell wrapperCell
protected com.lowagie.text.pdf.PdfPTable wrapperTable
Constructor Detail |
---|
public ExtendedParagraph()
public ExtendedParagraph(com.lowagie.text.Paragraph paragraph)
Method Detail |
---|
public void addElement(com.lowagie.text.Element element)
addElement
in interface IITextContainer
public IITextContainer getITextContainer()
getITextContainer
in interface IITextElement
public void setITextContainer(IITextContainer container)
setITextContainer
in interface IITextElement
protected 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 Color
public void setBorderWidthBottom(float borderWidthBottom)
borderWidthBottom
- a widthpublic void setBorderColorBottom(Color borderColorBottom)
borderColorBottom
- a Color
public void setBorderWidthLeft(float borderWidthLeft)
borderWidthLeft
- a widthpublic void setBorderColorLeft(Color borderColorLeft)
borderColorLeft
- a Color
public void setBorderWidthRight(float borderWidthRight)
borderWidthRight
- a widthpublic void setBorderColorRight(Color borderColorRight)
borderColorRight
- a Color
public 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |