メインコンテンツへスキップ
paragraphStyle 要素は、1 つの段落の書式スタイルを表します。fontStyle 要素を含みます。次の属性があります:
PropertyData typeDescription
id *stringドキュメント内の段落の識別子。
name *string段落スタイル名。
mainFontStyleId *string段落のメインのフォントスタイル。
role *stringドキュメントにおける段落の役割。可能な値: text, tableText, heading, tableHeading, pictureCaption, tableCaption, contents, footNote, endNote, rt, garb, other, barcode, headingNumber
roleLevelinteger役割のレベル。既定値は -1 で、この役割にレベルがないことを意味します。
align *string段落の配置。可能な値: Left, Center, Right, Justified, Unknown。既定値は Left。
indentLeftinteger左インデント。既定値は 0。
indentRightinteger右インデント。既定値は 0。
indentFirstinteger1 行目のインデント。既定値は 0。
lineSpacinginteger行間隔。既定値は -1 で、自動行間を示します。

FontStyle 要素

fontStyle 要素は、段落で使用されるフォントの書式スタイルを表します。次の属性があります:
PropertyData typeDescription
id *stringフォント スタイルの識別子。
italicbooleanフォント スタイルが斜体であることを示します。
boldbooleanフォント スタイルが太字であることを示します。
underlinebooleanフォント スタイルが下線付きであることを示します。
strikeoutbooleanフォント スタイルが取り消し線付きであることを示します。
smallcapsbooleanフォントがスモールキャップであることを示します。
scalingintegerフォントの拡大率。既定値は 1000。
spacinginteger文字間隔。既定値は 0。
colorintegerフォントの色。既定値は 0。
backgroundColorinteger背景色。既定値は 0。
ff *stringフォント名。
fs *floatフォント サイズ。
アスタリスクは必須プロパティを示します。