Vehicle inspection report
Generate a stunning report including images with Carbone
- Template type document docx simple
- Carbone min. v4.0.0+
- Features loop
- Target gallery inspection report check-in check-out checkbox custom
Objectives
Generate a vehicle inspection report with images, featuring:
- Objects stored in an array
- Vertical loop
- Checkboxes
Solution
Here’s how to construct a template for this with Carbone:
Structure the template with a main table ensure the best layout
- Insert a Table, with as many colums as needed to display the data (e.g., 2). Only one row is required, as the entire table will be repeated
- In the Table Design menu, select No border for better integration
Insert a placeholder
In the first cell, insert a temporary picture. This picture will be considered by Carbone to display the images.
Note: to display the pictures in a specific format (e.g., rounded rectangle), insert a Shape . Then, go to Format Shape submenu, under Shape Option > Fill&Line tab > Fill section. Select Picture or texture fill, click the Insert button in the Picture source section and choose a temporary image
Right-click on the picture, go to the View Alt Text menu and specify the path of the image to display with a Carbone tag
Example :
{d.image[i].pic}
Insert data and checkboxes
- Insert appropriate Carbone tags to read data in the second column
Example:
{d.image[i].location}
- Use :ifEM and :ifEQ formatters to test and display checkboxes using :show and :elseShow formatters
Define the Repetition
- Define the iteration using
[i+1]
after the table to loop through the entire table
Example:
{d.image[i+1]}
- Define the iteration using
And there you go!
You might also like
Trusted by 600+ paid customers in 40+ countries














