![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.pdf.elements.PdfElementBase
com.aspose.pdf.elements.Paragraph
Represents a paragraph object.
Constructor Summary | |
Paragraph(ElementFactory elementFactory)
Initializes a new instance of the Paragraph class. |
Method Summary | |
java.lang.Object |
clone()
Clone an object. |
org.w3c.dom.Element |
getDOMElement()
Gets a DOM representation of the pdf element. |
MarginInfo |
getMargin()
Gets MarginInfo object that indicates the margin info of the paragraph. |
boolean |
isDisabled()
Gets a bool value that indicates whether this paragraph is disabled. |
boolean |
isFirstParagraph()
Gets a bool value that indicates whether the paragraph is the first paragraph of a page. |
boolean |
isKeptTogether()
Gets a bool value that indicates whether all lines in the paragraph are to remain on the same page. |
boolean |
isOnOddPage()
Gets a bool value that indicates whether this paragraph be shown in odd page only. |
void |
setDisabled(boolean disabled)
Sets a bool value that indicates whether this paragraph is disabled. |
void |
setFirstParagraph(boolean isFirstParagraph)
Sets a bool value that indicates whether the paragraph is the first paragraph of a page. |
void |
setKeptTogether(boolean keepTogether)
Sets a bool value that indicates whether all lines in the paragraph are to remain on the same page. |
void |
setMargin(MarginInfo marginInfo)
Sets MarginInfo object that indicates the margin info of the paragraph. |
void |
setOnOddPage(boolean onOddPage)
Sets a bool value that indicates whether this paragraph be shown in odd page only. |
Methods inherited from class com.aspose.pdf.elements.PdfElementBase |
getElementFactory, getID, getNameIndex, setID |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Paragraph(ElementFactory elementFactory)
elementFactory
- xsl-fo DOM element factory.Method Detail |
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
PdfElementBase
clone
in class PdfElementBase
java.lang.CloneNotSupportedException
java.lang.Object#clone()
public boolean isDisabled()
public void setDisabled(boolean disabled)
public boolean isFirstParagraph()
public void setFirstParagraph(boolean isFirstParagraph)
public void setMargin(MarginInfo marginInfo)
public MarginInfo getMargin()
public org.w3c.dom.Element getDOMElement() throws AsposeBaseException
PdfElementBase
getDOMElement
in class PdfElementBase
AsposeBaseException
PdfElementBase.getDOMElement()
public boolean isKeptTogether()
public void setKeptTogether(boolean keepTogether)
public boolean isOnOddPage()
public void setOnOddPage(boolean onOddPage)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |