public interface XEasyPdfTemplateComponent
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.
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
appendChild(Element parent,
Node child)
添加子节点
|
default Element |
createBlockElement(Document document,
XEasyPdfTemplateComponentParam param)
创建block元素
|
default Element |
createBlockElement(Document document,
XEasyPdfTemplateComponentParam param,
boolean isAddMarginAndPadding)
创建block元素
|
Element |
createElement(Document document)
创建元素
|
default Element |
createEmptyElement(Document document)
创建空元素
|
default Element |
transform(Document document)
转换
|
default Element createEmptyElement(Document document)
document - fo文档default Element createBlockElement(Document document, XEasyPdfTemplateComponentParam param)
document - fo文档param - 模板参数default Element createBlockElement(Document document, XEasyPdfTemplateComponentParam param, boolean isAddMarginAndPadding)
document - fo文档param - 模板参数isAddMarginAndPadding - 是否添加边距与填充Copyright © 2023. All rights reserved.