> ## 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 Element

> The paragraphStyle element in Vantage OCR XML output describes formatting for a single paragraph: includes a fontStyle child and paragraph-level attributes.

The **paragraphStyle** element describes the formatting style for a single paragraph. Includes a **fontStyle** element. Has the following attributes:

| Property | Data type | Description |
| :- | :- | :- |
| `id` \* | `string` | The identifier of the paragraph in a document. |
| `name` \* | `string` | The name of the paragraph style. |
| `mainFontStyleId` \* | `string` | The main font style of the paragraph. |
| `role` \* | `string` | The function of the paragraph in the document. Possible values: `text`, `tableText`, `heading`, `tableHeading`, `pictureCaption`, `tableCaption`, `contents`, `footNote`, `endNote`, `rt`, `garb`, `other`, `barcode`, `headingNumber` |
| `roleLevel` | `integer` | The role level. The default value is -1, which means that the level is not available for this role. |
| `align` \* | `string` | The paragraph alignment. Possible values: `Left`, `Center`, `Right`, `Justified`, `Unknown`. The default value is Left. |
| `indentLeft` | `integer` | The left indent. The default value is 0. |
| `indentRight` | `integer` | The right indent. The default value is 0. |
| `indentFirst` | `integer` | The first line indent. The default value is 0. |
| `lineSpacing` | `integer` | The space between lines. The default value is -1, which indicates automatic line spacing. |

## FontStyle Element

The **fontStyle** element describes the formatting style for fonts used in paragraphs. Has the following attributes:

| Property | Data type | Description |
| :- | :- | :- |
| `id` \* | `string` | The identifier of the font style. |
| `italic` | `boolean` | Indicates that a font style is italic. |
| `bold` | `boolean` | Indicates that a font style is bold. |
| `underline` | `boolean` | Indicates that a font style is underlined. |
| `strikeout` | `boolean` | Indicates that a font style is strikeout. |
| `smallcaps` | `boolean` | Indicates that a font is small caps. |
| `scaling` | `integer` | The scaling of the font. The default value is 1000. |
| `spacing` | `boolean` | The character spacing. The default value is 0. |
| `color` | `boolean` | The font color. The default value is 0. |
| `backgroundColor` | `boolean` | The background color. The default value is 0. |
| `ff` \* | `string` | The name of the font. |
| `fs` \* | `float` | The size of the font. |

\* Indicates a required property.
