PdfBookmarkEntry
Inheritance: java.lang.Object
public class PdfBookmarkEntry
PdfBookmarkEntry is an entry in pdf bookmark. if Text property of current instance is null or “”, current instance will be hidden and children will be inserted on current level.
Diagram diagram = new Diagram("temp.vsdx");
PdfSaveOptions options = new PdfSaveOptions();
PdfBookmarkEntry pbeRoot = new PdfBookmarkEntry();
pbeRoot.setText("1.vsdx");
pbeRoot.setDestination(diagram.getPages().get(0));
pbeRoot.setSubEntry(new ArrayList());
Constructors
| Constructor | Description |
|---|---|
| PdfBookmarkEntry() |
Methods
| Method | Description |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getDestination() | The page to which the bookmark link. |
| getSubEntry() | SubEntry of a bookmark. |
| getText() | Title of a bookmark. |
| hashCode() | |
| isCollapse() | When this property is true, the bookmarkentry will collapse, otherwise it will expand. |
| isOpen() | When this property is true, the bookmarkentry will expand, otherwise it will collapse. |
| notify() | |
| notifyAll() | |
| setCollapse(boolean value) | For the description of this property, please see isCollapse() |
| setDestination(Page value) | For the description of this property, please see getDestination() |
| setOpen(boolean value) | For the description of this property, please see isOpen() |
| setSubEntry(ArrayList value) | For the description of this property, please see getSubEntry() |
| setText(String value) | For the description of this property, please see getText() |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
PdfBookmarkEntry()
public PdfBookmarkEntry()
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDestination()
public Page getDestination()
The page to which the bookmark link.
Returns: Page
getSubEntry()
public ArrayList getSubEntry()
SubEntry of a bookmark.
Returns: java.util.ArrayList
getText()
public String getText()
Title of a bookmark.
Returns: java.lang.String
hashCode()
public native int hashCode()
Returns: int
isCollapse()
public boolean isCollapse()
When this property is true, the bookmarkentry will collapse, otherwise it will expand.
Returns: boolean
isOpen()
public boolean isOpen()
When this property is true, the bookmarkentry will expand, otherwise it will collapse.
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setCollapse(boolean value)
public void setCollapse(boolean value)
For the description of this property, please see isCollapse()
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
setDestination(Page value)
public void setDestination(Page value)
For the description of this property, please see getDestination()
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Page |
setOpen(boolean value)
public void setOpen(boolean value)
For the description of this property, please see isOpen()
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
setSubEntry(ArrayList value)
public void setSubEntry(ArrayList value)
For the description of this property, please see getSubEntry()
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.util.ArrayList |
setText(String value)
public void setText(String value)
For the description of this property, please see getText()
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |