BeforeSavingEventArgs
Inheritance: java.lang.Object
public class BeforeSavingEventArgs<T>
定义各种保存前事件参数的基类。
方法
| 方法 | 描述 |
|---|---|
| equals(Object arg0) | |
| getAbsolutePageNumber() | 返回 XPS 包中所有文档的当前绝对页码。 |
| getClass() | |
| getDocumentNumber() | 返回 XPS 包中当前文档的编号。 |
| getElementAPI() | 返回即将保存的元素的修改 API。 |
| getOutputPageNumber() | 返回当前输出编号。 |
| getRelativePageNumber() | 返回相对于 XPS 包中当前文档的当前页码。 |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getAbsolutePageNumber()
public int getAbsolutePageNumber()
返回 XPS 包中所有文档的当前绝对页码。
Returns: int - XPS 包中所有文档的当前绝对页码。
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDocumentNumber()
public int getDocumentNumber()
返回 XPS 包中当前文档的编号。
Returns: int - XPS 包中当前文档的编号。
getElementAPI()
public T getElementAPI()
返回即将保存的元素的修改 API。
Returns: T - 即将保存的元素的修改 API。
getOutputPageNumber()
public int getOutputPageNumber()
返回当前输出编号。如果指定了 PageNumbers 保存选项,则它与 AbsolutePageNumber 不同。
Returns: int - 当前输出编号。
getRelativePageNumber()
public int getRelativePageNumber()
返回相对于 XPS 包中当前文档的当前页码。
Returns: int - 相对于 XPS 包中当前文档的当前页码。
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:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |