Skip to content
LpdfDocsv0.36-r1119.4

Lpdf is pre-release. The XML schema and SDK APIs can change between releases.

Divider

A horizontal or vertical rule.

Attribute Type Default Description
direction string horizontal horizontal or vertical
color color line Line color. The line color token is a mid grey, #737373, and a document can give it another value in its tokens
data-color string — Dot-path: sets color from the data. See Attributes from data
thickness token/length xs Line thickness: a border token (xs 0.5pt, s 1pt, m 1.5pt, l 2pt, xl 3pt, xxl 4pt) or a length such as 1pt
ocg string — print or screen: shown only in print, or only on screen. See Print and screen content
<column gap="16pt">
<text font-size="18pt">Section heading</text>
<divider/>
<text>Body text below the rule.</text>
</column>
<divider color="#1a73e8" thickness="s"/>
<row align="center" gap="16pt">
<text>Left</text>
<divider direction="vertical"/>
<text width="fill">Right</text>
</row>