Toolbox
How the toolbox is organized and the three ways to insert a component. Left panel in the DocStudio designer interface.
The toolbox is the list of components you can insert. It is the top part of the left panel. The Toolbox itself and its three categories are accordions that can be collapsed.
Categories

| Category | Components |
|---|---|
| Content | Barcode, Divider, Image, Pg number, QR code, Shape, Text |
| Layout | Fixed region, Grid, Row, Section, Stack |
| Data | Repeater, Table |
Every component is described in Toolbox component reference.
Three ways to insert
- Click a tool. The component is inserted and selected. Where it goes depends on the current selection, see below.
- Drag a tool onto the canvas. A ghost of the tool follows the pointer and a blue line shows the insertion point. Release inside the page to insert. Dropping outside the page shows the hint "Drop inside the page" and inserts nothing.
- Drag a tool onto a layer or a region label. Dropping on a container layer inserts inside it. Dropping on Header, Body or Footer inserts into that region.
You can also focus a tool with Tab and press Enter or Space.
Where a clicked tool goes
| Current state | The new component is inserted |
|---|---|
| Nothing selected | At the end of the body |
| A container is selected (stack, row, grid, section, fixed region, repeater) | Inside that container, at the end |
| A non-container element is selected | Right after the selected element in its parent |
| A region label (Header, Body, Footer) was clicked in Layers | At the end of that region. Selecting any element clears the choice |
Inside a fixed region a new element gets a default frame at 10 mm from the left and top, 50 mm wide and 12 mm high. When you drop it, the frame starts where you released.
After insertion
The new element is selected, the inspector shows its settings, the layer is highlighted and the action is announced to screen readers. The insertion is one undo step. A new element gets a unique id such as text-1.
If the template would become invalid (for example when a limit is reached) the insertion is refused and the reason is announced. The document does not change.
Read-only mode
When the host opens the designer read only, every tool is disabled.