Adobe 65030365 - FrameMaker - PC Developer's Manual page 116

Structure application developer's guide
Hide thumbs Also See for 65030365 - FrameMaker - PC:
Table of Contents

Advertisement

8
W r i t i n g e l e m e n t d e f i n i t i o n s
Therefore, the children of either the Rubi Group or the Rubi elements should be text range
elements; FrameMaker will not insert a line break or a paragraph break within a Rubi Group.
An element definition for a Rubi group specifies a unique element tag and an element type
for both the Rubi group and the Rubi text, and they can also have any of these items:
A comment that describes the element
Content rules that describe valid contents for the element or its descendants (the general
rule part of this is required). A Rubi Group element cannot be valid at the highest level.
For a Rubi group, an initial structure pattern that specifies the element tag assigned to
the child Rubi element
Attribute definitions that specify attributes to store descriptive information with the
element
Text format rules that determine how to format text in the element or its descendants
Examples
These are definitions for a Rubi group, a Rubi element, and a container for Oyamoji text:
Element (Rubi Group): MyRubiGroup
General rule: Oyamoji, MyRubi
Inclusion: Index
Attribute list
Element (Rubi): MyRubi
General rule: (<TEXT> | Emphasis | Footnote)*
Element (Container): Oyamoji
General rule: (<TEXT> | Emphasis | Footnote)*
Basic steps
The steps for creating a Rubi Group element and a Rubi element are very much the same
as the steps for defining a container, table, table part, or footnote element. Use the Element
Catalog as a guide for inserting elements in a valid order. Refer to the chapters that follow
for detailed descriptions of the syntax and more examples.
Note that you cannot insert an AutoInsertions element to specify auto insertions for a
Rubi group, but you can insert an InitialStructurePattern element, and then type
the tag of the child Rubi element. For more information, see "Inserting Rubi elements
automatically in Rubi groups" on page 123.
Developing an Element Definition Document (EDD)
1. Name: Script
Choices: Kanji, Romaji
Choice
Optional
Element tag
Content rules
Attribute
definitions
Element type
98

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 7.1

Table of Contents