public class XEasyPdfRow extends Object implements 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.
| 限定符和类型 | 类和说明 |
|---|---|
static class |
XEasyPdfRow.BorderPolicy
表格行边框策略
|
| 构造器和说明 |
|---|
XEasyPdfRow(List<XEasyPdfCell> cellList)
有参构造
|
XEasyPdfRow(XEasyPdfCell... cells)
有参构造
|
public XEasyPdfRow(XEasyPdfCell... cells)
cells - pdf单元格public XEasyPdfRow(List<XEasyPdfCell> cellList)
cellList - pdf单元格列表public XEasyPdfRow setContentMode(XEasyPdfComponent.ContentMode mode)
mode - 内容模式public XEasyPdfRow setFontPath(String fontPath)
fontPath - 字体路径public XEasyPdfRow setDefaultFontStyle(XEasyPdfDefaultFontStyle style)
style - 默认字体样式public XEasyPdfRow setFontSize(float fontSize)
fontSize - 字体大小public XEasyPdfRow setFontColor(Color fontColor)
fontColor - 字体颜色public XEasyPdfRow setBackgroundColor(Color backgroundColor)
backgroundColor - 背景颜色public XEasyPdfRow setBorderWidth(float borderWidth)
borderWidth - 边框宽度public XEasyPdfRow setBorderColor(Color borderColor)
borderColor - 边框颜色public XEasyPdfRow setBorderLineLength(float borderLineLength)
borderLineLength - 边框点线长度public XEasyPdfRow setBorderLineSpace(float borderLineSpace)
borderLineSpace - 边框点线间隔public XEasyPdfRow setHeight(float height)
height - 行高public XEasyPdfRow setMinHeight(float minHeight)
minHeight - 行高public XEasyPdfRow setMarginLeft(float margin)
margin - 边距public XEasyPdfRow setMarginTop(float margin)
margin - 边距public XEasyPdfRow setHorizontalStyle(XEasyPdfPositionStyle style)
style - 样式public XEasyPdfRow setVerticalStyle(XEasyPdfPositionStyle style)
style - 样式public XEasyPdfRow setBorderPolicy(XEasyPdfRow.BorderPolicy policy)
policy - 边框策略public XEasyPdfRow enableCenterStyle()
public XEasyPdfRow enableBorder()
public XEasyPdfRow disableBorder()
public XEasyPdfRow enablePaging()
public XEasyPdfRow enableResetContext()
public XEasyPdfRow enableAutoScaleFontSize()
public XEasyPdfRow addCell(XEasyPdfCell... cells)
cells - pdf单元格public XEasyPdfRow addCell(List<XEasyPdfCell> cellList)
cellList - pdf单元格列表Copyright © 2023. All rights reserved.