Skip to content

Tag Definition: highlightAnnotation

Generated by rlextra version 4.3.0a1

Attributes

Name

Required?

Default_Value

Values

addToPage

implied

None

['yes', 'no', '0', '1']

color

implied

None

name

implied

None

quadpoints

implied

None

rect

implied

None

relative

implied

None

['yes', 'no', '0', '1']

Can contain
(#PCDATA | param)*

Purpose

This lets you declare a highlighted annotation you can click on to display some chosen text. The highlight does not need to occupy the same space as some text.

Example usage

<template>
    <pageTemplate id="Page" pageSize="(595, 842)">
        <pageGraphics>
            <highlightAnnotation color="red" name="annotation 1" addToPage="1" rect="100,300, 300,350">
                Test
            </highlightAnnotation>
        </pageGraphics>
        <frame id="Frame 1" x1="30" y1="30" width="535" height="782" showBoundary="1"/>
    </pageTemplate>
</template>
...
<story>
    <placePara width="200" x="100" y="300">Test Text</placePara>
</story>

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> ➔ <pageTemplate> ➔ <pageGraphics> ➔ <highlightAnnotation>