The Compare selected pages option limits the i-net PDFC comparison to selected pages from exactly two documents. The profile sidebar provides the fixed entries Document 1 and Document 2; you cannot add more documents in this interface.
The following options are available for each document:
1-5,8,11-13. A range includes both its first and last page.1-5,8,11-13. A range includes both its first and last page.The page range is determined first. The number entered for Last pages is then excluded from the end of that result. An empty field or the value 0 excludes no pages from the end.
The inputs are validated. For Last pages, enter an integer from 0 to 99999; negative values and values outside this range are invalid. A valid page range consists of one-based page numbers and inclusive ranges separated by commas. A validation error is shown at the affected field and prevents the value from being saved.
The Pages to compare GUI page describes the current profile sidebar. The following sections document the stored profile values and their mapping separately from the user interface.
| Name | Value and meaning |
|---|---|
FILTERS | Contains the PAGERANGE filter identifier to activate the page-range filter. Values are stored as a comma-separated list. |
PAGERANGE_DOCUMENT1 | One-based page numbers and inclusive page ranges for document 1, separated by commas, for example 1-5,8,11-13. |
PAGERANGE_DOCUMENT2 | One-based page numbers and inclusive page ranges for document 2, separated by commas. |
PAGERANGE_END_DOCUMENT1 | Non-negative number of pages removed from the end of document 1 after the page-range selection. 0 means that no additional pages are removed. |
PAGERANGE_END_DOCUMENT2 | Non-negative number of pages removed from the end of document 2 after the page-range selection. 0 means that no additional pages are removed. |
Page-range values use one-based page numbers. The end filters are applied after the page-range selection. The current plugin definition uses the full names PAGERANGE_END_DOCUMENT1 and PAGERANGE_END_DOCUMENT2 for the two end filters. The shortened identifiers PAGERANGEEND1 and PAGERANGEEND2 are not current profile names.
The following example shows the raw values in a profile configuration:
<entry key="FILTERS">PAGERANGE</entry> <entry key="PAGERANGE_DOCUMENT1">1-5,8,11-13</entry> <entry key="PAGERANGE_DOCUMENT2">1-5,8,11-13</entry> <entry key="PAGERANGE_END_DOCUMENT1">2</entry> <entry key="PAGERANGE_END_DOCUMENT2">0</entry>
The server structure and API keys are derived from the raw profile values:
| Key | Mapping |
|---|---|
pdfc.filter.PAGERANGE | Adds or removes PAGERANGE in FILTERS. |
pdfc.filter.PAGERANGE_DOCUMENT1 | Accesses PAGERANGE_DOCUMENT1. |
pdfc.filter.PAGERANGE_DOCUMENT2 | Accesses PAGERANGE_DOCUMENT2. |
pdfc.filter.PAGERANGE_END_DOCUMENT1 | Accesses PAGERANGE_END_DOCUMENT1. |
pdfc.filter.PAGERANGE_END_DOCUMENT2 | Accesses PAGERANGE_END_DOCUMENT2. |
PAGERANGE to FILTERS or removes the identifier.PAGERANGE_DOCUMENT1 and PAGERANGE_DOCUMENT2. The list contains exactly one row for each document.PAGERANGE_END_DOCUMENT1 and PAGERANGE_END_DOCUMENT2. An empty value is treated by the sidebar as no additional pages.