Reorder pages using Quick Fix
There are two new QuickFixes in pdfToolbox 13 to reorder pages:
QuickFix: Reorder pages
- Page selector: A page selector expression can be a list e.g. 1,2,3 or even a simple expression, e.g. 3--3 which will find all pages except the first and last two (last page being -1). It can even use more advanced syntax: e.g. *3 will select every third page. More info here.
- Relative to:
- first page in PDF OR
- first page in selection OR
- last page in selection OR
- last page in PDF
- Page offset: The anchor point by which the selected pages are to be reordered
- Insert:
- Before OR
- After
- Non consecutive selections:
- Insert as consecutive pages: insert the selected pages as a block
- Shift page structure: insert the selected pages keeping their original structure
Usage examples
Example 1: The below example shows the original PDF with 14 pages
- Page selector: *3(3) selects every third page in the document starting with the third page
- Relative to: 'first page in selection' which is page 3
- Page offset: set to -1 which brings the anchor point to page 2
- Insert: before, which means before page 2
- Non consecutive selections:
- Insert as consecutive pages: inserts the selected pages (3,6,9,12) consecutively before the anchor point
- Shift page structure: inserts the selected pages (3,6,9,12) keeping their original structure which means, for example: for the selected page 6, 'page offset' of -1 will bring the anchor to page 5 and 'insert before' would insert page 6 before page 5
Example 2: The below example shows the original PDF with 14 pages
- Page selector: *3(3) selects every third page in the document starting with the third page
- Relative to: 'first page in selection' which is page 3
- Page offset: set to -4 which brings the anchor point to 2 pages before the first page
- Insert: before, which means before the anchor point
- Non consecutive selections:
- Insert as consecutive pages: inserts the selected pages (3,6,9,12) consecutively before the anchor point
- Shift page structure: inserts the selected pages (3,6,9,12) keeping their original structure which means, for example: for the selected page 6, 'page offset' of -4 will bring the anchor at page 1 anchor point and 'insert before' would insert page 6 before page 1
QuickFix: Invert page order
- Page selector: The page selector can be selected from the dropdown:
- All pages
- Even pages
- Odd pages
- It can also be an expression which can be a list e.g. 1,2,3 or even a simple expression, e.g. 3--3 which will find all pages except the first and last two (last page being -1). It can even use more advanced syntax: e.g. *3 will select every third page. More info here.