org.apache.poi.xwpf.converter.pdf.internal.elements
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.apache.poi.xwpf.converter.pdf.internal.elements.StylableParagraph
All Implemented Interfaces:
com.lowagie.text.Element, com.lowagie.text.TextElementArray, IITextContainer, IITextElement, Serializable, Cloneable, Iterable, Collection, List, RandomAccess

public class StylableParagraph
extends ExtendedParagraph
implements IITextContainer

See Also:
Serialized Form

Field Summary
 
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, IITextContainer parent)
           
StylableParagraph(StylableDocument ownerDocument, com.lowagie.text.Paragraph title, IITextContainer parent)
           
 
Method Summary
 void adjustMultipliedLeading(com.lowagie.text.Font font)
          Adjust iText multiplied leading according the given font.
 Color getListItemFontColor()
           
 String getListItemFontFamily()
           
 Float getListItemFontSize()
           
 int getListItemFontStyle()
           
 String getListItemText()
           
 StylableDocument getOwnerDocument()
           
 IITextContainer getParent()
           
 void setBorder(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder border, int borderSide)
           
 void setLeading(float fixedLeading, float multipliedLeading)
           
 void setListItemFontColor(Color listItemFontColor)
           
 void setListItemFontFamily(String listItemFontFamily)
           
 void setListItemFontSize(Float listItemFontSize)
           
 void setListItemFontStyle(int listItemFontStyle)
           
 void setListItemText(String listItemText)
           
 void setMultipliedLeading(float multipliedLeading)
           
 
Methods inherited from class fr.opensagres.xdocreport.itext.extension.ExtendedParagraph
addElement, createWrapperTable, getElement, 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, 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 fr.opensagres.xdocreport.itext.extension.IITextContainer
addElement
 
Methods inherited from interface fr.opensagres.xdocreport.itext.extension.IITextElement
getITextContainer, setITextContainer
 
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
 

Constructor Detail

StylableParagraph

public StylableParagraph(StylableDocument ownerDocument,
                         IITextContainer parent)

StylableParagraph

public StylableParagraph(StylableDocument ownerDocument,
                         com.lowagie.text.Paragraph title,
                         IITextContainer parent)
Method Detail

getParent

public IITextContainer getParent()

getOwnerDocument

public StylableDocument getOwnerDocument()

setBorder

public void setBorder(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBorder border,
                      int borderSide)

getListItemText

public String getListItemText()

setListItemText

public void setListItemText(String listItemText)

getListItemFontFamily

public String getListItemFontFamily()

setListItemFontFamily

public void setListItemFontFamily(String listItemFontFamily)

getListItemFontSize

public Float getListItemFontSize()

setListItemFontSize

public void setListItemFontSize(Float listItemFontSize)

getListItemFontStyle

public int getListItemFontStyle()

setListItemFontStyle

public void setListItemFontStyle(int listItemFontStyle)

getListItemFontColor

public Color getListItemFontColor()

setListItemFontColor

public void setListItemFontColor(Color listItemFontColor)

setLeading

public void setLeading(float fixedLeading,
                       float multipliedLeading)
Overrides:
setLeading in class com.lowagie.text.Paragraph

setMultipliedLeading

public void setMultipliedLeading(float multipliedLeading)
Overrides:
setMultipliedLeading in class com.lowagie.text.Paragraph

adjustMultipliedLeading

public void adjustMultipliedLeading(com.lowagie.text.Font font)
Adjust iText multiplied leading according the given font.

Parameters:
font -


Copyright © 2013. All rights reserved.