XForm

遗产: java.lang.Object

所有已实现的接口: com.aspose.pdf.ISupportsMemoryCleanup

public final class XForm implements ISupportsMemoryCleanup

类表示 XForm

方法

方法描述
containsOwnResources()如果包含自己的资源,则返回 True
createNewForm(Page source, IDocument document)创建复制页面内容的 XForm。
createNewForm(Page source, ITrailerable trailerable, Copier copier)
createNewForm(ITrailerable trailerable)在文档中创建新的 XForm。
equals(Object arg0)
freeMemory()清除缓存数据
getBBox()获取表单边界框。
getClass()
getContents()获取窗体的运算符。
getEngineObj()仅限内部
getMatrix()获取表单的矩阵。
getName()获取表单名称。
getOpi()获取开放式印前接口 (OPI)。
getRectangle()获取窗体的矩形。
getResources()返回 Form X-Object 的资源。
getResources(boolean allowCreate)返回 Form X-Object 的资源
getResources2()获取 Form XObject 资源。
hashCode()
notify()
notifyAll()
setBBox(Rectangle value)设置表单边界框。
setMatrix(Matrix value)设置表格的矩阵。
setName(String value)设置表单名称。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

containsOwnResources()

public boolean containsOwnResources()

如果包含自己的资源,则返回 True

退货: boolean - 布尔值

createNewForm(Page source, IDocument document)

public static XForm createNewForm(Page source, IDocument document)

创建复制页面内容的 XForm。

参数:

范围类型描述
sourcePage源页面
documentIDocument将添加新 XForm 的文档。

退货: XForm - 新创建的 XForm。

createNewForm(Page source, ITrailerable trailerable, Copier copier)

public static XForm createNewForm(Page source, ITrailerable trailerable, Copier copier)

参数:

范围类型描述
sourcePage
trailerableITrailerable
copierCopier

退货: XForm

createNewForm(ITrailerable trailerable)

public static XForm createNewForm(ITrailerable trailerable)

在文档中创建新的 XForm。

参数:

范围类型描述
trailerableITrailerable描述 ITrailerable 对象

退货: XForm 新创建的 XForm

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

freeMemory()

public void freeMemory()

清除缓存数据

getBBox()

public Rectangle getBBox()

获取表单边界框。

退货: Rectangle - 长方形

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

getContents()

public OperatorCollection getContents()

获取窗体的运算符。

退货: OperatorCollection OperatorCollection 对象

getEngineObj()

public IPdfObject getEngineObj()

仅限内部

退货: IPdfObject IPdfObject 对象

getMatrix()

public Matrix getMatrix()

获取表单的矩阵。

退货: Matrix 矩阵

getName()

public String getName()

获取表单名称。表单名称是在页面资源中XObejct ductionary中用来引用表单的名称。

退货: java.lang.String - 字符串

getOpi()

public Opi getOpi()

获取开放式印前接口 (OPI)。

退货: Opi Opi 实例

getRectangle()

public Rectangle getRectangle()

获取窗体的矩形。

退货: Rectangle - 长方形

getResources()

public Resources getResources()

返回 Form X-Object 的资源。如果 For 没有资源并且 allowCreate 为 true,则会自动为表单创建 Resources。

退货: Resources - 资源实例

getResources(boolean allowCreate)

public final Resources getResources(boolean allowCreate)

返回 Form X-Object 的资源

参数:

范围类型描述
allowCreateboolean如果 For 没有资源并且 allowCreate 为 true,则会自动为表单创建 Resources。

退货: Resources - 资源实例

getResources2()

public final Resources getResources2()

获取 Form XObject 资源。

退货: Resources - 资源实例。如果 For 没有资源,则会自动为表单创建 Resources。

hashCode()

public native int hashCode()

退货: 整数

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBBox(Rectangle value)

public void setBBox(Rectangle value)

设置表单边界框。

参数:

范围类型描述
value长方形Rectangle

setMatrix(Matrix value)

public void setMatrix(Matrix value)

设置表格的矩阵。

参数:

范围类型描述
valueMatrix矩阵对象

setName(String value)

public void setName(String value)

设置表单名称。表单名称是页面资源中XObejct字典中用来引用表单的名称。

参数:

范围类型描述
valuejava.lang.String字符串对象

toString()

public String toString()

退货: java.lang.字符串

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

参数:

范围类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

参数:

范围类型描述
arg0long
arg1int