public class ComponentParam extends Object
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 | Field and Description |
---|---|
protected String |
background
背景
|
protected String |
backgroundAttachment
背景附件
|
protected String |
backgroundColor
背景颜色
|
protected String |
backgroundImage
背景图片
|
protected String |
backgroundImageHeight
背景图片高度
|
protected String |
backgroundImageWidth
背景图片宽度
|
protected String |
backgroundPosition
背景图片定位
|
protected String |
backgroundPositionHorizontal
背景图片水平定位
|
protected String |
backgroundPositionVertical
背景图片垂直定位
|
protected String |
backgroundRepeat
背景图片重复
|
protected String |
breakAfter
分页符-后
|
protected String |
breakBefore
分页符-前
|
protected String |
color
颜色
|
protected String |
endIndent
段后缩进
|
protected String |
fontFamily
字体名称
|
protected String |
fontSize
字体大小
|
protected String |
fontSizeAdjust
字体大小调整
|
protected String |
fontStyle
字体样式
|
protected String |
fontWeight
字体重量
|
protected Boolean |
hasBorder
是否包含边框
|
protected String |
horizontalStyle
水平样式
|
protected String |
id
id
|
protected String |
keepTogether
分页时保持
|
protected String |
keepWithNext
分页时与下一个元素保持
|
protected String |
keepWithPrevious
分页时与上一个元素保持
|
protected String |
language
语言
|
protected String |
leading
行间距
|
protected String |
letterSpacing
字符间距
|
protected String |
margin
上下左右边距
|
protected String |
marginBottom
下边距
|
protected String |
marginLeft
左边距
|
protected String |
marginRight
右边距
|
protected String |
marginTop
上边距
|
protected String |
padding
上下左右填充
|
protected String |
paddingBottom
下填充
|
protected String |
paddingLeft
左填充
|
protected String |
paddingRight
右填充
|
protected String |
paddingTop
上填充
|
protected String |
spaceAfter
段后空白
|
protected String |
spaceBefore
段前空白
|
protected String |
startIndent
段前缩进
|
protected String |
textIndent
文本缩进
|
protected String |
verticalStyle
垂直样式
|
protected String |
whiteSpace
空白空间
|
protected String |
whiteSpaceCollapse
空白空间折叠
|
protected String |
wordSpacing
单词间距
|
Constructor and Description |
---|
ComponentParam() |
protected String id
protected String padding
protected String paddingTop
protected String paddingBottom
protected String paddingLeft
protected String paddingRight
protected String margin
protected String marginTop
protected String marginBottom
protected String marginLeft
protected String marginRight
protected Boolean hasBorder
protected String horizontalStyle
left:居左
center:居中
right:居右
right:居右
justify:两端对齐
protected String verticalStyle
before:居上
center:居中
after:居下
protected String language
protected String leading
protected String letterSpacing
protected String wordSpacing
protected String whiteSpace
normal:正常
pre:保留空格
nowrap:合并空格
protected String whiteSpaceCollapse
true:是
false:否
protected String textIndent
protected String startIndent
protected String endIndent
protected String spaceBefore
protected String spaceAfter
protected String color
color:颜色(名称或16进制颜色)
transparent:透明
protected String fontFamily
protected String fontStyle
normal:正常
oblique:斜体
italic:斜体
backslant:斜体
protected String fontSize
protected String fontSizeAdjust
protected String fontWeight
normal:正常(400)
bold:粗体(700)
bolder:加粗(900)
lighter:细体(100)
protected String breakBefore
auto:自动
column:分列
page:分页
even-page:在元素之前强制分页一次或两个,以便下一页将成为偶数页
odd-page:在元素之前强制分页一次或两个,以便下一页将成为奇数页
protected String breakAfter
auto:自动
column:分列
page:分页
even-page:在元素之后强制分页一次或两个,以便下一页将成为偶数页
odd-page:在元素之后强制分页一次或两个,以便下一页将成为奇数页
protected String keepTogether
auto:自动
always:总是
protected String keepWithPrevious
auto:自动
always:总是
protected String keepWithNext
auto:自动
always:总是
protected String background
protected String backgroundImage
注:路径须写为”url('xxx.png')“的形式
注:当为windows系统绝对路径时,须添加前缀“/”,例如:”url('/E:\test\test.png')“
protected String backgroundImageWidth
protected String backgroundImageHeight
protected String backgroundAttachment
scroll:滚动
fixed:固定
protected String backgroundColor
color:颜色(名称或16进制颜色)
transparent:透明
protected String backgroundPosition
第一个参数为X轴
第二个参数为Y轴
protected String backgroundPositionHorizontal
protected String backgroundPositionVertical
protected String backgroundRepeat
repeat:水平垂直重复
repeat-x:水平重复
repeat-y:垂直重复
no-repeat:不重复
Copyright © 2024. All rights reserved.