HelpCruiser ®

HelpCruiser
Title
Contents
Working with a project
Creating documentation
Importing a project
Insertion
Editing object properties
Templates
   Template language
     Loops
     Conditions
     Macros
     Comments
Printing
Keywords
Links
Styles
Project properties
Program settings
How to register
Our software

Conditions


Syntax:

<if name="condition name"><else name=" condition name "/></if name=" condition name ">


Conditions let HelpCruiser put one of two parts of a template to an output document. Blocks enclosed in the <if> tag are not limited to a plain text and can contain other control tags.


Condition

Description

SectionIndexIs {eq="number"|lt="number"|gt="number"}

Evaluates the project contents column number. True  if the current column index is equal, lower than or greater than the specified number.

0 - chapter title column

1 - chapter ID column

ItemAbsIndexIs {eq="number"|lt="number"|gt="number"}

Evaluates the project chapter order number. True if the current chapter number is equal, lower than or greater than the specified number
0 - chapter title column

1 - chapter ID column

ItemLevelIs {eq="number"|lt="number"|gt="number"}

Evaluates the project chapter nested level. True  if the current chapter level is equal, lower than or greater than the specified number
0 - chapter title column

1 - chapter ID column



Prev Next

Copyright © 2005, SunRav Software

http://www.helpcruiser.com