|
||
| 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.Segment
Represents a segment in a Text paragraph.
| Constructor Summary | |
Segment(Section section)
Initializes a new instance of the Segment class. |
|
Segment(Text parentText)
Initializes a new instance of the Segment class. |
|
Segment(Text parentText,
java.lang.String content)
Initializes a new instance of the Segment class. |
|
| Method Summary | |
java.lang.Object |
clone()
Clone an object. |
java.lang.String |
getContent()
Gets a string that indicates the content of the text segment. |
org.w3c.dom.Element |
getDOMElement()
Gets a DOM representation of the pdf element. |
HyperLink |
getHyperLink()
Gets a Hyperlink object that indicates the hyper link info of the segment. |
TextInfo |
getTextInfo()
Gets a TextInfo object that indicates the text info of the segment. |
void |
setContent(java.lang.String content)
Sets a string that indicates the content of the text segment. |
void |
setHyperLink(HyperLink link)
Sets a Hyperlink object that indicates the hyper link info of the segment. |
void |
setTextInfo(TextInfo textInfo)
Sets a TextInfo object that indicates the text info of the segment. |
| 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 Segment(Text parentText)
parentText - The text that owns Segment.
public Segment(Text parentText,
java.lang.String content)
parentText - The text that owns Segment.content - The content string of the segment.public Segment(Section section)
section - | Method Detail |
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
PdfElementBase
clone in class PdfElementBasejava.lang.CloneNotSupportedExceptionjava.lang.Object#clone()public java.lang.String getContent()
public void setContent(java.lang.String content)
public TextInfo getTextInfo()
public void setTextInfo(TextInfo textInfo)
textInfo - public HyperLink getHyperLink()
public void setHyperLink(HyperLink link)
public org.w3c.dom.Element getDOMElement()
throws AsposeBaseException
PdfElementBase
getDOMElement in class PdfElementBaseAsposeBaseExceptionPdfElementBase.getDOMElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||