public interface Component
Copyright (c) 2020 xsx All Rights Reserved. x-easypdf-fop 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.
Modifier and Type | Method and Description |
---|---|
default void |
appendChild(Element parent,
Node child)
添加子节点
|
default Element |
createBlockElement(Document document,
ComponentParam param)
创建block元素
|
default Element |
createBlockElement(Document document,
ComponentParam param,
boolean isAddMarginAndPadding)
创建block元素
|
Element |
createElement(Document document)
创建元素
|
default Element |
createEmptyElement(Document document)
创建空元素
|
default Element |
transform(Document document)
转换
|
Element createElement(Document document)
document
- fo文档default Element createEmptyElement(Document document)
document
- fo文档default Element createBlockElement(Document document, ComponentParam param)
document
- fo文档param
- 模板参数default Element createBlockElement(Document document, ComponentParam param, boolean isAddMarginAndPadding)
document
- fo文档param
- 模板参数isAddMarginAndPadding
- 是否添加边距与填充Copyright © 2024. All rights reserved.