Content Exporter
📈 Marketplace❓ Support❤️ Feedback🏠 META-INF Apps
  • General Product Information
    • 🤓Overview
    • 🏗️Installing Content Exporter
      • Installation Notes
      • Cloud Platform security
  • User Guides
    • 👷‍♂️Before exporting
      • General settings
      • Remote API (Cloud only)
      • Export profiles
        • General formatting
        • Custom Stylesheets (CSS)
        • Cover pages
        • Page size and the margins
        • Headers & Footers
        • Table of Contents
          • Generating a Table of Contents
          • Formatting Table of Contents
          • Examples for customized Table of Contents
      • Custom stylesheets
        • Stylesheet administration
        • Exporting specific CSS classes
        • Custom Stylesheet Examples
        • Adding a watermark
      • Macros
      • PDF Custom fonts
      • Embedded links with page number
    • 👨‍🏫During export
      • Exporting Confluence pages
      • Customizing the profile
  • Additional Information
    • ▶️Release notes
    • ❓Frequently Asked Questions
    • 3️⃣Supported 3rd party apps
  • Dependency license guide
Powered by GitBook
On this page
  • Custom field macros
  • Page bottom macro
  • Page break macro

Was this helpful?

  1. User Guides
  2. Before exporting

Macros

PreviousAdding a watermarkNextPDF Custom fonts

Last updated 11 months ago

Was this helpful?

By using different kind of macros, the content and the outlook of the exported document can be enhanced.

Custom field macros

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.

Page bottom macro

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.

Note: It is currently supported for cover pages and for PDF format.

Page break macro

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:

👷‍♂️
Page cover image
Formatting dates