Package io.keikai.doc.io.schema.pdf
Class PDFParagraph
- java.lang.Object
-
- io.keikai.doc.io.schema.pdf.PDFBlock
-
- io.keikai.doc.io.schema.pdf.PDFParagraph
-
- All Implemented Interfaces:
IPDFElement
public class PDFParagraph extends PDFBlock
Internal Use Only.Represents a paragraph in a PDF document.
- Author:
- Jamson Chan
-
-
Constructor Summary
Constructors Constructor Description PDFParagraph()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTextNode(io.keikai.doc.api.impl.node.TextNode textNode)Adds aTextNodeto the paragraph.floatgetIndent()Returns the indent of the paragraph.floatgetLineHeight()Returns the line height of the paragraph.java.util.List<io.keikai.doc.api.impl.node.TextNode>getTextNodes()Returns theTextNodelist of the paragraph.voidsetIndent(float indent)Sets the indent of the paragraph.voidsetLineHeight(float lineHeight)Sets the line height of the paragraph.
-
-
-
Method Detail
-
getTextNodes
public java.util.List<io.keikai.doc.api.impl.node.TextNode> getTextNodes()
Returns theTextNodelist of the paragraph.- Returns:
- the
TextNodelist of the paragraph.
-
addTextNode
public void addTextNode(io.keikai.doc.api.impl.node.TextNode textNode)
Adds aTextNodeto the paragraph.- Parameters:
textNode- theTextNodeto add.
-
getIndent
public float getIndent()
Returns the indent of the paragraph.- Returns:
- the indent of the paragraph.
-
setIndent
public void setIndent(float indent)
Sets the indent of the paragraph.- Parameters:
indent- the indent of the paragraph.
-
getLineHeight
public float getLineHeight()
Returns the line height of the paragraph.- Returns:
- the line height of the paragraph.
-
setLineHeight
public void setLineHeight(float lineHeight)
Sets the line height of the paragraph.- Parameters:
lineHeight- the line height of the paragraph.
-
-