Index in Parent

<< Click to Display Table of Contents >>

Navigation:  Appendix > Macros >

Index in Parent


 

editor.icon Index in Parent

 


 

The Index in Parent macro inserts the index of bookmarks in relation to their parent bookmark.

 

The syntax for this macro is %[IndexInPar]

 

Example

 

Follow the steps below to use the Index in Parent macro to insert the index of bookmarks in relation to their parent bookmark when adding text to bookmark titles:

 

1. Open a document that contains bookmarks in PDF-XChange Editor.

 

2. Click the Bookmarks tab, then click Add Text to Bookmark Titles. The Add Text to Bookmark Titles dialog box will open.

 

3. Enter %[IndexInPar] in the Add Suffix text box:

 

index.parent.macro.example

Figure 1. %[IndexInPar] Macro Example

 

4. Click OK. The index of bookmarks in relation to their parent bookmark will then be added as a suffix to all bookmark titles:

 

index.parent.macro.output

Figure 2. %[IndexInPar] Macro Output Example