Page First Text Line

<< Click to Display Table of Contents >>

Navigation:  Appendix > Macros >

Page First Text Line


editor.icon Page First Text Line



The Page First Text Line macro inserts the first line of page text as the title for generated bookmarks.


The syntax for this macro is %[FirstLine]




Follow the steps below to use the Page First Text Line macro to insert the first line of page text as the bookmark title when using the Bookmark Every Nth Page feature:


1. Open a document in PDF-XChange Editor.


2. Click the Bookmarks tab, then click Bookmark Every Nth Page. The Bookmark Every Nth Page dialog box will open.


3. Enter %[FirstLine] in the Bookmark Title Template text box:



Figure 1. %[First Line] Macro Example


4. Click OK. The first line of text on each page will then be added as the bookmark title:



Figure 2. %[First Line] Macro Output Example