Skip to content

Tag Definition: template

Generated by rlextra version 3.6.13

Attributes

Name

Required?

Default_Value

Values

allowSplitting

implied

None

artBox

implied

None

author

none

(unauthored)

bleedBox

implied

None

bottomMargin

implied

None

centerWindow

none

none

['yes', 'no', '0', '1', 'true', 'false', 'none']

creator

none

(unspecified)

cropBox

implied

None

direction

implied

None

['L2R', 'R2L']

displayDocTitle

none

none

['yes', 'no', '0', '1', 'true', 'false', 'none']

duplex

implied

None

['Simplex', 'DuplexFlipShortEdge', 'DuplexFlipLongEdge']

firstPageTemplate

implied

None

fitWindow

none

none

['yes', 'no', '0', '1', 'true', 'false', 'none']

hideMenubar

none

none

['yes', 'no', '0', '1', 'true', 'false', 'none']

hideToolbar

none

none

['yes', 'no', '0', '1', 'true', 'false', 'none']

hideWindowUI

none

none

['yes', 'no', '0', '1', 'true', 'false', 'none']

keywords

implied

None

lang

implied

None

leftMargin

implied

None

nonFullScreenPageMode

implied

None

['UseNone', 'UseOutlines', 'UseThumbs', 'UseOC']

pageSize

implied

None

printArea

implied

None

['MediaBox', 'CropBox', 'BleedBox', 'TrimBox', 'ArtBox']

printClip

implied

None

['MediaBox', 'CropBox', 'BleedBox', 'TrimBox', 'ArtBox']

printScaling

implied

None

['None', 'AppDefault']

producer

implied

None

rightMargin

implied

None

rotation

implied

None

showBoundary

implied

None

subject

none

(unspecified)

title

none

(untitled)

topMargin

implied

None

trimBox

implied

None

viewArea

implied

None

['MediaBox', 'CropBox', 'BleedBox', 'TrimBox', 'ArtBox']

viewClip

implied

None

['MediaBox', 'CropBox', 'BleedBox', 'TrimBox', 'ArtBox']

Can contain
(pageTemplate*)

Purpose

This declares what should be on the page: headers, footers, any graphic elements you use as a background, etc.

Check out our docs page here and here on this.

Example usage

<template>
    <pageTemplate id="Page 1" pageSize="(595, 842)">
        <pageGraphics></pageGraphics>
        <frame id="Frame 1" x1="30" y1="30" width="535" height="782"/>
    </pageTemplate>
</template>

Note: Only relevant sections are used in this snippet. Some tags were not included. See some of our samples for further insight of how you may go about setting up a full document using rml.

Example of nesting path from the parent tags to the current tag

<document> ➔ <template>