Skip to main content

Canvas editor

The canvas editor shows the template full screen, with every area of the document type drawn on it. Use it to see all fields at once, to adjust areas, to set up field and image validations, and to take unwanted text out of a value by clicking it.

Opening and closing​

  • On the document type page, click Open canvas editor in the header.
  • Field validation, Image validation and Edit on template on the document type page also open it, in the matching step.
  • The arrow at the top left (Back to document type) returns to the document type page.

Data frames have the same editor, with two more tools. See Data frames.

The canvas editor on the Text document template, with the CLIENT, PROJECT, REVISION and ORIGINATOR areas and the Items panel on the right

The screen​

PartWhat it is
Top barThe tools, the page switcher (for multi-page templates), zoom, Reset view, Fullscreen and Hide items panel.
PageThe template with every area outlined and labelled with its item's name.
Side panelThe document type's items. See The side panel.
Document infoA card at the bottom left with the file, its pages, the page size (with the paper format, such as "420 × 297 mm (A3 landscape)") and the PDF's properties. Fold it with its arrow.
OverviewA small map of the whole page, with the visible part outlined. Click or drag in it to move.
Test filesThe test files tab at the bottom left. See Test files.

Moving around​

InputDoes
ScrollMoves the page. Shift + scroll moves sideways.
Ctrl + scroll, or pinchZooms around the pointer.
Drag the page (Select tool), middle-drag or Space + dragPans.
+ / - / 0Zoom in, zoom out, reset the view.

See also Keyboard shortcuts.

Tools​

ToolKeyWhat it does
SelectVSelect an area, then move it or drag its corners to resize it. Hover the text of the selected field for options.
Field validationFThe guided field validation: click a box or drag over a field. See Field validation.
Image validationICapture a logo or stamp. See Validators › Image.
Add extractEAdd a single Extract. Drag to draw an area, or click a box. A box with a printed label starts a field validation; another box becomes an Extract without a name.

On a data frame, two more tools appear: Frame area (R) and Anchor (A). See Data frames.

Escape returns to Select. In Select, it clears the selection.

Partial lines​

When you click a box, NodePDF finds the box from the lines around the pointer. Some title blocks have dividing lines that stop short of the box's edge. Switch on Partial lines (shown with the box tools) to let such lines split boxes too. The choice is remembered in this browser.

The side panel​

The side panel lists the document type's items, under Items (N), with Field validation and Image validation buttons at the top.

The canvas editor with the CLIENT field selected: its area is highlighted on the drawing and in the side panel

For each field validation it shows the title, the chain of blocks and the value it reads on the template. Validators without an Extract, such as a Page format or Image validator, show their result. For each entry:

  • click it to select its area on the page;
  • the pencil (for example Edit CLIENT) opens its guided steps, or the editor of a single item;
  • the bin (for example Delete CLIENT) deletes it.

Hide items panel in the top bar gives the page more room.

Removing text pieces from the drawing​

The text in a PDF is stored in pieces, often one per word or line. When a field reads more than you want, for example a printed label or a unit, take that piece out of the value by clicking it:

  1. With Select, click the field to select it. Its text pieces are highlighted.
  2. Hover the piece you don't want, and choose Remove from value. It is struck through, and the value no longer contains it.
  3. To undo, hover it again and choose Put back.

You can also click the small − and + marks next to each piece.

Removed pieces are stored as a Remove text Modifier right after the Extract. NodePDF adds that Modifier when there is none, and removes it when it becomes empty. Use as title, in the same menu, makes the piece the field's title.

Pages​

For a template with more than one page, the top bar shows Page 1 of N with arrows to switch pages. An area belongs to the page it is drawn on: it reads that page on every checked PDF. The side panel marks items on another page with their page number.

Viewing a test file​

When the document type has test files, the bar next to the Test files tab (Showing values from) switches the PDF shown. The areas stay where they are, and the labels, side panel and guided steps show that file's values. Use this to check that an area also reads correctly on other drawings. See Test files.

In the example project

Open Doctypes › Text document › Open canvas editor. The template has two pages; the four fields are on page 1. Select CLIENT and hover its text to see Remove from value and Put back.