Macros
Last updated
Was this helpful?
Last updated
Was this helpful?
By using different kind of macros, the content and the outlook of the exported document can be enhanced.
The custom field macro can be used to put document and/or export specific metadata into the document (also into the cover page).
This metadata can be the following:
Document title
Document version
Page number
Total page number
Document created
Document last modified
Creator full name
Creator user name
Last modifier full name
Last modifier user name
Export date
Date fields can be formatted using format strings as described in . The format string can be put into the format input box.
With the page bottom macro a user can place a block of text to the bottom on cover pages (For example information about the author, the publisher, and so on).
To add a Page Bottom Macro, do the following:
1. In the Confluence editor, choose Insert -> Other Macros.
2. In the Select Macro page, find and select the Page Bottom macro:
3. Enter a text:
Use the .page-bottom
CSS class to format the macro.
The content will be put at the end of the page.
With the page break macro, a page break can be inserted at any place in the document.
To add a Page Break Macro, do the following:
1. In the Confluence editor, choose Insert -> Other Macros.
2. In the Select macro page, find and select the Page break macro:
3. Add the Page break macro to start a new page in the export: