Annotation

Inheritance: java.lang.Object

public class Annotation

Contains elements that contain information about comments inserted into a document page.

Methods

MethodDescription
equals(Object arg0)
getClass()
getComment()Contains the comment text in string format for a shape.
getDate()specifies when a comment was created
getDel()A flag indicating whether the element has been deleted locally.
getEditDate()Specifies when a comment was last changed
getIX()The zero-based index of the element within its parent element.
getLangID()Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered.
getMarkerIndex()Specifies the index number assigned to a comment marker.
getReviewerID()Contains the ID number of the reviewer adding markup to the document.
getShapeID()The shape ID of the comment.
getX()The x-coordinate of the comment marker in page coordinates.
getY()The y-coordinate of the comment marker in page coordinates.
hashCode()
notify()
notifyAll()
setDel(int value)For the description of this property, please see getDel()
setIX(int value)For the description of this property, please see getIX()
setShapeID(int value)For the description of this property, please see getShapeID()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

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

getComment()

public Str2Value getComment()

Contains the comment text in string format for a shape.

Returns: Str2Value

getDate()

public DateValue getDate()

specifies when a comment was created

Returns: DateValue

getDel()

public int getDel()

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

Returns: int

getEditDate()

public DateValue getEditDate()

Specifies when a comment was last changed

Returns: DateValue

getIX()

public int getIX()

The zero-based index of the element within its parent element.

Returns: int

getLangID()

public IntValue getLangID()

Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered.

Returns: IntValue

getMarkerIndex()

public IntValue getMarkerIndex()

Specifies the index number assigned to a comment marker.

Returns: IntValue

getReviewerID()

public IntValue getReviewerID()

Contains the ID number of the reviewer adding markup to the document.

Returns: IntValue

getShapeID()

public int getShapeID()

The shape ID of the comment.

Returns: int

getX()

public DoubleValue getX()

The x-coordinate of the comment marker in page coordinates.

Returns: DoubleValue

getY()

public DoubleValue getY()

The y-coordinate of the comment marker in page coordinates.

Returns: DoubleValue

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setDel(int value)

public void setDel(int value)

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

Parameters:

ParameterTypeDescription
valueint

setIX(int value)

public void setIX(int value)

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

Parameters:

ParameterTypeDescription
valueint

setShapeID(int value)

public void setShapeID(int value)

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

Parameters:

ParameterTypeDescription
valueint

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