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

ConstructorDescription
PdfBookmarkEntry()

Methods

MethodDescription
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:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
valueboolean

setDestination(Page value)

public void setDestination(Page value)

For the description of this property, please see getDestination()

Parameters:

ParameterTypeDescription
valuePage

setOpen(boolean value)

public void setOpen(boolean value)

For the description of this property, please see isOpen()

Parameters:

ParameterTypeDescription
valueboolean

setSubEntry(ArrayList value)

public void setSubEntry(ArrayList value)

For the description of this property, please see getSubEntry()

Parameters:

ParameterTypeDescription
valuejava.util.ArrayList

setText(String value)

public void setText(String value)

For the description of this property, please see getText()

Parameters:

ParameterTypeDescription
valuejava.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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int