| 属性 | 数据类型 | 说明 |
|---|---|---|
id * | string | 文档中该段落的标识符。 |
name * | string | 段落样式名称。 |
mainFontStyleId * | string | 段落的主字体样式。 |
role * | string | 段落在文档中的作用。可选值:text、tableText、heading、tableHeading、pictureCaption、tableCaption、contents、footNote、endNote、rt、garb、other、barcode、headingNumber |
roleLevel | integer | 角色级别。默认值为 -1,表示该角色不适用级别。 |
align * | string | 段落对齐方式。可选值:Left、Center、Right、Justified、Unknown。默认值为 Left。 |
indentLeft | integer | 左缩进。默认值:0。 |
indentRight | integer | 右缩进。默认值:0。 |
indentFirst | integer | 首行缩进。默认值:0。 |
lineSpacing | integer | 行间距。默认值为 -1,表示自动行间距。 |
FontStyle 元素
| Property | Data type | Description |
|---|---|---|
id * | string | 字体样式的标识符。 |
italic | boolean | 指示字体样式为斜体。 |
bold | boolean | 指示字体样式为粗体。 |
underline | boolean | 指示字体样式为下划线。 |
strikeout | boolean | 指示字体样式为删除线。 |
smallcaps | boolean | 指示字体为小型大写。 |
scaling | integer | 字体缩放比例。默认值为 1000。 |
spacing | boolean | 字符间距。默认值为 0。 |
color | boolean | 字体颜色。默认值为 0。 |
backgroundColor | boolean | 背景颜色。默认值为 0。 |
ff * | string | 字体名称。 |
fs * | float | 字体大小。 |
星号表示必填属性。
