×

You're using an outdated browser

For a better experience, keep your browser up to date. Check here for the latest version.

Manual

Change the page orientation

Nils Bier

Nils Bier Last update: Apr 20, 2018

You can change the page orientation in exports using the following macros: 

  • The Scroll Landscape macro enforces a landscape page orientation in exports. 
  • The Scroll Portrait macro enforces a portrait page orientation in exports. 

When using these macros with our compatible exporter apps, the export behaviour will differ: 

Scroll AppExport behaviour
Scroll PDF ExporterThe specific page layout will be applied to all content which immediately follows this macro. The page orientation will be reset to the setting defined in the template at the end of a Confluence page. 
Scroll OfficeThe specific page layout will be applied to all content which immediately follows this macro. The page orientation will remain set for the last used macro. This means that additional pages included in the export (e.g. child pages) will be exported using the same page orientation. The page orientation can be switched back by using the opposite macro.


Note

Scroll Landscape and Scroll Portrait macros should not be placed within any other macros or elements (e.g. tables, or page layouts) on a page. If this is performed:

  • Scroll PDF Exporter will try to move the macros but is unable to do so in all cases and the following error message will be printed in the export:  "Error: Incorrectly positioned Scroll Portrait/Landscape macro. See the documentation for more information."
  • Scroll Office will produce an 'Export failed' error message with an associated error.zip link to download.

To prevent these error messages, the Scroll Landscape and Scroll Portrait macros should not be wrapped within any other macro or element.

2xlatest
We use cookies to create a secure and effective browsing experience for our website visitors and to understand how you use our site (i.e. Google Analytics). For more information: click here.
Ok