public interface XEasyPdfFooter extends Serializable
Copyright (c) 2020-2023 xsx All Rights Reserved. x-easypdf is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details.
| 限定符和类型 | 方法和说明 |
|---|---|
XEasyPdfFooter |
addComponent(XEasyPdfComponent component)
添加自定义组件
|
boolean |
check(XEasyPdfComponent component)
检查组件
|
void |
draw(XEasyPdfDocument document,
XEasyPdfPage page)
绘制
|
XEasyPdfFooter |
enableResetContext()
开启上下文重置
|
String |
getCurrentPagePlaceholder()
获取当前页码占位符
|
float |
getHeight(XEasyPdfDocument document,
XEasyPdfPage page)
获取页脚高度
|
String |
getTextFontPath()
获取文本字体路径
|
String |
getTotalPagePlaceholder()
获取总页码占位符
|
XEasyPdfFooter |
setHeight(float height)
设置高度
|
XEasyPdfFooter |
setMargin(float margin)
设置边距(左右下)
|
XEasyPdfFooter |
setMarginBottom(float margin)
设置下边距
|
XEasyPdfFooter |
setMarginLeft(float margin)
设置左边距
|
XEasyPdfFooter |
setMarginRight(float margin)
设置右边距
|
XEasyPdfFooter enableResetContext()
XEasyPdfFooter setMargin(float margin)
margin - 边距XEasyPdfFooter setMarginLeft(float margin)
margin - 边距XEasyPdfFooter setMarginRight(float margin)
margin - 边距XEasyPdfFooter setMarginBottom(float margin)
margin - 边距XEasyPdfFooter setHeight(float height)
height - 高度XEasyPdfFooter addComponent(XEasyPdfComponent component)
component - pdf组件float getHeight(XEasyPdfDocument document, XEasyPdfPage page)
document - pdf文档page - pdf页面String getTotalPagePlaceholder()
String getCurrentPagePlaceholder()
String getTextFontPath()
boolean check(XEasyPdfComponent component)
component - 组件void draw(XEasyPdfDocument document, XEasyPdfPage page)
document - pdf文档page - pdf页面Copyright © 2023. All rights reserved.