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
Internal Use Only.
Represents a paragraph in a PDF document.
- Author:
- Jamson Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInlineNode(io.keikai.doc.api.impl.node.InlineNode<?> inlineNode) Adds aInlineNodeto the paragraph.floatReturns the indent of the paragraph.List<io.keikai.doc.api.impl.node.InlineNode<?>>Returns theInlineNodelist of the paragraph.floatReturns the line height of the paragraph.io.keikai.doc.api.impl.node.style.ParagraphStyle.TypegetType()Returns theParagraphStyle.Typeof the paragraph.voidsetIndent(float indent) Sets the indent of the paragraph.voidsetLineHeight(float lineHeight) Sets the line height of the paragraph.voidsetType(io.keikai.doc.api.impl.node.style.ParagraphStyle.Type type) Sets theParagraphStyle.Typeof the paragraph.
-
Constructor Details
-
PDFParagraph
public PDFParagraph()
-
-
Method Details
-
getInlineNodes
Returns theInlineNodelist of the paragraph.- Returns:
- the
InlineNodelist of the paragraph.
-
addInlineNode
public void addInlineNode(io.keikai.doc.api.impl.node.InlineNode<?> inlineNode) Adds aInlineNodeto the paragraph.- Parameters:
inlineNode- theInlineNodeto add.
-
getType
public io.keikai.doc.api.impl.node.style.ParagraphStyle.Type getType()Returns theParagraphStyle.Typeof the paragraph.- Returns:
- the
ParagraphStyle.Typeof the paragraph.
-
setType
public void setType(io.keikai.doc.api.impl.node.style.ParagraphStyle.Type type) Sets theParagraphStyle.Typeof the paragraph.- Parameters:
type- theParagraphStyle.Typeof the paragraph.
-
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.
-