BrandwrightWord template export for Confluence

Documentation

Getting started, features and limits of Brandwright.

On this page
  1. What you need
  2. Your first export in four steps
  3. Make your own template
  4. Tags
  5. The template library
  6. Page trees
  7. What is carried over
  8. About the PDF
  9. Files and attachments
  10. Limits
  11. Permissions and data
  12. Need help?

What you need

  • Confluence Cloud.
  • Brandwright installed on your site. Installing an app needs a Confluence site administrator.
  • Word, or any editor that saves .docx files, to make your own templates.

Brandwright works with the permissions of the person who exports. The first time an app is used, Atlassian shows a consent screen. Approve it once.

Your first export in four steps

  1. Open a page, open the ••• menu and choose Export with Word template….
  2. Under Template, pick a template. The three starter templates are there from the start.
  3. Under What to export, choose This page or This page and its child pages. Under Format, tick Word (.docx), PDF or both. Tick Also attach the file to the page if the files should be kept with the page.
  4. Select Export. When the export is finished, select Download for each file.

The export runs in the background. You can close the dialog and open Export with Word template… on the same page again to follow it. The dialog remembers your last choices in your browser.

Make your own template

  1. In Word, design the document as you always do: logo, header and footer, cover page, styles.
  2. Where facts of the page should go, type tags such as {title} and {lastModified}. Where the content of the page should go, type {@body} in a paragraph of its own.
  3. Save the file as a .docx file.
  4. As a Confluence administrator, open Settings and choose Brandwright templates in the left menu. Under Add a template, choose the Word file, give it a Name and an optional Description, and select Upload.

The template is checked when it is uploaded. A broken tag, such as a section that is opened and never closed, stops the upload and the reason is shown. A tag that the app does not know is accepted with a note and prints nothing.

Tags

TagPrints
{title}The title of the page
{author}The person who created the page
{lastModified}The date of the last change
{space}The name of the space
{url}The address of the page
{version}The version number of the page
{exportDate}The date of the export
{@body}The content of the page. It must be alone in its paragraph
{#pages} ... {/pages}Repeats what is between the tags for every page of a tree
  • Write the tags as plain text. They are found even when Word has split them into pieces.
  • The text tags also work in headers and footers. {@body} and {#pages} work in the body of the document.
  • Outside {#pages}, {@body} holds the whole export: the chosen page, followed by every child page with its title as a heading of its level.
  • Inside {#pages}, {title}, {author} and the other tags describe the page of that round, and {@body} is the content of that page. It works for paragraphs and for table rows.
  • Headings of the page use the Heading 1 to Heading 6 styles of your template.
  • A table of contents field in the template is filled with the headings of the export.
  • Dates follow the language and time zone of the person who exports.

The template library

As a Confluence administrator, open Settings and choose Brandwright templates in the left menu.

  • Templates lists the starter templates and your own. Badges show the Default, the Starter templates, templates with a table of contents (Contents) and templates for page trees (Tree).
  • Tags shows which tags a template uses and where: in the body, a header or a footer.
  • Make default preselects a template in the export dialog.
  • Download gives you the Word file.
  • Copy to my templates copies a starter template into your library.
  • Delete removes one of your own templates.

To change a template, download it, change it in Word and upload it again. Template names are unique, so give the new file another name or delete the old template first. A site can have up to 50 templates.

The three starter templates are Clean document (the page with a header and page numbers), Report with cover page (a cover page, a table of contents and the content) and Handbook for a page tree (a cover page, a table of contents and one chapter for every page of a tree).

Page trees

Choose This page and its child pages to export a page and everything below it, in the order of the page tree, up to 100 pages. A tree that is too large is refused with a message that says what to do.

The export runs as you, so pages you may not see are not exported, and the dialog lists the pages it could not read. Each person can have up to three exports running at a time.

What is carried over

Headings, paragraphs, bold, italic, underline, links, bullet and numbered lists, tables with merged cells and header rows, code blocks, info, note, warning, success and error panels, quotes, task lists, expand sections, status lozenges, dates, mentions, emoji, and PNG and JPEG pictures that are attachments of the page.

  • Links are written as their text followed by the address.
  • Macros, for example the contents macro, Jira issue lists and diagrams, are not exported. The dialog lists the macros that were left out under the notes about the content.
  • Pictures are PNG and JPEG attachments of the page, up to 60 per document and 5 MB each. Other pictures become a one-line note.

About the PDF

The PDF is made from the finished Word file, inside Atlassian, with no outside conversion service. It is a clean rendition, not a pixel-perfect copy.

  • Text boxes, shapes, footnotes and columns of a template are left out of the PDF. The Word file keeps them.
  • The table of contents in the PDF lists the headings without page numbers. In the Word file, Word asks once whether to update the fields when the file is opened; answer Yes to get the page numbers.
  • The font is Roboto, embedded in the PDF. Code uses Courier.

Files and attachments

  • Download the files from the dialog when the export is finished. The app keeps them for 3 days and then deletes them.
  • Also attach the file to the page attaches the files to the exported page, if you may add attachments there. A file with the same name as an existing attachment becomes a new version of it.
  • An exported file can be up to 16 MB.

Limits

  • Pages only. Blog posts are not exported.
  • A tree is up to 100 pages.
  • A template can be up to 10 MB. Macro-enabled files, old .doc files and password-protected files are refused.
  • An export can run for about 13 minutes. Export a smaller part of a tree, or leave out the PDF, if it takes longer.
  • Support for your own templates is limited to explaining how the tags work.
  • Microsoft Word is a trademark of the Microsoft group of companies. Brandwright does not use Microsoft software and is not affiliated with Microsoft.

Permissions and data

Brandwright reads pages as the person who exports, and its only write is attaching files to a page when you ask for it. Templates, export records (14 days) and exported files (3 days) are kept in Forge storage on your site. See Security and the Privacy Policy.

Need help?

See the support page for how to reach us, what to include and answers to common questions.