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 TypeMethodDescriptionboolean
add
(PDFElement element) int
float
float
float
boolean
float
float
void
setAlignment
(int alignment) void
setFirstLineIndent
(float indent) void
setIndentationLeft
(float indent) void
setIndentationRight
(float indent) void
setKeepTogether
(boolean keep) void
setSpacingAfter
(float spacing) void
setSpacingBefore
(float spacing) Methods inherited from class com.storedobject.pdf.PDFPhrase
add, getChunks, getFont, getInstance, getLeading, setFont, setLeading
Methods 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, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll, reversed
-
Constructor Details
-
PDFParagraph
public PDFParagraph() -
PDFParagraph
-
PDFParagraph
-
PDFParagraph
-
PDFParagraph
-
PDFParagraph
-
-
Method Details
-
add
- Specified by:
add
in interfaceCollection<PDFElement>
- Specified by:
add
in interfaceList<PDFElement>
- Overrides:
add
in 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)
-