Template customization service
Available document types
CuViBox can merge employee and CV data into open documents using a tag system. Open Documents includes the following formats:
- Opendocument Text (with LibreOffice Writer)
- Opendocument Sheet (with LibreOffice Calc)
- Opendocument Presentation (with LibreOffice Impress)
How can I create my own template from scratch
You can create a new template from a blank document or from an already formatted CV where you want to put the CV data. You can use your favourite office suite to generate the template.
We use a tag system with "dot notation", so you only need to know the structure (view our template cheat sheet). For example:
- Employee name: [r.employee.name]
- Professional category: [r.employee.professional_category.name]
- Employee base office: [r.employee.office.name]
You can format this tags with any format you like using your editor, font, alignment, ... whatever your editor let's you use, as the tag will be replaced as it is when the CVs are exported.
Simply put this line at the top of the document:
With that line, we are telling the template this things:
- We have a block named "r" (record), that will correspond to each CV. Remember you can export several CVs in the same document.
- We want to show each block instance (a CV) in a new page (block=tbs:page).
- Our record has five subgroups, from sub1 to sub5, corresponding to courses, experiences, knowledges, cv_languages and additional_informations. We will use this later to create the repetition groups.
Showing data from repetition groups
[r_sub1.name;block=tbs:p]: [r_sub1.description] - [r_sub1.hours] hours.
...will show a block with courses information (r_sub1), with a new parragraph for each record (block=tbs:p), and with the name (bold), description and hours of the course.
There are several repetition groups you can use, linked to every tag group (r, r_sub1, r_sub2,...):
|tbs:section||A section of text.||yes||no||no||yes (*)||no||no|
|tbs:table||A table inserted in the document.||yes||a sheet||yes||yes||no||yes|
|tbs:row||A row of a table.||yes||yes||yes||yes||yes||yes|
|tbs:cell||A cell of a table.||yes||yes||yes||no||yes||yes|
|tbs:page||A page defined by an explicit page break before a paragraph.(*)||yes||no||no||yes (*)||no||no|
|tbs:sheet||A worksheet.||a table||yes||no||no||no||no|
|tbs:draw||A single draw, or set of draws (Ms Word)||yes||yes||yes||yes||yes||yes|
|tbs:drawgroup||A group of draws.||yes||yes||yes||yes||yes||yes|
|tbs:drawitem||A single draw item among a set of items.||yes||yes||yes||yes||yes||yes|
|tbs:listitem||An item of a bullet list.||yes||no||yes||yes||no||yes|
Formatting dates and numbers
You can format date fields this way:
Hire date: [r.employee.hire_date;frm=mm/dd/yyyy]
Or number fields:
- Employee cost: [r.employee.cost;frm='$ 0,000.00']
You can get more information from the official OpenTBS plugin documentation.
Attached to this page you can find an example template in MS-Word, that you can use as a beginning for your own templates.