2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 19:08:59 +00:00

Include filename in verbose output for overlay/underlay

This commit is contained in:
Jay Berkenbilt 2024-01-10 16:24:37 -05:00
parent 5b2e543089
commit 90a97bf4ef
8 changed files with 128 additions and 128 deletions

View File

@ -1899,7 +1899,7 @@ QPDFJob::doUnderOverlayForPage(
QPDFObjectHandle resources = dest_page.getAttribute("/Resources", true); QPDFObjectHandle resources = dest_page.getAttribute("/Resources", true);
for (int from_pageno: pagenos[pageno][uo_idx]) { for (int from_pageno: pagenos[pageno][uo_idx]) {
doIfVerbose([&](Pipeline& v, std::string const& prefix) { doIfVerbose([&](Pipeline& v, std::string const& prefix) {
v << " " << uo.which << " " << from_pageno << "\n"; v << " " << uo.filename << " " << uo.which << " " << from_pageno << "\n";
}); });
auto from_page = pages.at(QIntC::to_size(from_pageno - 1)); auto from_page = pages.at(QIntC::to_size(from_pageno - 1));
if (fo[from_pageno].count(uo_idx) == 0) { if (fo[from_pageno].count(uo_idx) == 0) {

View File

@ -1,48 +1,48 @@
qpdf: processing underlay/overlay qpdf: processing underlay/overlay
page 1 page 1
underlay 1 fxo-green.pdf underlay 1
overlay 1 fxo-blue.pdf overlay 1
page 2 page 2
underlay 2 fxo-green.pdf underlay 2
overlay 2 fxo-blue.pdf overlay 2
page 3 page 3
underlay 3 fxo-green.pdf underlay 3
overlay 3 fxo-blue.pdf overlay 3
page 4 page 4
underlay 4 fxo-green.pdf underlay 4
overlay 4 fxo-blue.pdf overlay 4
page 5 page 5
underlay 5 fxo-green.pdf underlay 5
overlay 5 fxo-blue.pdf overlay 5
page 6 page 6
underlay 6 fxo-green.pdf underlay 6
overlay 6 fxo-blue.pdf overlay 6
page 7 page 7
underlay 7 fxo-green.pdf underlay 7
overlay 7 fxo-blue.pdf overlay 7
page 8 page 8
underlay 8 fxo-green.pdf underlay 8
overlay 8 fxo-blue.pdf overlay 8
page 9 page 9
underlay 8 fxo-green.pdf underlay 8
overlay 9 fxo-blue.pdf overlay 9
page 10 page 10
underlay 8 fxo-green.pdf underlay 8
overlay 10 fxo-blue.pdf overlay 10
page 11 page 11
underlay 8 fxo-green.pdf underlay 8
overlay 11 fxo-blue.pdf overlay 11
page 12 page 12
underlay 8 fxo-green.pdf underlay 8
overlay 12 fxo-blue.pdf overlay 12
page 13 page 13
underlay 8 fxo-green.pdf underlay 8
overlay 13 fxo-blue.pdf overlay 13
page 14 page 14
underlay 8 fxo-green.pdf underlay 8
overlay 14 fxo-blue.pdf overlay 14
page 15 page 15
overlay 15 fxo-blue.pdf overlay 15
page 16 page 16
overlay 16 fxo-blue.pdf overlay 16
qpdf: wrote file a.pdf qpdf: wrote file a.pdf

View File

@ -1,50 +1,50 @@
qpdf: processing underlay/overlay qpdf: processing underlay/overlay
page 1 page 1
underlay 16 fxo-blue.pdf underlay 16
overlay 7 fxo-green.pdf overlay 7
page 2 page 2
underlay 15 fxo-blue.pdf underlay 15
overlay 8 fxo-green.pdf overlay 8
page 3 page 3
underlay 14 fxo-blue.pdf underlay 14
overlay 7 fxo-green.pdf overlay 7
page 4 page 4
underlay 13 fxo-blue.pdf underlay 13
overlay 8 fxo-green.pdf overlay 8
page 5 page 5
underlay 12 fxo-blue.pdf underlay 12
overlay 7 fxo-green.pdf overlay 7
page 6 page 6
underlay 11 fxo-blue.pdf underlay 11
overlay 8 fxo-green.pdf overlay 8
page 7 page 7
underlay 10 fxo-blue.pdf underlay 10
overlay 7 fxo-green.pdf overlay 7
page 8 page 8
underlay 9 fxo-blue.pdf underlay 9
overlay 8 fxo-green.pdf overlay 8
page 9 page 9
underlay 8 fxo-blue.pdf underlay 8
overlay 7 fxo-green.pdf overlay 7
page 10 page 10
underlay 7 fxo-blue.pdf underlay 7
overlay 8 fxo-green.pdf overlay 8
page 11 page 11
underlay 6 fxo-blue.pdf underlay 6
overlay 7 fxo-green.pdf overlay 7
page 12 page 12
underlay 5 fxo-blue.pdf underlay 5
overlay 8 fxo-green.pdf overlay 8
page 13 page 13
underlay 4 fxo-blue.pdf underlay 4
overlay 7 fxo-green.pdf overlay 7
page 14 page 14
underlay 3 fxo-blue.pdf underlay 3
overlay 8 fxo-green.pdf overlay 8
page 15 page 15
underlay 2 fxo-blue.pdf underlay 2
overlay 7 fxo-green.pdf overlay 7
page 16 page 16
underlay 1 fxo-blue.pdf underlay 1
overlay 8 fxo-green.pdf overlay 8
qpdf: wrote file a.pdf qpdf: wrote file a.pdf

View File

@ -1,50 +1,50 @@
qpdf: processing underlay/overlay qpdf: processing underlay/overlay
page 1 page 1
underlay 16 fxo-blue.pdf underlay 16
overlay 7 fxo-green.pdf overlay 7
page 2 page 2
underlay 15 fxo-blue.pdf underlay 15
overlay 8 fxo-green.pdf overlay 8
page 3 page 3
underlay 14 fxo-blue.pdf underlay 14
overlay 7 fxo-green.pdf overlay 7
page 4 page 4
underlay 13 fxo-blue.pdf underlay 13
overlay 8 fxo-green.pdf overlay 8
page 5 page 5
underlay 12 fxo-blue.pdf underlay 12
overlay 7 fxo-green.pdf overlay 7
page 6 page 6
underlay 11 fxo-blue.pdf underlay 11
overlay 8 fxo-green.pdf overlay 8
page 7 page 7
underlay 10 fxo-blue.pdf underlay 10
overlay 7 fxo-green.pdf overlay 7
page 8 page 8
underlay 9 fxo-blue.pdf underlay 9
overlay 8 fxo-green.pdf overlay 8
page 9 page 9
underlay 8 fxo-blue.pdf underlay 8
overlay 7 fxo-green.pdf overlay 7
page 10 page 10
underlay 7 fxo-blue.pdf underlay 7
overlay 8 fxo-green.pdf overlay 8
page 11 page 11
underlay 6 fxo-blue.pdf underlay 6
overlay 7 fxo-green.pdf overlay 7
page 12 page 12
underlay 5 fxo-blue.pdf underlay 5
overlay 8 fxo-green.pdf overlay 8
page 13 page 13
underlay 4 fxo-blue.pdf underlay 4
overlay 7 fxo-green.pdf overlay 7
page 14 page 14
underlay 3 fxo-blue.pdf underlay 3
overlay 8 fxo-green.pdf overlay 8
page 15 page 15
underlay 2 fxo-blue.pdf underlay 2
overlay 7 fxo-green.pdf overlay 7
page 16 page 16
underlay 1 fxo-blue.pdf underlay 1
overlay 8 fxo-green.pdf overlay 8
qpdf: wrote file a.pdf qpdf: wrote file a.pdf

View File

@ -1,20 +1,20 @@
qpdf: processing underlay/overlay qpdf: processing underlay/overlay
page 1 page 1
overlay 1 fxo-green.pdf overlay 1
page 2 page 2
overlay 2 fxo-green.pdf overlay 2
page 3 page 3
overlay 3 fxo-green.pdf overlay 3
page 4 page 4
overlay 4 fxo-green.pdf overlay 4
page 5 page 5
overlay 5 fxo-green.pdf overlay 5
page 6 page 6
overlay 6 fxo-green.pdf overlay 6
page 7 page 7
overlay 7 fxo-green.pdf overlay 7
page 8 page 8
overlay 8 fxo-green.pdf overlay 8
page 9 page 9
page 10 page 10
page 11 page 11

View File

@ -2,15 +2,15 @@ qpdf: processing underlay/overlay
page 1 page 1
page 2 page 2
page 3 page 3
underlay 1 fxo-green.pdf underlay 1
page 4 page 4
underlay 2 fxo-green.pdf underlay 2
page 5 page 5
underlay 3 fxo-green.pdf underlay 3
page 6 page 6
underlay 4 fxo-green.pdf underlay 4
page 7 page 7
underlay 5 fxo-green.pdf underlay 5
page 8 page 8
page 9 page 9
page 10 page 10

View File

@ -5,8 +5,8 @@ qpdf: removing unreferenced pages from primary input
qpdf: adding pages from fxo-red.pdf qpdf: adding pages from fxo-red.pdf
qpdf: processing underlay/overlay qpdf: processing underlay/overlay
page 1 page 1
overlay 1 fxo-blue.pdf overlay 1
overlay 2 fxo-blue.pdf overlay 2
overlay 3 fxo-blue.pdf overlay 3
overlay 4 fxo-blue.pdf overlay 4
qpdf: wrote file a.pdf qpdf: wrote file a.pdf

View File

@ -1,34 +1,34 @@
qpdf: processing underlay/overlay qpdf: processing underlay/overlay
page 1 page 1
overlay 1 20-pages.pdf overlay 1
page 2 page 2
overlay 2 20-pages.pdf overlay 2
page 3 page 3
overlay 3 20-pages.pdf overlay 3
page 4 page 4
overlay 4 20-pages.pdf overlay 4
page 5 page 5
overlay 5 20-pages.pdf overlay 5
page 6 page 6
overlay 6 20-pages.pdf overlay 6
page 7 page 7
overlay 7 20-pages.pdf overlay 7
page 8 page 8
overlay 8 20-pages.pdf overlay 8
page 9 page 9
overlay 9 20-pages.pdf overlay 9
page 10 page 10
overlay 10 20-pages.pdf overlay 10
page 11 page 11
overlay 11 20-pages.pdf overlay 11
page 12 page 12
overlay 12 20-pages.pdf overlay 12
page 13 page 13
overlay 13 20-pages.pdf overlay 13
page 14 page 14
overlay 14 20-pages.pdf overlay 14
page 15 page 15
overlay 15 20-pages.pdf overlay 15
page 16 page 16
overlay 16 20-pages.pdf overlay 16
qpdf: wrote file a.pdf qpdf: wrote file a.pdf