Sequential Number

<< Click to Display Table of Contents >>

Navigation:  Appendix > Macros >

Sequential Number


 

editor.icon Sequential Number

 


 

The Sequential Number macro inserts the sequential number of bookmarks, which is the sequential value of each bookmark in the context of the entire bookmarks tree.

 

The syntax for this macro is %[SeqNum]

 

Example

 

Follow the steps below to use the Sequential Number macro to insert the sequential number of bookmarks 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 %[SeqNum] in the Add Suffix text box:

 

sequential.number.macro.example

Figure 1. %[SeqNum] Macro Example

 

4. Click OK. The sequential number of each bookmark will then be added as a suffix to all bookmark titles:

 

sequential.number.macro.output

Figure 2. %[SeqNum] Macro Example Output