Package com.storedobject.pdf
Class PDFParagraph
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<PDFElement>,Collection<PDFElement>,List<PDFElement>,RandomAccess,SequencedCollection<PDFElement>
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionPDFParagraph(float p1, PDFChunk chunk) PDFParagraph(PDFChunk chunk) PDFParagraph(PDFPhrase phrase) PDFParagraph(String text) PDFParagraph(String text, PDFFont font) -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(PDFElement element) intfloatfloatfloatbooleanfloatfloatvoidsetAlignment(int alignment) voidsetFirstLineIndent(float indent) voidsetIndentationLeft(float indent) voidsetIndentationRight(float indent) voidsetKeepTogether(boolean keep) voidsetSpacingAfter(float spacing) voidsetSpacingBefore(float spacing) Methods inherited from class com.storedobject.pdf.PDFPhrase
add, getChunks, getFont, getInstance, getLeading, setFont, setLeadingMethods inherited from class java.util.ArrayList
add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, 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 java.util.List
containsAll, reversed
-
Constructor Details
-
PDFParagraph
public PDFParagraph() -
PDFParagraph
-
PDFParagraph
-
PDFParagraph
-
PDFParagraph
-
PDFParagraph
-
-
Method Details
-
add
- Specified by:
addin interfaceCollection<PDFElement>- Specified by:
addin interfaceList<PDFElement>- Overrides:
addin classArrayList<PDFElement>
-
setSpacingBefore
public void setSpacingBefore(float spacing) -
setSpacingAfter
public void setSpacingAfter(float spacing) -
getAlignment
public int getAlignment() -
setAlignment
public void setAlignment(int alignment) -
getIndentationLeft
public float getIndentationLeft() -
setIndentationLeft
public void setIndentationLeft(float indent) -
getIndentationRight
public float getIndentationRight() -
setIndentationRight
public void setIndentationRight(float indent) -
getSpacingBefore
public float getSpacingBefore() -
getSpacingAfter
public float getSpacingAfter() -
setKeepTogether
public void setKeepTogether(boolean keep) -
getKeepTogether
public boolean getKeepTogether() -
getFirstLineIndent
public float getFirstLineIndent() -
setFirstLineIndent
public void setFirstLineIndent(float indent)
-