You are here: Conditional Text and Attributes > Applying Conditional Text to a Topic

Applying Conditional Text to a Topic

Doc-To-Help also gives you the option of applying conditions to entire topics in both Word and HTML source documents.

Using D2HML

1.   Click anywhere within the topic (or on the page, if using a single topic document) to be converted into conditional text and click the Topic Properties button  on the D2HML Styles toolbar.

2.   Click the Condition tab and then click the Add button . The Condition dialog box appears.

3.   In the left hand Criteria toolbar of the Condition dialog box, choose the Platforms, Help Targets or Attributes icon as desired.

4.   From the list in the dialog box, select the item in which you want to include the topic.

5.   Click OK to close the Condition window and click OK again to close the Topic Properties dialog box.

Using the Project Editor

1.   Open your Doc-To-Help project.

2.   On the Icon bar, click Topics.

3.   Select the All Topics item from the left pane.

4.   In the right pane, choose the topic to which you would like to apply a condition.

5.   Click the ellipsis button next to the Condition property in the Property Pane. The Condition dialog box appears.

6.   In the left hand Criteria toolbar of the Condition dialog box, choose the Platforms, Help Targets or Attributes icon as desired.

7.   From the list in the dialog box, select the item in which you want to include the highlighted text or image.

8.   Click OK to apply conditional text to the topic.