All articles

Elements

Properties every element shares

Each element (the app calls them blocks) has settings of its own, and many kinds also share a common set. This page covers that shared set once; each element's page covers the rest.

Select a block, then open the properties panel with the panel button at the far right of the app bar (tooltip Show properties panel), or press ⌘. (Ctrl+. on Windows). Keep the switch at the panel's head on Selection. In the hosted app, changing a template needs the editor role or higher.

Every setting is optional: left empty, the block follows the document's settings (see Document theme).

Which elements get which

Part of the panelShown for
StyleHeading, Paragraph, List (List has no Alignment)
BoxHeading, Paragraph, List, Section
SpacingHeading, Paragraph, List, Section
Page-flow checkboxesEvery element except List, Page break and Conditional
ConditionalEvery element

They follow the element's own settings in this order. Duplicate and Delete block sit at the foot of the panel for every element.

Style

  • Alignment — Auto (no setting of its own), Left, Center, Right or Justify. Headings and paragraphs only.
  • Size (pt) — empty means the document's base size, or for a heading its level's size.
  • Font — Theme default is the document font. Brand fonts, Sans-serif, Serif and Monospace travel with the document, so the PDF matches the preview; System fonts may not.
  • Color — Theme default gives headings the document's primary colour and other text a near-black grey. Clear returns to it.
  • Transform — Uppercase, Lowercase or Capitalize the printed text; None prints it as typed.
  • Letter spacing (pt) — extra space between letters; negative tightens.
  • Small caps — lowercase letters print as small capitals.

Styling on a stretch of text inside the block wins over these — see Text runs.

Box

The box covers the whole block — for a section, its title and contents.

  • Background — a fill colour, None by default. It prints.
  • Background image — Choose image… takes an image under 2 MB. It fills the box, centred and cropped rather than stretched or tiled, over any fill. Replace image… and Clear change or remove it. Hosted, it shows as Hosted asset; in local mode it is stored in the template and shows as Embedded with its size. See Background images.
  • Padding (pt) — space between the box edge and the content.
  • Border — the border colour, None by default; no border prints without one.
  • Border width (pt) — 1 pt when empty.
  • Border style — Default (solid), Solid, Dashed, Dotted or Double.
  • Radius (pt) — rounds the corners.

Spacing

  • Line height (×) — line spacing as a multiple of the text size, such as 1.5. On a section it applies to everything inside.
  • Space before (pt) and Space after (pt) — the gap above and below. The halo's spacing buttons on the canvas change these in 2 pt steps.
  • Indent left (pt) and Indent right (pt) — move the block's left or right edge inward.

Page-flow checkboxes

These sit, without a heading, near the bottom of the panel. They act where the document is split into pages: the PDF and the Paged view.

  • Keep with next block — stay with what follows — asks for no page break straight after the block, so a heading is not left alone at the foot of a page. Every kind with these checkboxes except repeats.
  • Keep together — don’t split across pages — sections, columns and grids.
  • Start on a new page — break before this section — sections. Tables have their own Start on a new page (break before this table).
  • Keep each item together — an item never splits across pages — repeats.

A group taller than a page still splits, and the panel warns: This group is taller than a page — it will still split where it must. See Control page breaks.

Conditional

  • Show only when a condition is met — the block and everything inside it print only when the condition holds for the record being rendered; the panel restates it (Shown when …). A new condition starts as a stand-in field that is not empty text, which holds, so ticking the box leaves the block in place while you build the condition. Inside a repeat it is checked for each item. See Show only when.
  • Conditional styling — headings, paragraphs, lists and sections. + Add styling rule adds a condition (When this holds…) with a Text color, Fill, Size (pt) and Font; anything left on No change, or empty, keeps its normal value. The first rule that holds wins. A section's rule offers only Fill and Font, the two a section prints. See Conditional formatting.

A hidden block also disappears from the canvas: select it in the Outline. In the Flow view you can also tick Show hidden blocks under Preview shape in the data pill above the document to see it as a dimmed placeholder; a hidden block inside a repeat stays hidden. Table columns have their own version of these controls — see Table element.

Images and barcodes share a Link URL field that makes them clickable in the PDF: a web address, or a mailto: or tel: link. Unsafe kinds of link are refused with a message.

Good to know

  • Limits: 200 pt for size, padding and radius; 50 pt for border width; 1000 pt for space and indents; 10 for line height; −10 to 100 pt for letter spacing. A value past its limit is not applied, and Weft says why.