|
com.aspose.pdf.elements
Class HyperLinkToOuterPdf
java.lang.Object
com.aspose.pdf.elements.HyperLink
com.aspose.pdf.elements.HyperLinkToOuterPdf
public class HyperLinkToOuterPdf - extends HyperLink
Represents a link in a Pdf document that links to another pdf file.
|
Constructor Summary |
HyperLinkToOuterPdf(java.lang.String pdfFileName,
int pageNumber)
Initializes a new instance of the HyperlinkToOuterPdf class. |
|
Method Summary |
java.lang.Object |
clone()
|
int |
getPageNumber()
Gets an int value that indicates the page number of the link page. |
java.lang.String |
getPdfFileName()
Gets a string that indicates the link pdf file name. |
void |
setHyperLinkXML(org.w3c.dom.Element element)
Sets an Element objet as XML represents. |
void |
setPageNumber(int number)
Sets an int value that indicates the page number of the link page. |
void |
setPdfFileName(java.lang.String fileName)
Sets a string that indicates the link file name. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HyperLinkToOuterPdf
public HyperLinkToOuterPdf(java.lang.String pdfFileName,
int pageNumber)
- Initializes a new instance of the HyperlinkToOuterPdf class.
- Parameters:
pdfFileName - The pdf file name that links to.pageNumber - An int value that indicates the page number of the link page.
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone in class HyperLink
- Throws:
java.lang.CloneNotSupportedException- See Also:
Object.clone()
getPageNumber
public int getPageNumber()
- Gets an int value that indicates the page number of the link page.
setPageNumber
public void setPageNumber(int number)
- Sets an int value that indicates the page number of the link page.
getPdfFileName
public java.lang.String getPdfFileName()
- Gets a string that indicates the link pdf file name.
setPdfFileName
public void setPdfFileName(java.lang.String fileName)
- Sets a string that indicates the link file name.
- Parameters:
fileName - The pdf file name to set.
setHyperLinkXML
public void setHyperLinkXML(org.w3c.dom.Element element)
- Description copied from class:
HyperLink
- Sets an Element objet as XML represents.
- Overrides:
setHyperLinkXML in class HyperLink
- See Also:
HyperLink.setHyperLinkXML(Element)
|