Skip to content

Tag Definition: bookmarkPage

Generated by rlextra version 3.6.13

Attributes

Name

Required?

Default_Value

Values

bottom

implied

None

fit

implied

None

['XYZ', 'Fit', 'FitH', 'FitV', 'FitR']

left

implied

None

name

required

None

right

implied

None

top

implied

None

zoom

implied

None

Can contain
EMPTY

Purpose

This lets you link a page so you can then jump to it from a different location.

Check out our opensource docs description.

Example usage

<story>
    <blockTable>
        <tr><td colspan="2" fontSize="17" leading="9.4" bottomPadding="30">Table of Contents</td><td/></tr>
        <tr><td>Chapter</td><td>Page</td></tr>
        <tr>
            <td destination="bm_page_2">First Page</td>
            <td destination="bm_page_2"><para><i><getName id="page_2" default="1"/></i></para></td>
        </tr>
        <tr>
            <td destination="bm_page_3">Second Page</td>
            <td destination="bm_page_3"><para><i><getName id="page_3" default="1"/></i></para></td>
        </tr>
    </blockTable>
    <nextPage/>
    <namedString id="page_2"><pageNumber/></namedString>
    <bookmarkPage name="bm_page_2"/>
    <nextPage/>
    <namedString id="page_3"><pageNumber/></namedString>
    <bookmarkPage name="bm_page_3"/>
</story>

Note: Only relevant sections are used in this snippet. Some tags were not included. See our samples and look at our longdocument example which uses bookmarkPage.

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

<document> ➔ <template> ➔ <story> ➔ <bookmarkPage>