> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ParagraphStyle 要素

> Vantage OCR XML 出力における paragraphStyle 要素は、1 つの段落の書式設定を表し、fontStyle 子要素と段落レベルの属性を含みます。

**paragraphStyle** 要素は、1 つの段落に対する書式スタイルを表します。**fontStyle** 要素を含みます。次の属性があります。

| Property             | Data type | Description                                                                                                                                                                               |
| :------------------- | :-------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `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` | 1 行目インデント。既定値は 0。                                                                                                                                                                         |
| `lineSpacing`        | `integer` | 行間隔。既定値は -1 で、自動行間を示します。                                                                                                                                                                  |

<div id="fontstyle-element">
  ## FontStyle 要素
</div>

**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`   | フォントサイズ。                    |

* は必須プロパティを示します。
