PDF Step pdfToBookmarksFilter
Description
Extracts all bookmarks from within the current PDF document.
Parameters
- description
- Required? no
- The description of this test step.
Details
Here is an example of using pdfToBookmarksFilter:
pdfToBookmarksFilter example
<steps>
<invoke url="testDocBookmarks.pdf"/>
<compareToExpected saveFiltered="true" readFiltered="false" toFile="${expectedFile}">
<pdfToBookmarksFilter description="extract PDF bookmarks"/>
<lineSeparatorFilter description="normalise line separators"/>
</compareToExpected>
</steps>
<invoke url="testDocBookmarks.pdf"/>
<compareToExpected saveFiltered="true" readFiltered="false" toFile="${expectedFile}">
<pdfToBookmarksFilter description="extract PDF bookmarks"/>
<lineSeparatorFilter description="normalise line separators"/>
</compareToExpected>
</steps>
As a result of invoking the above steps a file would be created containing something like the following:
pdfToBookmarksFilter output
Heading One
Subheading
Heading Two
Subheading
Heading Two