Foxit PDF SDK
com.foxit.sdk.pdf.PagingSealConfig类 参考

Public 成员函数

 PagingSealConfig (int paging_seal_position, float offset, float first_page_percent, boolean is_on_perforation, int paging_seal_style, boolean is_display_multiple_seal, int page_count_for_each_seal)
 带参数的构造函数。 更多...
 
synchronized void delete ()
 直接清除C++相关资源。 更多...
 
float getFirst_page_percent ()
 Get 第一个分页印章的百分比。其余百分比将由其他分页印章平均分配。 此参数应大于0. 更多...
 
boolean getIs_display_multiple_seal ()
 Get 决定是否为当前分页印章签名显示多个分页印章外观。true表示显示多个分页印章 外观,每count页使用一个分页印章外观,countpage_count_for_each_seal设置。false表示不显示。 当参数is_on_perforationtrue时,此参数无效。 更多...
 
boolean getIs_on_perforation ()
 Get 决定是否切断覆盖每两页左边距或右边距的印章。true表示分页印章签名 将成对添加到页面中,参数paging_seal_position和参数first_page_percent 将不起作用。false表示不切断。 更多...
 
float getOffset ()
 Get 分页印章签名的偏移量。 更多...
 
int getPage_count_for_each_seal ()
 Get 每个印章的页数。此值仅在参数is_display_multiple_sealtrue时有用。 此值应大于1。如果最后一个印章的页数为1,它将与前一个印章合并形成一个印章。 更多...
 
int getPaging_seal_position ()
 Get 分页印章的位置。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealPositionLeft 开始的值,这将是这些值中的一个。 更多...
 
int getPaging_seal_style ()
 Get 分页印章签名的样式。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。 更多...
 
void set (int paging_seal_position, float offset, float first_page_percent, boolean is_on_perforation, int paging_seal_style, boolean is_display_multiple_seal, int page_count_for_each_seal)
 设置值。 更多...
 
void setFirst_page_percent (float value)
 Set 第一个分页印章的百分比。其余百分比将由其他分页印章平均分配。 此参数应大于0. 更多...
 
void setIs_display_multiple_seal (boolean value)
 Set 决定是否为当前分页印章签名显示多个分页印章外观。true表示显示多个分页印章 外观,每count页使用一个分页印章外观,countpage_count_for_each_seal设置。false表示不显示。 当参数is_on_perforationtrue时,此参数无效。 更多...
 
void setIs_on_perforation (boolean value)
 Set 决定是否切断覆盖每两页左边距或右边距的印章。true表示分页印章签名 将成对添加到页面中,参数paging_seal_position和参数first_page_percent 将不起作用。false表示不切断。 更多...
 
void setOffset (float value)
 Set 分页印章签名的偏移量。 更多...
 
void setPage_count_for_each_seal (int value)
 Set 每个印章的页数。此值仅在参数is_display_multiple_sealtrue时有用。 此值应大于1。如果最后一个印章的页数为1,它将与前一个印章合并形成一个印章。 更多...
 
void setPaging_seal_position (int value)
 Set 分页印章的位置。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealPositionLeft 开始的值,这将是这些值中的一个。 更多...
 
void setPaging_seal_style (int value)
 Set 分页印章签名的样式。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。 更多...
 

静态 Public 属性

static final int e_PagingSealPositionBottom = 4
 底部分页印章。
 
static final int e_PagingSealPositionLeft = 1
 左侧分页印章。
 
static final int e_PagingSealPositionRight = 2
 右侧分页印章。
 
static final int e_PagingSealPositionTop = 3
 顶部分页印章。
 
static final int e_PagingSealStyleMultipleSignatures = 0
 添加多个签名。使用Signature 显示分页印章签名的外观, 这些签名共享相同的签名数据。
 
static final int e_PagingSealStyleOneSignature = 1
 仅添加一个签名。此签名用于签名和验证,在PDF文档中将被隐藏。 使用com.foxit.sdk.pdf.annots.PagingSeal 注释显示分页印章签名的外观。
 

详细描述

此类表示分页印章配置。 此配置可以通过函数PagingSealSignature.setPagingSealConfig 设置。

构造及析构函数说明

◆ PagingSealConfig()

com.foxit.sdk.pdf.PagingSealConfig.PagingSealConfig ( int  paging_seal_position,
float  offset,
float  first_page_percent,
boolean  is_on_perforation,
int  paging_seal_style,
boolean  is_display_multiple_seal,
int  page_count_for_each_seal 
)

带参数的构造函数。

参数
[in]paging_seal_position分页印章的位置。请参考从 com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealPositionLeft 开始的值,这将是这些值中的一个。
[in]offset分页印章的偏移量。此值不应为负数。
[in]first_page_percent第一个分页印章的百分比。此参数应大于0.0,小于1.0。
[in]is_on_perforation决定是否切断覆盖每两页边距的印章。
[in]paging_seal_style分页印章签名样式。请参考从 com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。
[in]is_display_multiple_seal决定是否为当前分页印章签名显示多个分页印章外观,默认值:false
[in]page_count_for_each_seal每个印章的页数。此值应大于1,默认值:30。

成员函数说明

◆ delete()

synchronized void com.foxit.sdk.pdf.PagingSealConfig.delete ( )

直接清除C++相关资源。

返回
无。
注解
一旦这个接口被调用,这个对象将不能再被使用。

◆ getFirst_page_percent()

com.foxit.sdk.pdf.PagingSealConfig.getFirst_page_percent ( )

Get 第一个分页印章的百分比。其余百分比将由其他分页印章平均分配。 此参数应大于0.

返回
第一个分页印章的百分比。其余百分比将由其他分页印章平均分配。 此参数应大于0.0,小于1.0。

◆ getIs_display_multiple_seal()

com.foxit.sdk.pdf.PagingSealConfig.getIs_display_multiple_seal ( )

Get 决定是否为当前分页印章签名显示多个分页印章外观。true表示显示多个分页印章 外观,每count页使用一个分页印章外观,countpage_count_for_each_seal设置。false表示不显示。 当参数is_on_perforationtrue时,此参数无效。

返回
决定是否为当前分页印章签名显示多个分页印章外观。true表示显示多个分页印章 外观,每count页使用一个分页印章外观,countpage_count_for_each_seal设置。false表示不显示。 当参数is_on_perforationtrue时,此参数无效。

◆ getIs_on_perforation()

com.foxit.sdk.pdf.PagingSealConfig.getIs_on_perforation ( )

Get 决定是否切断覆盖每两页左边距或右边距的印章。true表示分页印章签名 将成对添加到页面中,参数paging_seal_position和参数first_page_percent 将不起作用。false表示不切断。

返回
决定是否切断覆盖每两页左边距或右边距的印章。true表示分页印章签名 将成对添加到页面中,参数paging_seal_position和参数first_page_percent 将不起作用。false表示不切断。

◆ getOffset()

com.foxit.sdk.pdf.PagingSealConfig.getOffset ( )

Get 分页印章签名的偏移量。

此值不应为负数。偏移量的最大值是页面宽度或页面高度减去 分页印章签名矩形的宽度或高度的值。如果偏移量大于最大值,将使用最大值。

  • 对于顶部分页印章和底部分页印章,此值将是签名矩形左侧的水平偏移量。

  • 对于右侧分页印章和左侧分页印章,此值将是签名矩形底部的垂直偏移量。

  • 对于参数is_on_perforationtrue的情况,此值将是签名矩形底部的垂直偏移量。

返回
分页印章签名的偏移量。

◆ getPage_count_for_each_seal()

com.foxit.sdk.pdf.PagingSealConfig.getPage_count_for_each_seal ( )

Get 每个印章的页数。此值仅在参数is_display_multiple_sealtrue时有用。 此值应大于1。如果最后一个印章的页数为1,它将与前一个印章合并形成一个印章。

返回
每个印章的页数。此值仅在参数is_display_multiple_sealtrue时有用。 此值应大于1。如果最后一个印章的页数为1,它将与前一个印章合并形成一个印章。

◆ getPaging_seal_position()

com.foxit.sdk.pdf.PagingSealConfig.getPaging_seal_position ( )

Get 分页印章的位置。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealPositionLeft 开始的值,这将是这些值中的一个。

返回
分页印章的位置。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealPositionLeft 开始的值,这将是这些值中的一个。

◆ getPaging_seal_style()

com.foxit.sdk.pdf.PagingSealConfig.getPaging_seal_style ( )

Get 分页印章签名的样式。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。

不同样式之间无法相互转换。默认值:com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures

返回
分页印章签名的样式。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。

◆ set()

void com.foxit.sdk.pdf.PagingSealConfig.set ( int  paging_seal_position,
float  offset,
float  first_page_percent,
boolean  is_on_perforation,
int  paging_seal_style,
boolean  is_display_multiple_seal,
int  page_count_for_each_seal 
)

设置值。

参数
[in]paging_seal_position分页印章的位置。请参考从 com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealPositionLeft 开始的值,这将是这些值中的一个。
[in]offset分页印章的偏移量。此值不应为负数。
[in]first_page_percent第一个分页印章的百分比。此参数应大于0.0,小于1.0。
[in]is_on_perforation决定是否切断覆盖每两页边距的印章。
[in]paging_seal_style分页印章签名样式。请参考从 com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。
[in]is_display_multiple_seal决定是否为当前分页印章签名显示多个分页印章外观,默认值:false
[in]page_count_for_each_seal每个印章的页数。此值应大于1,默认值:30。
返回
None.

◆ setFirst_page_percent()

com.foxit.sdk.pdf.PagingSealConfig.setFirst_page_percent ( float  value)

Set 第一个分页印章的百分比。其余百分比将由其他分页印章平均分配。 此参数应大于0.

参数
[in]value第一个分页印章的百分比。其余百分比将由其他分页印章平均分配。 此参数应大于0.0,小于1.0。
返回
None.

◆ setIs_display_multiple_seal()

com.foxit.sdk.pdf.PagingSealConfig.setIs_display_multiple_seal ( boolean  value)

Set 决定是否为当前分页印章签名显示多个分页印章外观。true表示显示多个分页印章 外观,每count页使用一个分页印章外观,countpage_count_for_each_seal设置。false表示不显示。 当参数is_on_perforationtrue时,此参数无效。

参数
[in]value决定是否为当前分页印章签名显示多个分页印章外观。true表示显示多个分页印章 外观,每count页使用一个分页印章外观,countpage_count_for_each_seal设置。false表示不显示。 当参数is_on_perforationtrue时,此参数无效。
返回
None.

◆ setIs_on_perforation()

com.foxit.sdk.pdf.PagingSealConfig.setIs_on_perforation ( boolean  value)

Set 决定是否切断覆盖每两页左边距或右边距的印章。true表示分页印章签名 将成对添加到页面中,参数paging_seal_position和参数first_page_percent 将不起作用。false表示不切断。

参数
[in]value决定是否切断覆盖每两页左边距或右边距的印章。true表示分页印章签名 将成对添加到页面中,参数paging_seal_position和参数first_page_percent 将不起作用。false表示不切断。
返回
None.

◆ setOffset()

com.foxit.sdk.pdf.PagingSealConfig.setOffset ( float  value)

Set 分页印章签名的偏移量。

此值不应为负数。偏移量的最大值是页面宽度或页面高度减去 分页印章签名矩形的宽度或高度的值。如果偏移量大于最大值,将使用最大值。

  • 对于顶部分页印章和底部分页印章,此值将是签名矩形左侧的水平偏移量。

  • 对于右侧分页印章和左侧分页印章,此值将是签名矩形底部的垂直偏移量。

  • 对于参数is_on_perforationtrue的情况,此值将是签名矩形底部的垂直偏移量。

参数
[in]value分页印章签名的偏移量。
返回
None.

◆ setPage_count_for_each_seal()

com.foxit.sdk.pdf.PagingSealConfig.setPage_count_for_each_seal ( int  value)

Set 每个印章的页数。此值仅在参数is_display_multiple_sealtrue时有用。 此值应大于1。如果最后一个印章的页数为1,它将与前一个印章合并形成一个印章。

参数
[in]value每个印章的页数。此值仅在参数is_display_multiple_sealtrue时有用。 此值应大于1。如果最后一个印章的页数为1,它将与前一个印章合并形成一个印章。
返回
None.

◆ setPaging_seal_position()

com.foxit.sdk.pdf.PagingSealConfig.setPaging_seal_position ( int  value)

Set 分页印章的位置。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealPositionLeft 开始的值,这将是这些值中的一个。

参数
[in]value分页印章的位置。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealPositionLeft 开始的值,这将是这些值中的一个。
返回
None.

◆ setPaging_seal_style()

com.foxit.sdk.pdf.PagingSealConfig.setPaging_seal_style ( int  value)

Set 分页印章签名的样式。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。

不同样式之间无法相互转换。默认值:com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures

参数
[in]value分页印章签名的样式。请参考从com.foxit.sdk.pdf.PagingSealConfig.e_PagingSealStyleMultipleSignatures 开始的值,这将是这些值中的一个。
返回
None.