About Arbortext Styler > Arbortext Styler Dialog Boxes > Table of Contents Condition Dialog Box
  
Table of Contents Condition Dialog Box
The Table of Contents Condition dialog box displays when you click the Edit button for the Condition each title must match field in the Customize Table of Contents dialog box, when creating custom content settings for a table of contents format object. The dialog box is used to create conditions that must be matched by each title context defined to be included in any table of contents (TOC) generated from the object. If a title context matches the condition’s tests, it will be included in the TOC.
The Table of Contents Condition dialog box contains the following options:
Condition is true if - Allows you to set the level to which conditions should be matched:
All tests are true - all of the tests created for the condition must be matched if the condition is to match
Any test is true - if any number of the tests created for the condition can be matched, the condition will match. At least one of the tests must match.
When the condition is matched for a title context, that context will be included in the TOC.
Tests - Lists the tests configured for the condition. This field is empty when no tests have been configured yet. A condition must have at least one test.
New Attribute Test - Opens the Attribute Test dialog box, in which you can create a new test for an attribute value.
New Content Test - Opens the Content Test dialog box, in which you can create a test for element content.
New XPath Test - Opens the XPath Test dialog box, in which you can create a test for an object defined by an XPath expression.
New Chunk Test - Opens the Start of HTML Chunk Test dialog box, in which you can create a new start of HTML chunk test.
Edit - Opens the relevant dialog box for the test selected in the Tests list, in which you can modify the selected test.
Delete - Deletes the test selected in the Tests list.
* 
You are not prompted before the test is deleted.