docMaker User guide
  • đź‘‹Welcome to docMaker
  • Features
    • Create pdf from docx template
      • 🏗️Build your docx template
        • Overview
        • Text substitution
        • Images
        • Conditions
        • Loops
          • Simple list
          • List with multiple values
          • Adding rows into a table
          • Loops in columns + lines (grids)
          • Nested loops
        • QR codes
        • Rich text & html
      • ⚙️docx_fill_convert API parameters
    • Fill-out pdf forms
      • đź”§Build your pdf form
      • ⚙️pdf_fill API parameters
    • Print web page to pdf
      • ⚙️page_pdf API parameters
  • INTEGRATIONS
    • Typeform
      • Create pdf or docx for each Typeform response
    • Bubble.io
      • 📝Easy pdf from docx template
      • đź“‹Fill-out pdf forms
      • 🖥️Webpage to pdf
    • Make.com
    • Coda
    • Xano
    • Zapier
    • API
  • FAQ
    • đź«§Bubble.io questions
    • đź“„Questions on docx templates
    • đź“™Questions on pdf templates
Powered by GitBook
On this page
  • How does it work?
  • How to read this documentation
  1. Features
  2. Create pdf from docx template
  3. Build your docx template

Overview

How does it work?

docMaker finds all tags {} in your document (docx) and replaces these tags by data. According to the syntax of your tags, you can make a lot of operations including

  • Replacing a field

  • Formatting data

  • Repeating a document portion (a table row or anything else)

  • Looping on unlimited nested arrays

  • Conditionally displaying a data based on a test expression

The syntax is easy to learn. It is like using a JSON Array or Object in Javascript.

Combined with features of LibreOffice™ or MS Office™, you can easily create documents with:

  • Graphics

  • Headers, footers

  • Automatically repeated table header across pages

  • Insert computed field

  • Page count

  • ...

How to read this documentation

If you are using our Zapier or Typeform integrations, you do not have to care about the JSON data information in the following documentation. Indeed, it will be handled behind the scenes by Zapier or Typeform.

You just have to create the docx template, and then map the dynamic data with the template, either in Zapier or in docMaker dashboard for Typeform.

Each part of this documentation shows exactly what happens if you send Data (JSON Object) and a Template (handmade docx, odt, ...) to docMaker.

The first thing to do is to open your document editor (Libreoffice, Microsoft Word, Google docs etc.). Once you have done it, you will be able to start building your template.

PreviousBuild your docx templateNextText substitution

Last updated 1 year ago

Please note that you may also start with one of our pre-built templates (see the section in your docMaker dahsboard), and adjust it using the below guidelines.

Once you have built it, we recommend that you test your template in the section of your docMaker dashboar, to make sure that it is valid. This will also get you all the tags from your template in a JSON format which you may use to easily build your API call.

🏗️
"Templates"
“Template check”