# Attributes

## Summary

| Name | Owner | Type | Inheritable | Default | Related Tags |
|---|---|---|---|---|---|
| [role](#role) | Aria | — | — | `None` | 52 tag(s) |
| [BBox](#bbox) | Artifact | — | — | — | — |
| [Subtype](#subtype) | Artifact | — | — | — | — |
| [Type](#type) | Artifact | — | — | — | 1 tag(s) |
| [NoteType](#notetype) | FENote | — | — | `None` | 1 tag(s) |
| [BackgroundColor](#backgroundcolor) | Layout | — | No | `If this attribute is not specified, the element shall be treated as if its background were transparent.` | 52 tag(s) |
| [BaselineShift](#baselineshift) | Layout | ILSE | — | `0` | 1 tag(s) |
| [BBox](#bbox) | Layout | BLSE | No | — | 11 tag(s) |
| [BlockAlign](#blockalign) | Layout | BLSE | Yes | `Before` | 2 tag(s) |
| [BorderColor](#bordercolor) | Layout | — | Yes | `If this attribute is not specified, the border colour for this element shall be the current text fill colour in effect at the start of its associated content.` | 52 tag(s) |
| [BorderStyle](#borderstyle) | Layout | — | No | `None` | 52 tag(s) |
| [BorderThickness](#borderthickness) | Layout | — | Yes | `0` | 52 tag(s) |
| [Color](#color) | Layout | — | Yes | `If this attribute is not specified, the border colour for this element shall be the current text fill colour in effect at the start of its associated content` | 52 tag(s) |
| [ColumnCount](#columncount) | Layout | — | No | `1` | 5 tag(s) |
| [ColumnGap](#columngap) | Layout | — | No | — | 5 tag(s) |
| [ColumnWidths](#columnwidths) | Layout | — | No | — | 5 tag(s) |
| [EndIndent](#endindent) | Layout | BLSE | Yes | `0` | — |
| [GlyphOrientationVertical](#glyphorientationvertical) | Layout | ILSE | Yes | `Auto` | — |
| [Height](#height) | Layout | BLSE | No | `Auto` | 11 tag(s) |
| [InlineAlign](#inlinealign) | Layout | BLSE | Yes | `Start` | 2 tag(s) |
| [LineHeight](#lineheight) | Layout | ILSE | Yes | `Normal` | — |
| [Padding](#padding) | Layout | — | No | `0` | 52 tag(s) |
| [Placement](#placement) | Layout | — | No | `Block for BLSEs, Inline for ILSEs` | 52 tag(s) |
| [RubyAlign](#rubyalign) | Layout | ILSE | Yes | `Distribute` | 1 tag(s) |
| [RubyPosition](#rubyposition) | Layout | ILSE | Yes | `Before` | 1 tag(s) |
| [SpaceAfter](#spaceafter) | Layout | BLSE | No | `0` | — |
| [SpaceBefore](#spacebefore) | Layout | BLSE | No | `0` | — |
| [StartIndent](#startindent) | Layout | BLSE | Yes | `0` | — |
| [TBorderStyle](#tborderstyle) | Layout | BLSE | Yes | `None` | 2 tag(s) |
| [TextAlign](#textalign) | Layout | BLSE | Yes | `Start` | — |
| [TextDecorationColor](#textdecorationcolor) | Layout | ILSE | Yes | `If this attribute is not specified, the text decoration colour for this element shall be the current fill colour in effect at the start of its associated content` | — |
| [TextDecorationThickness](#textdecorationthickness) | Layout | ILSE | Yes | `If this attribute is not specified, it shall be derived from the current stroke thickness in effect at the start of the element’s associated content, transformed into default user space units.` | — |
| [TextDecorationType](#textdecorationtype) | Layout | ILSE | Yes | `None` | — |
| [TextIndent](#textindent) | Layout | BLSE | Yes | `0` | — |
| [TextPosition](#textposition) | Layout | ILSE | Yes | `Normal` | — |
| [TPadding](#tpadding) | Layout | BLSE | Yes | `0` | 2 tag(s) |
| [Width](#width) | Layout | BLSE | No | `Auto` | 11 tag(s) |
| [WritingMode](#writingmode) | Layout | — | Yes | `LrTb` | 52 tag(s) |
| [ContinuedFrom](#continuedfrom) | List | — | — | — | 1 tag(s) |
| [ContinuedList](#continuedlist) | List | — | — | `false` | 1 tag(s) |
| [ListNumbering](#listnumbering) | List | — | Yes | `None` | 1 tag(s) |
| [checked](#checked) | PrintField | — | No | `off` | — |
| [Checked](#checked) | PrintField | — | No | `off` | — |
| [Desc](#desc) | PrintField | — | No | — | — |
| [Role](#role) | PrintField | — | No | `None specified` | — |
| [ColSpan](#colspan) | Table | — | No | `1` | 2 tag(s) |
| [Headers](#headers) | Table | — | No | — | 1 tag(s) |
| [RowSpan](#rowspan) | Table | — | No | `1` | 2 tag(s) |
| [Scope](#scope) | Table | — | No | — | 1 tag(s) |
| [Short](#short) | Table | — | No | — | 1 tag(s) |
| [Summary](#summary) | Table | — | — | — | 1 tag(s) |


## Aria

### role

Main indicator of type. This semantic association allows tools to present and support interaction with the object in a manner that is consistent with user expectations about other objects of that type.

- Owner: Aria
- Inheritable: —
- Type: —
- Default: `None`
- Related Tags: `Index`, `Reference`, `Art`, `TOC`, `TOCI`, `BlockQuote`, `BibEntry`, `Quote`, `Code`, `Note`, `Private`, `Document`, `DocumentFragment`, `Part`, `Div`, `Sect`, `Aside`, `NonStruct`, `Title`, `Sub`, `P`, `Hn`, `H`, `Lbl`, `Em`, `Strong`, `Span`, `Link`, `Annot`, `Form`, `Ruby`, `RB`, `RT`, `RP`, `Warichu`, `WT`, `WP`, `FENote`, `L`, `LI`, `LBody`, `Table`, `TR`, `TH`, `TD`, `THead`, `TBody`, `TFoot`, `Caption`, `Figure`, `Formula`, `Artifact`
- Source: Digital Publishing WAI-ARIA Module 1.0 https://www.w3.org/TR/dpub-aria-1.0/

#### Allowed Values

- Type: `text string`
  - `` — Any role defined in https://www.w3.org/TR/dpub-aria-1.0/#role_definitions can be used


## Artifact

### BBox

- Owner: Artifact
- Inheritable: —
- Type: —
- Default: —
- Source: ISO 32000 Section 14.8.5.8

#### Allowed Values

- Type: `rectangle`
  - `` — An array of four numbers in default user space units giving the coordinates of the left, bottom, right, and top edges, respectively, of the artifact’s bounding box (the rectangle that completely encloses its visible extent).

### Subtype

- Owner: Artifact
- Inheritable: —
- Type: —
- Default: —
- Source: ISO 32000 Section 14.8.5.8

#### Allowed Values

- Type: `name`
  - `Header`
  - `Footer`
  - `Watermark`
  - `PageNum`
  - `Bates`
  - `LineNum`
  - `Redaction`

### Type

- Owner: Artifact
- Inheritable: —
- Type: —
- Default: —
- Related Tags: `Artifact`
- Source: ISO 32000 Section 14.8.5.8

#### Allowed Values

- Type: `name`
  - `Pagination` — Pagination artifacts are ancillary page features such as running heads or folios (page numbers)
  - `Layout` — Layout artifacts are purely cosmetic typographical or design elements such as footnote rules or decorative ornaments
  - `Page` — Page artifacts are production aids extraneous to the document itself, such as cut marks and print control patches
  - `Inline` — Inline artifacts enclose artifact content that has context in the document’s logical structure, typically, artifacts of subtype LineNum or Redaction


## FENote

### NoteType

The type of the FENote indicating a more specific semantic definition for the FENote

- Owner: FENote
- Inheritable: —
- Type: —
- Default: `None`
- Related Tags: `FENote`
- Source: ISO-14289-2-2024-sponsored.pdf (PDF/UA-2) Section 8.2.5.14.2

#### Allowed Values

- Type: `name`
  - `Footnote` —  A subtype indicating a footnote
  - `Endnote` — A subtype indicating an endnote
  - `None` — A subtype indicating that the type is not specified


## Layout

### BackgroundColor

Sets the background color for the element’s content area.

- Owner: Layout
- Inheritable: No
- Type: —
- Default: `If this attribute is not specified, the element shall be treated as if its background were transparent.`
- Related Tags: `Index`, `Reference`, `Art`, `TOC`, `TOCI`, `BlockQuote`, `BibEntry`, `Quote`, `Code`, `Note`, `Private`, `Document`, `DocumentFragment`, `Part`, `Div`, `Sect`, `Aside`, `NonStruct`, `Title`, `Sub`, `P`, `Hn`, `H`, `Lbl`, `Em`, `Strong`, `Span`, `Link`, `Annot`, `Form`, `Ruby`, `RB`, `RT`, `RP`, `Warichu`, `WT`, `WP`, `FENote`, `L`, `LI`, `LBody`, `Table`, `TR`, `TH`, `TD`, `THead`, `TBody`, `TFoot`, `Caption`, `Figure`, `Formula`, `Artifact`
- Source: ISO 32000 Section 14.8.5.4.2

#### Allowed Values

- Type: `array`
  - `` — The value shall be an array of three numbers in the range 0.0 to 1.0, representing the red, green, and blue values, respectively, of an RGB colour space

### BaselineShift

Shifts the text baseline up or down (used for subscripts, superscripts, etc.).

- Owner: Layout
- Inheritable: —
- Type: ILSE
- Default: `0`
- Related Tags: `Figure`
- Source: ISO 32000 Section 14.8.5.4.4

#### Allowed Values

- Type: `number`
  - `` — The distance, in default user space units, by which the element’s baseline shall be shifted relative to that of its parent element. 

### BBox

Indicates the bounding box of the element, specifying its position and size on the page.

- Owner: Layout
- Inheritable: No
- Type: BLSE
- Default: —
- Related Tags: `Form`, `Table`, `TR`, `TH`, `TD`, `THead`, `TBody`, `TFoot`, `Caption`, `Figure`, `Formula`
- Source: ISO 32000 Section 14.8.5.4.3

#### Allowed Values

- Type: `rectangle`
  - `` — An array of four numbers in default user space units that shall give the coordinates of the left, bottom, right, and top edges, respectively, of the structure element’s bounding box (the rectangle that completely encloses its visible content).

### BlockAlign

Specifies vertical alignment of a block-level element (e.g., top, middle, bottom) within its container.

- Owner: Layout
- Inheritable: Yes
- Type: BLSE
- Default: `Before`
- Related Tags: `TH`, `TD`
- Source: ISO 32000 Section 14.8.5.4.3

#### Allowed Values

- Type: `name`
  - `Before` — Before edge of the first child’s allocation rectangle aligned with that of the table cell’s content rectangle.
  - `Middle` — Children centred within the table cell. The distance between the before edge of the first child’s allocation rectangle and that of the table cell’s content rectangle shall be the same as the distance between the after edge of the last child’s allocation rectangle and that of the table cell’s content rectangle.
  - `After` — After edge of the last child’s allocation rectangle aligned with that of the table cell’s content rectangle.
  - `Justify` — Children aligned with both the before and after edges of the table cell’s content rectangle. The first child shall be placed as described for Before and the last child as described for After, with equal spacing between the children. If there is only one child, it shall be aligned with the before edge only, as for Before.

### BorderColor

Specifies the color of the border around the element.

- Owner: Layout
- Inheritable: Yes
- Type: —
- Default: `If this attribute is not specified, the border colour for this element shall be the current text fill colour in effect at the start of its associated content.`
- Related Tags: `Index`, `Reference`, `Art`, `TOC`, `TOCI`, `BlockQuote`, `BibEntry`, `Quote`, `Code`, `Note`, `Private`, `Document`, `DocumentFragment`, `Part`, `Div`, `Sect`, `Aside`, `NonStruct`, `Title`, `Sub`, `P`, `Hn`, `H`, `Lbl`, `Em`, `Strong`, `Span`, `Link`, `Annot`, `Form`, `Ruby`, `RB`, `RT`, `RP`, `Warichu`, `WT`, `WP`, `FENote`, `L`, `LI`, `LBody`, `Table`, `TR`, `TH`, `TD`, `THead`, `TBody`, `TFoot`, `Caption`, `Figure`, `Formula`, `Artifact`
- Source: ISO 32000 Section 14.8.5.4.2

#### Allowed Values

- Type: `array`
  - `` — A single array of three numbers representing the RGB values to apply to all four edges.
  - `` — An array of four arrays, each specifying the RGB values for one edge of the border, in the order of the before, after, start, and end edges. A value of null for any of the edges means that it shall not be drawn.

### BorderStyle

Indicates the style of the border (e.g., solid, dashed, dotted).

- Owner: Layout
- Inheritable: No
- Type: —
- Default: `None`
- Related Tags: `Index`, `Reference`, `Art`, `TOC`, `TOCI`, `BlockQuote`, `BibEntry`, `Quote`, `Code`, `Note`, `Private`, `Document`, `DocumentFragment`, `Part`, `Div`, `Sect`, `Aside`, `NonStruct`, `Title`, `Sub`, `P`, `Hn`, `H`, `Lbl`, `Em`, `Strong`, `Span`, `Link`, `Annot`, `Form`, `Ruby`, `RB`, `RT`, `RP`, `Warichu`, `WT`, `WP`, `FENote`, `L`, `LI`, `LBody`, `Table`, `TR`, `TH`, `TD`, `THead`, `TBody`, `TFoot`, `Caption`, `Figure`, `Formula`, `Artifact`
- Source: ISO 32000 Section 14.8.5.4.2

#### Allowed Values

- Type: `name`
  - `None` — No border. Forces the computed value of BorderThickness to be 0.
  - `Hidden` — Same as None, except in terms of border conflict resolution for table elements.
  - `Dotted` — The border is a series of dots.
  - `Dashed` — The border is a series of short line segments.
  - `Solid` — The border is a single line segment.
  - `Double` — The border is two solid lines. The sum of the two lines and the space between them equals the value of BorderThickness.
  - `Groove` — The border looks as though it were carved into the canvas.
  - `Ridge` — The border looks as though it were coming out of the canvas (the opposite of Groove).
  - `Inset` — The border makes the entire box look as though it were embedded in the canvas.
  - `Outset` — The border makes the entire box look as though it were coming out of the canvas (the opposite of Inset).
- Type: `array`
  - `` — An array of four entries, each entry specifying the style for one edge of the border in the order of the before, after, start, and end edges. A value of null for any of the edges means that it shall not be drawn.
  - `` — A name from the list below representing the border style to apply to all four edges.

### BorderThickness

Defines the thickness of the border line in user space units (such as points).

- Owner: Layout
- Inheritable: Yes
- Type: —
- Default: `0`
- Related Tags: `Index`, `Reference`, `Art`, `TOC`, `TOCI`, `BlockQuote`, `BibEntry`, `Quote`, `Code`, `Note`, `Private`, `Document`, `DocumentFragment`, `Part`, `Div`, `Sect`, `Aside`, `NonStruct`, `Title`, `Sub`, `P`, `Hn`, `H`, `Lbl`, `Em`, `Strong`, `Span`, `Link`, `Annot`, `Form`, `Ruby`, `RB`, `RT`, `RP`, `Warichu`, `WT`, `WP`, `FENote`, `L`, `LI`, `LBody`, `Table`, `TR`, `TH`, `TD`, `THead`, `TBody`, `TFoot`, `Caption`, `Figure`, `Formula`, `Artifact`
- Source: ISO 32000 Section 14.8.5.4.2

#### Allowed Values

- Type: `number`
  - `` — A number representing the border thickness for all four edges
- Type: `array`
  - `` — An array of four entries, each entry specifying the style for one edge of the border in the order of the before, after, start, and end edges. A value of null for any of the edges means that it shall not be drawn.

### Color

Applies the primary color (fill or stroke) for the text or graphic content.

- Owner: Layout
- Inheritable: Yes
- Type: —
- Default: `If this attribute is not specified, the border colour for this element shall be the current text fill colour in effect at the start of its associated content`
- Related Tags: `Index`, `Reference`, `Art`, `TOC`, `TOCI`, `BlockQuote`, `BibEntry`, `Quote`, `Code`, `Note`, `Private`, `Document`, `DocumentFragment`, `Part`, `Div`, `Sect`, `Aside`, `NonStruct`, `Title`, `Sub`, `P`, `Hn`, `H`, `Lbl`, `Em`, `Strong`, `Span`, `Link`, `Annot`, `Form`, `Ruby`, `RB`, `RT`, `RP`, `Warichu`, `WT`, `WP`, `FENote`, `L`, `LI`, `LBody`, `Table`, `TR`, `TH`, `TD`, `THead`, `TBody`, `TFoot`, `Caption`, `Figure`, `Formula`, `Artifact`
- Source: ISO 32000 Section 14.8.5.4.2

#### Allowed Values

- Type: `array`
  - `` — An array of three numbers in the range 0.0 to 1.0, representing the red, green, and blue values, respectively, of an RGB colour space

### ColumnCount

Specifies the number of columns for multi-column layouts.

- Owner: Layout
- Inheritable: No
- Type: —
- Default: `1`
- Related Tags: `Part`, `Sect`, `Div`, `Aside`, `NonStruct`
- Source: ISO 32000 Section 14.8.5.4.5

#### Allowed Values

- Type: `integer`
  - `` — The number of columns in the content of the grouping element.

### ColumnGap

Indicates the spacing (gap) between columns in multi-column layouts.

- Owner: Layout
- Inheritable: No
- Type: —
- Default: —
- Related Tags: `Part`, `Sect`, `Div`, `Aside`, `NonStruct`
- Source: ISO 32000 Section 14.8.5.4.5

#### Allowed Values

- Type: `number`
  - `` — It specifies the space between all columns.
- Type: `array`
  - `` — It should contain numbers, the first element specifying the space between the first and second columns, the second specifying the space between the second and third columns, and so on. If there are fewer than ColumnCount - 1 numbers, the last element shall specify all remaining spaces; if there are more than ColumnCount - 1 numbers, the excess array elements shall be ignored.

### ColumnWidths

Specifies the width of each column in multi-column layouts.

- Owner: Layout
- Inheritable: No
- Type: —
- Default: —
- Related Tags: `Part`, `Sect`, `Div`, `Aside`, `NonStruct`
- Source: ISO 32000 Section 14.8.5.4.5

#### Allowed Values

- Type: `number`
  - `` — It specifies the width of all columns
- Type: `array`
  - `` — It shall contain numbers, representing the width of each column, in order. If there are fewer than ColumnCount numbers, the last element shall specify all remaining widths; if there are more than ColumnCount numbers, the excess array elements shall be ignored

### EndIndent

Defines the indentation at the end edge (right edge in LTR) of the element.

- Owner: Layout
- Inheritable: Yes
- Type: BLSE
- Default: `0`
- Source: ISO 32000 Section 14.8.5.4.3

#### Allowed Values

- Type: `number`
  - `` — The distance from the end edge of the BLSE to that of the reference area, measured in default user space units in the inlineprogression direction. 

### GlyphOrientationVertical

Determines the orientation of glyphs when text is written in a vertical writing mode.

- Owner: Layout
- Inheritable: Yes
- Type: ILSE
- Default: `Auto`
- Source: ISO 32000 Section 14.8.5.4.4

#### Allowed Values

- Type: `name`
  - `Auto` — Specifies a default orientation for text, depending on whether it is fullwidth (as wide as it is high). Fullwidth Latin and fullwidth ideographic text (excluding ideographic punctuation) shall be set with an angle of 0. Ideographic punctuation and other ideographic characters having alternate horizontal and vertical forms shall use the vertical form of the glyph. Non-fullwidth text shall be set with an angle of 90
- Type: `number`
  - `` — A number representing the clockwise rotation in degrees of the top of the glyphs relative to the top of the reference area. Shall be a multiple of 90 degrees between -180 and +360.

### Height

Declares an explicit height for the element in user space units.

- Owner: Layout
- Inheritable: No
- Type: BLSE
- Default: `Auto`
- Related Tags: `Form`, `Table`, `TR`, `TH`, `TD`, `THead`, `TBody`, `TFoot`, `Caption`, `Figure`, `Formula`
- Source: ISO 32000 Section 14.8.5.4.3

#### Allowed Values

- Type: `name`
  - `Auto` — The name Auto in place of a numeric value shall indicate that no specific width constraint is to be imposed; the element’s width is determined by the intrinsic width of its content.
- Type: `number`
  - `Start` — Measured in default user space units in the inline-progression direction.

### InlineAlign

Specifies how inline content is aligned within the line box (e.g., baseline, center).

- Owner: Layout
- Inheritable: Yes
- Type: BLSE
- Default: `Start`
- Related Tags: `TH`, `TD`
- Source: ISO 32000 Section 14.8.5.4.3

#### Allowed Values

- Type: `name`
  - `Start` — Start edge of each child’s allocation rectangle aligned with that of the table cell’s content rectangle.
  - `Center` — Each child centred within the table cell. The distance between the start edges of the child’s allocation rectangle and the table cell’s content rectangle shall be the same as the distance between their end edges.
  - `End` — End edge of each child’s allocation rectangle aligned with that of the table cell’s content rectangle.

### LineHeight

Controls the spacing between lines of text (line spacing).

- Owner: Layout
- Inheritable: Yes
- Type: ILSE
- Default: `Normal`
- Source: ISO 32000 Section 14.8.5.4.4

#### Allowed Values

- Type: `name`
  - `Normal` — Adjust the line height to include any non-zero value specified for BaselineShift.
  - `Auto` — Adjustment for the value of BaselineShift shall not be made
- Type: `number`
  - `Start` — The element’s preferred height, measured in default user space units in the block-progression direction. 

### Padding

Determines the space between the element’s border (or boundary) and its inner content.

- Owner: Layout
- Inheritable: No
- Type: —
- Default: `0`
- Related Tags: `Index`, `Reference`, `Art`, `TOC`, `TOCI`, `BlockQuote`, `BibEntry`, `Quote`, `Code`, `Note`, `Private`, `Document`, `DocumentFragment`, `Part`, `Div`, `Sect`, `Aside`, `NonStruct`, `Title`, `Sub`, `P`, `Hn`, `H`, `Lbl`, `Em`, `Strong`, `Span`, `Link`, `Annot`, `Form`, `Ruby`, `RB`, `RT`, `RP`, `Warichu`, `WT`, `WP`, `FENote`, `L`, `LI`, `LBody`, `Table`, `TR`, `TH`, `TD`, `THead`, `TBody`, `TFoot`, `Caption`, `Figure`, `Formula`, `Artifact`
- Source: ISO 32000 Section 14.8.5.4.2

#### Allowed Values

- Type: `number`
  - `` — A number representing the width of the padding for all four edges.
- Type: `array`
  - `` — An array of four entries, each entry specifying the width of the padding for one edge, in the order of the before, after, start and end edges.

### Placement

Specifies how the element is placed relative to surrounding content (e.g., block-level or inline flow).

- Owner: Layout
- Inheritable: No
- Type: —
- Default: `Block for BLSEs, Inline for ILSEs`
- Related Tags: `Index`, `Reference`, `Art`, `TOC`, `TOCI`, `BlockQuote`, `BibEntry`, `Quote`, `Code`, `Note`, `Private`, `Document`, `DocumentFragment`, `Part`, `Div`, `Sect`, `Aside`, `NonStruct`, `Title`, `Sub`, `P`, `Hn`, `H`, `Lbl`, `Em`, `Strong`, `Span`, `Link`, `Annot`, `Form`, `Ruby`, `RB`, `RT`, `RP`, `Warichu`, `WT`, `WP`, `FENote`, `L`, `LI`, `LBody`, `Table`, `TR`, `TH`, `TD`, `THead`, `TBody`, `TFoot`, `Caption`, `Figure`, `Formula`, `Artifact`
- Source: ISO 32000 Section 14.8.5.4.2

#### Allowed Values

- Type: `name`
  - `Block` — Stacked in the block-progression direction within an enclosing reference area or parent BLSE.
  - `Inline` — Packed in the inline-progression direction within an enclosing BLSE.
  - `Before` — Placed so that the before edge of the element’s allocation rectangle (see 14.8.5.4.5, "Content and Allocation Rectangles") coincides with that of the nearest enclosing reference area. The element may float, if necessary, to achieve the specified placement. The element shall be treated as a block occupying the full extent of the enclosing reference area in the inline direction. Other content shall be stacked so as to begin at the after edge of the element’s allocation rectangle.
  - `Start` — Placed so that the start edge of the element’s allocation rectangle (see 14.8.5.4.5, "Content and Allocation Rectangles") coincides with that of the nearest enclosing reference area. The element may float, if necessary, to achieve the specified placement. Other content that would intrude into the element’s allocation rectangle shall be laid out as a runaround.
  - `End` — Placed so that the end edge of the element’s allocation rectangle (see 14.8.5.4.5, "Content and Allocation Rectangles") coincides with that of the nearest enclosing reference area. The element may float, if necessary, to achieve the specified placement. Other content that would intrude into the element’s allocation rectangle shall be laid out as a runaround.

### RubyAlign

Controls how ruby text (primarily in East Asian typography) is aligned relative to its base text.

- Owner: Layout
- Inheritable: Yes
- Type: ILSE
- Default: `Distribute`
- Related Tags: `RT`
- Source: ISO 32000 Section 14.8.5.4.4

#### Allowed Values

- Type: `name`
  - `Start` — The content shall be aligned on the start edge in the inline-progression direction
  - `Center` — The content shall be centred in the inline-progression direction.
  - `End` — The content shall be aligned on the end edge in the inline-progression direction.
  - `Justify` — The content shall be expanded to fill the available width in the inline-progression direction
  - `Distribute` — The content shall be expanded to fill the available width in the inline-progression direction. However, space shall also be inserted at the start edge and end edge of the text. The spacing shall be distributed using a 1:2:1 (start:infix:end) ratio. It shall be changed to a 0:1:1 ratio if the ruby appears at the start of a text line or to a 1:1:0 ratio if the ruby appears at the end of the text line.

### RubyPosition

Specifies the placement of ruby text (above or below the base text).

- Owner: Layout
- Inheritable: Yes
- Type: ILSE
- Default: `Before`
- Related Tags: `RT`
- Source: ISO 32000 Section 14.8.5.4.4

#### Allowed Values

- Type: `name`
  - `Before` — The RT content shall be aligned along the before edge of the element.
  - `After` — The RT content shall be aligned along the after edge of the element.
  - `Warichu` — The RT and associated RP elements shall be formatted as a warichu, following the RB element
  - `Inline` — The RT and associated RP elements shall be formatted as a parenthesis comment, following the RB element.

### SpaceAfter

Specifies the additional spacing after the element.

- Owner: Layout
- Inheritable: No
- Type: BLSE
- Default: `0`
- Source: ISO 32000 Section 14.8.5.4.3

#### Allowed Values

- Type: `number`
  - `` — The amount of extra space following the after edge of the BLSE, measured in default user space units in the blockprogression direction. 

### SpaceBefore

Specifies the additional spacing before the element.

- Owner: Layout
- Inheritable: No
- Type: BLSE
- Default: `0`
- Source: ISO 32000 Section 14.8.5.4.3

#### Allowed Values

- Type: `number`
  - `` — The amount of extra space preceding the before edge of the BLSE, measured in default user space units in the blockprogression direction

### StartIndent

Defines the indentation at the start edge (left edge in LTR) of the element.

- Owner: Layout
- Inheritable: Yes
- Type: BLSE
- Default: `0`
- Source: ISO 32000 Section 14.8.5.4.3

#### Allowed Values

- Type: `number`
  - `` — The distance from the start edge of the reference area to that of the BLSE, measured in default user space units in the inlineprogression direction. 

### TBorderStyle

Indicates the border style for table cells or similar tabular structures.

- Owner: Layout
- Inheritable: Yes
- Type: BLSE
- Default: `None`
- Related Tags: `TH`, `TD`
- Source: ISO 32000 Section 14.8.5.4.3

#### Allowed Values

- Type: `name`
  - `None` — No border. Forces the computed value of BorderThickness to be 0.
  - `Hidden` — Same as None, except in terms of border conflict resolution for table elements.
  - `Dotted` — The border is a series of dots.
  - `Dashed` — The border is a series of short line segments.
  - `Solid` — The border is a single line segment.
  - `Double` — The border is two solid lines. The sum of the two lines and the space between them equals the value of BorderThickness.
  - `Groove` — The border looks as though it were carved into the canvas.
  - `Ridge` — The border looks as though it were coming out of the canvas (the opposite of Groove).
  - `Inset` — The border makes the entire box look as though it were embedded in the canvas.
  - `Outset` — The border makes the entire box look as though it were coming out of the canvas (the opposite of Inset).
- Type: `array`
  - `` — An array of four entries, each entry specifying the style for one edge of the border in the order of the before, after, start, and end edges. A value of null for any of the edges means that it shall not be drawn.
  - `` — A name from the list below representing the border style to apply to all four edges.

### TextAlign

Controls how text is aligned within the element (left, right, center, justify).

- Owner: Layout
- Inheritable: Yes
- Type: BLSE
- Default: `Start`
- Source: ISO 32000 Section 14.8.5.4.3

#### Allowed Values

- Type: `name`
  - `Start` — Aligned with the start edge.
  - `Center` — Centred between the start and end edges.
  - `End` — Aligned with the end edge.
  - `Justify` — Aligned with both the start and end edges, with internal spacing within each line expanded, if necessary, to achieve such alignment. The last (or only) line shall be aligned with the start edge only.

### TextDecorationColor

Specifies the color used for text decorations (like underline or strike-through).

- Owner: Layout
- Inheritable: Yes
- Type: ILSE
- Default: `If this attribute is not specified, the text decoration colour for this element shall be the current fill colour in effect at the start of its associated content`
- Source: ISO 32000 Section 14.8.5.4.4

#### Allowed Values

- Type: `array`
  - `` — An array of three numbers in the range 0.0 to 1.0, representing the red, green, and blue values, respectively, of an RGB colour space. 

### TextDecorationThickness

Defines the thickness of any text decoration line.

- Owner: Layout
- Inheritable: Yes
- Type: ILSE
- Default: `If this attribute is not specified, it shall be derived from the current stroke thickness in effect at the start of the element’s associated content, transformed into default user space units.`
- Source: ISO 32000 Section 14.8.5.4.4

#### Allowed Values

- Type: `number`
  - `` — The value shall be a non-negative number in default user space units representing the thickness (0 is interpreted as the thinnest possible line). 

### TextDecorationType

Indicates the type of text decoration (underline, overline, line-through).

- Owner: Layout
- Inheritable: Yes
- Type: ILSE
- Default: `None`
- Source: ISO 32000 Section 14.8.5.4.4

#### Allowed Values

- Type: `name`
  - `None` — No text decoration
  - `Underline` — A line below the text
  - `Overline` — A line above the text
  - `LineThrough` — A line through the middle of the text

### TextIndent

Specifies the indentation of the first line of text in a paragraph.

- Owner: Layout
- Inheritable: Yes
- Type: BLSE
- Default: `0`
- Source: ISO 32000 Section 14.8.5.4.3

#### Allowed Values

- Type: `number`
  - `` — A negative value shall indicate a hanging indent.

### TextPosition

- Owner: Layout
- Inheritable: Yes
- Type: ILSE
- Default: `Normal`
- Source: ISO 32000 Section 14.8.5.4.4

#### Allowed Values

- Type: `name`
  - `Sup` — Position is elevated, like for superscript
  - `Sub` — Position is lowered, like for subscript
  - `Normal` — Position is neither elevated nor lowered

### TPadding

Specifies the padding inside table cells or table-like elements.

- Owner: Layout
- Inheritable: Yes
- Type: BLSE
- Default: `0`
- Related Tags: `TH`, `TD`
- Source: ISO 32000 Section 14.8.5.4.3

#### Allowed Values

- Type: `number`
  - `` — A positive value shall enlarge the background area; a negative value shall trim it, and the border may overlap the element’s text or graphic. A single number representing the width of the padding, in default user space units, that applies to all four edges of the table cell.
- Type: `array`
  - `` — A 4-entry array representing the padding width for the before edge, after edge, start edge, and end edge, respectively, of the content rectangle.

### Width

Declares an explicit width for the element in user space units.

- Owner: Layout
- Inheritable: No
- Type: BLSE
- Default: `Auto`
- Related Tags: `Form`, `Table`, `TR`, `TH`, `TD`, `THead`, `TBody`, `TFoot`, `Caption`, `Figure`, `Formula`
- Source: ISO 32000 Section 14.8.5.4.3

#### Allowed Values

- Type: `name`
  - `Auto` — The name Auto in place of a numeric value shall indicate that no specific width constraint is to be imposed; the element’s width is determined by the intrinsic width of its content.
- Type: `number`
  - `` — Measured in default user space units in the inline-progression direction.

### WritingMode

Defines the direction of text flow (e.g., left-to-right, right-to-left, or vertical).

- Owner: Layout
- Inheritable: Yes
- Type: —
- Default: `LrTb`
- Related Tags: `Index`, `Reference`, `Art`, `TOC`, `TOCI`, `BlockQuote`, `BibEntry`, `Quote`, `Code`, `Note`, `Private`, `Document`, `DocumentFragment`, `Part`, `Div`, `Sect`, `Aside`, `NonStruct`, `Title`, `Sub`, `P`, `Hn`, `H`, `Lbl`, `Em`, `Strong`, `Span`, `Link`, `Annot`, `Form`, `Ruby`, `RB`, `RT`, `RP`, `Warichu`, `WT`, `WP`, `FENote`, `L`, `LI`, `LBody`, `Table`, `TR`, `TH`, `TD`, `THead`, `TBody`, `TFoot`, `Caption`, `Figure`, `Formula`, `Artifact`
- Source: ISO 32000 Section 14.8.5.4.2

#### Allowed Values

- Type: `name`
  - `LrTb` — Inline progression from left to right; block progression from top to bottom. This is the typical writing mode for Western writing systems.
  - `RlTb` — Inline progression from right to left; block progression from top to bottom. This is the typical writing mode for Arabic and Hebrew writing systems.
  - `TbRl` — Inline progression from top to bottom; block progression from right to left. This is the typical writing mode for Chinese and Japanese writing systems.
  - `TbLr` — Inline progression from top to bottom; block progression from left to right. This is the typical writing mode for writing systems like classical Mongolian.
  - `LrBt` — Inline progression from left to right; block progression from bottom to top. There is currently no known writing system to which this writing mode applies.
  - `RlBt` — Inline progression from right to left; block progression from bottom to top. There is currently no known writing system to which this writing mode applies.
  - `BtRl` — Inline progression from bottom to top; block progression from right to left. This is the typical writing mode for the Ancient Berber writing system.
  - `BtLr` — Inline progression from bottom to top; block progression from left to right. This is the typical writing mode for the Batak writing system.


## List

### ContinuedFrom

- Owner: List
- Inheritable: —
- Type: —
- Default: —
- Related Tags: `L`
- Source: ISO 32000 Section 14.8.5.5

#### Allowed Values

- Type: ` ID (byte string)`
  - `` — The ID of the list for which this list is a continuation

### ContinuedList

- Owner: List
- Inheritable: —
- Type: —
- Default: `false`
- Related Tags: `L`
- Source: ISO 32000 Section 14.8.5.5

#### Allowed Values

- Type: `boolean`
  - `` —  A flag specifying whether the list is a continuation of a previous list in the structure tree (true), or not (false)

### ListNumbering

Controls the numbering style used in lists (e.g., decimal, Roman, bullet).

- Owner: List
- Inheritable: Yes
- Type: —
- Default: `None`
- Related Tags: `L`
- Source: ISO 32000 Section 14.8.5.5

#### Allowed Values

- Type: `name`
  - `None` — No numbering system; Lbl elements (if present) contain arbitrary text not subject to any numbering scheme
  - `Unordered` — (PDF 2.0) Unordered list with unspecified bullets
  - `Description` — (PDF 2.0) A list of terms for corresponding definitions
  - `Disc` — Solid circular bullet
  - `Circle` — Open circular bullet
  - `Square` — Solid square
  - `Ordered` — (PDF 2.0) Ordered lists with unspecified numbering
  - `Decimal` — Decimal Arabic numerals (1–9, 10–99, … )
  - `UpperRoman` — Uppercase Roman numerals (I, II, III, IV, … )
  - `LowerRoman` — Lowercase Roman numerals (i, ii, iii, iv, … )
  - `UpperAlpha` — Uppercase letters (A, B, C, .. )
  - `LowerAlpha` — Lowercase letters (a, b, c, … )


## PrintField

### checked

Indicates whether a form field (like a checkbox) is in a checked state.

- Owner: PrintField
- Inheritable: No
- Type: —
- Default: `off`
- Source: ISO 32000 Section 14.8.5.6

#### Allowed Values

- Type: `name`
  - `on` — The state of a radio button or check box field
  - `off` — The state of a radio button or check box field

### Checked

Indicates whether a form field (like a checkbox) is in a checked state.

- Owner: PrintField
- Inheritable: No
- Type: —
- Default: `off`
- Source: ISO 32000 Section 14.8.5.6

#### Allowed Values

- Type: `name`
  - `on` — The state of a radio button or check box field
  - `off` — The state of a radio button or check box field

### Desc

Provides a descriptive text for the element, often used for accessibility or annotations.

- Owner: PrintField
- Inheritable: No
- Type: —
- Default: —
- Source: ISO 32000 Section 14.8.5.6

#### Allowed Values

- Type: `text string`
  - `` — The alternate name of the field.

### Role

Assigns a semantic role to the element for accessibility or structure mapping.

- Owner: PrintField
- Inheritable: No
- Type: —
- Default: `None specified`
- Source: ISO 32000 Section 14.8.5.6

#### Allowed Values

- Type: `name`
  - `rb` — Radio button
  - `cp` — Check box
  - `pb` —  Push button
  - `tv` — Text-value field
  - `lb` — Listbox field


## Table

### ColSpan

- Owner: Table
- Inheritable: No
- Type: —
- Default: `1`
- Related Tags: `TH`, `TD`
- Source: ISO 32000 Section 14.8.5.7

#### Allowed Values

- Type: `integer`
  - `` — The number of columns in the enclosing table that shall be spanned by the cell

### Headers

- Owner: Table
- Inheritable: No
- Type: —
- Default: —
- Related Tags: `TH`
- Source: ISO 32000 Section 14.8.5.7

#### Allowed Values

- Type: `array`
  - `` — An array of byte strings, where each string shall be the element identifier for a TH structure element that shall be used as a header associated with this cell

### RowSpan

- Owner: Table
- Inheritable: No
- Type: —
- Default: `1`
- Related Tags: `TH`, `TD`
- Source: ISO 32000 Section 14.8.5.7

#### Allowed Values

- Type: `integer`
  - `` — The number of rows in the enclosing table that shall be spanned by the cell.

### Scope

- Owner: Table
- Inheritable: No
- Type: —
- Default: —
- Related Tags: `TH`
- Source: ISO 32000 Section 14.8.5.7

#### Allowed Values

- Type: `name`
  - `Both`
  - `Column`
  - `Row`

### Short

- Owner: Table
- Inheritable: No
- Type: —
- Default: —
- Related Tags: `TH`
- Source: ISO 32000 Section 14.8.5.7

#### Allowed Values

- Type: `text string`
  - `` — Contains a short form of the content of a TH structure element’s content.

### Summary

- Owner: Table
- Inheritable: —
- Type: —
- Default: —
- Related Tags: `Table`
- Source: ISO 32000 Section 14.8.5.7

#### Allowed Values

- Type: `text string`
  - `` — A summary of the table’s purpose and structure. 
