BeforeSavingEventArgs
Inheritance: java.lang.Object
public class BeforeSavingEventArgs<T>
Defines the base class for arguments of various before-saving events.
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getAbsolutePageNumber() | Returns the current absolute page number across all documents within the XPS package. |
getClass() | |
getDocumentNumber() | Returns the current document number within the XPS package. |
getElementAPI() | Returns the modification API of the element that is about to be saved. |
getOutputPageNumber() | Returns the current output number. |
getRelativePageNumber() | Returns the current page number relative to the current document within the XPS package. |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getAbsolutePageNumber()
public int getAbsolutePageNumber()
Returns the current absolute page number across all documents within the XPS package.
Returns: int - The current absolute page number across all documents within the XPS package.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDocumentNumber()
public int getDocumentNumber()
Returns the current document number within the XPS package.
Returns: int - The current document number within the XPS package.
getElementAPI()
public T getElementAPI()
Returns the modification API of the element that is about to be saved.
Returns: T - The modification API of the element that is about to be saved.
getOutputPageNumber()
public int getOutputPageNumber()
Returns the current output number. It differs from AbsolutePageNumber if the PageNumbers save option is specified.
Returns: int - The current output number.
getRelativePageNumber()
public int getRelativePageNumber()
Returns the current page number relative to the current document within the XPS package.
Returns: int - The current page number relative to the current document within the XPS package.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
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 |