Você está na página 1de 4

1

Conditional text settings for structured


documents
This document explains how FrameMaker 9.0.3 processes different conditions set on parent and child elements in a
structured document as compared to FrameMaker 9.0.

FrameMaker 9.0 behavior


You can tag an element in a structured Adobe FrameMaker document with multiple conditional tags. At the time
of processing, FrameMaker resolves the conditions on each element irrespective of its place in the hierarchical
structure. For example, if a parent element is tagged with a condition set to hide and the child elements are tagged
with a different condition set to show, the condition settings on the child elements will override the condition set on
the parent element. Therefore, even if you wanted to hide the parent element along with all its child elements, the
individual condition settings on the child elements could cause the child elements to be displayed in the document.
In the following example, the parent <body> element has three <p> elements each tagged with a different condition
setting.

Element name Conditions set on the elements

<body> Parent

<p> ChildTag

<p> No condition applied to it.

<p> ChildTag2
ADOBE FRAMEMAKER 9 2

If you hide the elements tagged with the condition Parent, the first and third <p> elements are displayed in the
document. This is because these elements are tagged with conditions that are set to show in the Show/Hide Condi-
tional Text panel. The second <p> element is hidden because it does not have a condition setting that conflicts with
the conditional setting on the parent.

Hiding the parent element does not hide the child elements tagged with a different condition setting.

FrameMaker 9.0.3 behavior


In FrameMaker 9.0.3 patch release, you have the option to hide the child elements when you hide the parent element
even when the child elements have different conditions set on them. To enable this option, set the following flag to
on in the maker.ini file:

EnableHideChildWithParent=on

By default this flag is set to off. You must restart FrameMaker after you reset this flag.
Consider the same example of a parent <body> element with three <p> elements each tagged with a different
condition setting.

Element name Conditions set on the elements

<body> Parent

<p> ChildTag

<p> No condition applied to it.

<p> ChildTag2
ADOBE FRAMEMAKER 9 3

The following image shows all the conditions on all the elements set to show.

Condition settings on parent <body> element and child <p> elements.


ADOBE FRAMEMAKER 9 4

Now if you set the condition on the parent <body> element to hide, all the three <p> elements are also hidden. This
works even when the conditions, ChildTag set on the first <p> element and ChildTag2 set on the third <p> element,
are in the show mode. In this case, the condition setting on the parent element overrides the condition settings on
the child elements.

Hiding the parent element also hides the child elements even when the child elements are tagged with a different condition setting.

This works for both Show As Per Condition as well as Show As Per Expression options.

2009 Adobe Systems Incorporated. All rights reserved.


Conditional text settings for structured documents
This document is licensed for use under the terms of the Creative Commons Attribution Non-Commercial 3.0 License. This License allows users to copy,
distribute, and transmit the guide for noncommercial purposes only so long as (1) proper attribution to Adobe is given as the owner of the guide; and (2) any
reuse or distribution of the guide contains a notice that use of the guide is governed by these terms. The best way to provide notice is to include the following
link. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/3.0/us/
Adobe, the Adobe logo, and FrameMaker are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other
countries. All other trademarks are the property of their respective owners.
Adobe Systems Incorporated, 345 Park Avenue, San Jose, California 95110, USA.

Você também pode gostar