diff options
author | Jay Berkenbilt <ejb@ql.org> | 2017-08-12 17:49:04 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2017-08-12 17:49:04 +0200 |
commit | df33c368b472b6e2c2f011fc111c637b3dfca720 (patch) | |
tree | df82e11131d5fe7b310bddb80f931db60284e8d2 /qpdf | |
parent | ad8270600354a2f2f39c6012a157b479595e438e (diff) | |
download | qpdf-df33c368b472b6e2c2f011fc111c637b3dfca720.tar.zst |
Change --single-pages to --split-pages
This is in preparation for implementing page groups.
Diffstat (limited to 'qpdf')
-rw-r--r-- | qpdf/qpdf.cc | 32 | ||||
-rw-r--r-- | qpdf/qpdf.testcov | 6 | ||||
-rw-r--r-- | qpdf/qtest/qpdf.test | 28 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/01_split-exp.zdf (renamed from qpdf/qtest/qpdf/01_single-exp.zdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/02_split-exp.zdf (renamed from qpdf/qtest/qpdf/02_single-exp.zdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/03_split-exp.zdf (renamed from qpdf/qtest/qpdf/03_single-exp.zdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/04_split-exp.zdf (renamed from qpdf/qtest/qpdf/04_single-exp.zdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/05_split-exp.zdf (renamed from qpdf/qtest/qpdf/05_single-exp.zdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/06_split-exp.zdf (renamed from qpdf/qtest/qpdf/06_single-exp.zdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/07_split-exp.zdf (renamed from qpdf/qtest/qpdf/07_single-exp.zdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/08_split-exp.zdf (renamed from qpdf/qtest/qpdf/08_single-exp.zdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/09_split-exp.zdf (renamed from qpdf/qtest/qpdf/09_single-exp.zdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/10_split-exp.zdf (renamed from qpdf/qtest/qpdf/10_single-exp.zdf) | bin | 756 -> 756 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/11_split-exp.zdf (renamed from qpdf/qtest/qpdf/11_single-exp.zdf) | bin | 756 -> 756 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/a-01-split-exp.zdf (renamed from qpdf/qtest/qpdf/a-01-single-exp.zdf) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/a-02-split-exp.zdf (renamed from qpdf/qtest/qpdf/a-02-single-exp.zdf) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/a-03-split-exp.zdf (renamed from qpdf/qtest/qpdf/a-03-single-exp.zdf) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/a-04-split-exp.zdf (renamed from qpdf/qtest/qpdf/a-04-single-exp.zdf) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/a-05-split-exp.zdf (renamed from qpdf/qtest/qpdf/a-05-single-exp.zdf) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/a-06-split-exp.zdf (renamed from qpdf/qtest/qpdf/a-06-single-exp.zdf) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/a-07-split-exp.zdf (renamed from qpdf/qtest/qpdf/a-07-single-exp.zdf) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/a-08-split-exp.zdf (renamed from qpdf/qtest/qpdf/a-08-single-exp.zdf) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/a-09-split-exp.zdf (renamed from qpdf/qtest/qpdf/a-09-single-exp.zdf) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/a-10-split-exp.zdf (renamed from qpdf/qtest/qpdf/a-10-single-exp.zdf) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/a-11-split-exp.zdf (renamed from qpdf/qtest/qpdf/a-11-single-exp.zdf) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp-01.Pdf (renamed from qpdf/qtest/qpdf/single-exp-01.Pdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp-02.Pdf (renamed from qpdf/qtest/qpdf/single-exp-02.Pdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp-03.Pdf (renamed from qpdf/qtest/qpdf/single-exp-03.Pdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp-04.Pdf (renamed from qpdf/qtest/qpdf/single-exp-04.Pdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp-05.Pdf (renamed from qpdf/qtest/qpdf/single-exp-05.Pdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp-06.Pdf (renamed from qpdf/qtest/qpdf/single-exp-06.Pdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp-07.Pdf (renamed from qpdf/qtest/qpdf/single-exp-07.Pdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp-08.Pdf (renamed from qpdf/qtest/qpdf/single-exp-08.Pdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp-09.Pdf (renamed from qpdf/qtest/qpdf/single-exp-09.Pdf) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp-1 (renamed from qpdf/qtest/qpdf/single-exp-1) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp-10.Pdf (renamed from qpdf/qtest/qpdf/single-exp-10.Pdf) | bin | 756 -> 756 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp-11.Pdf (renamed from qpdf/qtest/qpdf/single-exp-11.Pdf) | bin | 756 -> 756 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp-2 (renamed from qpdf/qtest/qpdf/single-exp-2) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp-3 (renamed from qpdf/qtest/qpdf/single-exp-3) | bin | 755 -> 755 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp-4 (renamed from qpdf/qtest/qpdf/single-exp-4) | bin | 799 -> 799 bytes | |||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp.zdf_01 (renamed from qpdf/qtest/qpdf/single-exp.zdf_01) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp.zdf_02 (renamed from qpdf/qtest/qpdf/single-exp.zdf_02) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp.zdf_03 (renamed from qpdf/qtest/qpdf/single-exp.zdf_03) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp.zdf_04 (renamed from qpdf/qtest/qpdf/single-exp.zdf_04) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp.zdf_05 (renamed from qpdf/qtest/qpdf/single-exp.zdf_05) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp.zdf_06 (renamed from qpdf/qtest/qpdf/single-exp.zdf_06) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp.zdf_07 (renamed from qpdf/qtest/qpdf/single-exp.zdf_07) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp.zdf_08 (renamed from qpdf/qtest/qpdf/single-exp.zdf_08) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp.zdf_09 (renamed from qpdf/qtest/qpdf/single-exp.zdf_09) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp.zdf_10 (renamed from qpdf/qtest/qpdf/single-exp.zdf_10) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/split-exp.zdf_11 (renamed from qpdf/qtest/qpdf/single-exp.zdf_11) | 0 | ||||
-rw-r--r-- | qpdf/qtest/qpdf/split-pages-stdout.out (renamed from qpdf/qtest/qpdf/single-pages-stdout.out) | 2 |
52 files changed, 35 insertions, 33 deletions
diff --git a/qpdf/qpdf.cc b/qpdf/qpdf.cc index 604b8363..54e1b652 100644 --- a/qpdf/qpdf.cc +++ b/qpdf/qpdf.cc @@ -43,7 +43,7 @@ struct Options password(0), linearize(false), decrypt(false), - single_pages(false), + split_pages(false), copy_encryption(false), encryption_file(0), encryption_file_password(0), @@ -98,7 +98,7 @@ struct Options char const* password; bool linearize; bool decrypt; - bool single_pages; + bool split_pages; bool copy_encryption; char const* encryption_file; char const* encryption_file_password; @@ -206,7 +206,7 @@ Basic Options\n\ --encrypt options -- generate an encrypted file\n\ --decrypt remove any encryption on the file\n\ --pages options -- select specific pages from one or more files\n\ ---single-pages write each output page to a separate file\n\ +--split-pages=[n] write each output page to a separate file\n\ \n\ If none of --copy-encryption, --encrypt or --decrypt are given, qpdf will\n\ preserve any encryption data associated with a file.\n\ @@ -216,15 +216,17 @@ parameters will be copied, including both user and owner passwords, even\n\ if the user password is used to open the other file. This works even if\n\ the owner password is not known.\n\ \n\ -If --single-pages is specified, each page is written to a separate output\n\ +If --split-pages is specified, each page is written to a separate output\n\ file. File names are generated as follows:\n\ * If the string %d appears in the output file name, it is replaced with a\n\ - zero-padded page number starting from 1\n\ + zero-padded page range starting from 1\n\ * Otherwise, if the output file name ends in .pdf (case insensitive), a\n\ - zero-padded page number, preceded by a dash, is inserted before the file\n\ + zero-padded page range, preceded by a dash, is inserted before the file\n\ extension\n\ -* Otherwise, the file name is appended with a zero-padded page number\n\ +* Otherwise, the file name is appended with a zero-padded page range\n\ preceded by a dash.\n\ +Page ranges are single page numbers for single-page groups or first-last\n\ +for multipage groups.\n\ \n\ \n\ Encryption Options\n\ @@ -1334,9 +1336,9 @@ static void parse_options(int argc, char* argv[], Options& o) } o.force_version = parameter; } - else if (strcmp(arg, "single-pages") == 0) + else if (strcmp(arg, "split-pages") == 0) { - o.single_pages = true; + o.split_pages = true; // XXX } else if (strcmp(arg, "deterministic-id") == 0) { @@ -1451,9 +1453,9 @@ static void parse_options(int argc, char* argv[], Options& o) } if (o.require_outfile && (strcmp(o.outfilename, "-") == 0) && - o.single_pages) + o.split_pages) { - usage("--single-pages may not be used when writing to standard output"); + usage("--split-pages may not be used when writing to standard output"); } if (QUtil::same_file(o.infilename, o.outfilename)) @@ -1977,7 +1979,7 @@ static void set_writer_options(QPDF& pdf, Options& o, QPDFWriter& w) static void write_outfile(QPDF& pdf, Options& o) { - if (o.single_pages) + if (o.split_pages) { // Generate output file pattern std::string before; @@ -1986,20 +1988,20 @@ static void write_outfile(QPDF& pdf, Options& o) char* num_spot = strstr(const_cast<char*>(o.outfilename), "%d"); if (num_spot != 0) { - QTC::TC("qpdf", "qpdf single-pages %d"); + QTC::TC("qpdf", "qpdf split-pages %d"); before = std::string(o.outfilename, (num_spot - o.outfilename)); after = num_spot + 2; } else if ((len >= 4) && (QUtil::strcasecmp(o.outfilename + len - 4, ".pdf") == 0)) { - QTC::TC("qpdf", "qpdf single-pages .pdf"); + QTC::TC("qpdf", "qpdf split-pages .pdf"); before = std::string(o.outfilename, len - 4) + "-"; after = o.outfilename + len - 4; } else { - QTC::TC("qpdf", "qpdf single-pages other"); + QTC::TC("qpdf", "qpdf split-pages other"); before = std::string(o.outfilename) + "-"; } diff --git a/qpdf/qpdf.testcov b/qpdf/qpdf.testcov index f5b628b9..14ff9f6c 100644 --- a/qpdf/qpdf.testcov +++ b/qpdf/qpdf.testcov @@ -285,9 +285,9 @@ QPDF stream with non-space 0 qpdf same file error 0 qpdf read args from stdin 0 qpdf read args from file 0 -qpdf single-pages %d 0 -qpdf single-pages .pdf 0 -qpdf single-pages other 0 +qpdf split-pages %d 0 +qpdf split-pages .pdf 0 +qpdf split-pages other 0 QPDFTokenizer allowing bad token 0 QPDF ignore first space in xref entry 0 QPDF ignore first extra space in xref entry 0 diff --git a/qpdf/qtest/qpdf.test b/qpdf/qtest/qpdf.test index 3253ce65..c86e290f 100644 --- a/qpdf/qtest/qpdf.test +++ b/qpdf/qtest/qpdf.test @@ -713,14 +713,14 @@ foreach my $d ( } show_ntests(); # ---------- -$td->notify("--- Single Page ---"); -# sp = single-pages +$td->notify("--- Split Pages ---"); # XXXX +# sp = split-pages my @sp_cases = ( - [11, '%d at beginning', '', '%d_single-out.zdf'], - [11, '%d at end', '--qdf', 'single-out.zdf_%d'], - [11, '%d in middle', '--encrypt u o 128 --', 'a-%d-single-out.zdf'], - [11, 'pdf extension', '', 'single-out.Pdf'], - [4, 'fallback', '--pages 11-pages.pdf 1-3 minimal.pdf --', 'single-out'], + [11, '%d at beginning', '', '%d_split-out.zdf'], + [11, '%d at end', '--qdf', 'split-out.zdf_%d'], + [11, '%d in middle', '--encrypt u o 128 --', 'a-%d-split-out.zdf'], + [11, 'pdf extension', '', 'split-out.Pdf'], + [4, 'fallback', '--pages 11-pages.pdf 1-3 minimal.pdf --', 'split-out'], ); $n_tests += 1; for (@sp_cases) @@ -728,17 +728,17 @@ for (@sp_cases) $n_tests += 1 + $_->[0]; } -$td->runtest("no single-pages to stdout", - {$td->COMMAND => "qpdf --single-pages 11-pages.pdf -"}, - {$td->FILE => "single-pages-stdout.out", $td->EXIT_STATUS => 2}, +$td->runtest("no split-pages to stdout", + {$td->COMMAND => "qpdf --split-pages 11-pages.pdf -"}, + {$td->FILE => "split-pages-stdout.out", $td->EXIT_STATUS => 2}, $td->NORMALIZE_NEWLINES); foreach my $d (@sp_cases) { my ($n, $description, $xargs, $out) = @$d; - $td->runtest("single pages " . $description, + $td->runtest("split pages " . $description, {$td->COMMAND => - "qpdf --static-id --single-pages 11-pages.pdf" . + "qpdf --static-id --split-pages 11-pages.pdf" . " $xargs $out"}, {$td->STRING => "", $td->EXIT_STATUS => 0}); my $pattern = $out; @@ -759,7 +759,7 @@ foreach my $d (@sp_cases) { my $actual = sprintf($pattern, $i); my $expected = $actual; - $expected =~ s/single-out/single-exp/; + $expected =~ s/split-out/split-exp/; $td->runtest("checkout output page $i", {$td->FILE => $actual}, {$td->FILE => $expected}); @@ -2497,5 +2497,5 @@ sub get_md5_checksum sub cleanup { system("rm -rf *.ps *.pnm ?.pdf ?.qdf *.enc* tif1 tif2 tiff-cache"); - system("rm -rf *single-out*"); + system("rm -rf *split-out*"); } diff --git a/qpdf/qtest/qpdf/01_single-exp.zdf b/qpdf/qtest/qpdf/01_split-exp.zdf Binary files differindex 7c37942f..7c37942f 100644 --- a/qpdf/qtest/qpdf/01_single-exp.zdf +++ b/qpdf/qtest/qpdf/01_split-exp.zdf diff --git a/qpdf/qtest/qpdf/02_single-exp.zdf b/qpdf/qtest/qpdf/02_split-exp.zdf Binary files differindex cced06c3..cced06c3 100644 --- a/qpdf/qtest/qpdf/02_single-exp.zdf +++ b/qpdf/qtest/qpdf/02_split-exp.zdf diff --git a/qpdf/qtest/qpdf/03_single-exp.zdf b/qpdf/qtest/qpdf/03_split-exp.zdf Binary files differindex 7206ff55..7206ff55 100644 --- a/qpdf/qtest/qpdf/03_single-exp.zdf +++ b/qpdf/qtest/qpdf/03_split-exp.zdf diff --git a/qpdf/qtest/qpdf/04_single-exp.zdf b/qpdf/qtest/qpdf/04_split-exp.zdf Binary files differindex d8a652ef..d8a652ef 100644 --- a/qpdf/qtest/qpdf/04_single-exp.zdf +++ b/qpdf/qtest/qpdf/04_split-exp.zdf diff --git a/qpdf/qtest/qpdf/05_single-exp.zdf b/qpdf/qtest/qpdf/05_split-exp.zdf Binary files differindex 498596f8..498596f8 100644 --- a/qpdf/qtest/qpdf/05_single-exp.zdf +++ b/qpdf/qtest/qpdf/05_split-exp.zdf diff --git a/qpdf/qtest/qpdf/06_single-exp.zdf b/qpdf/qtest/qpdf/06_split-exp.zdf Binary files differindex 016d83a9..016d83a9 100644 --- a/qpdf/qtest/qpdf/06_single-exp.zdf +++ b/qpdf/qtest/qpdf/06_split-exp.zdf diff --git a/qpdf/qtest/qpdf/07_single-exp.zdf b/qpdf/qtest/qpdf/07_split-exp.zdf Binary files differindex bb1ed0ba..bb1ed0ba 100644 --- a/qpdf/qtest/qpdf/07_single-exp.zdf +++ b/qpdf/qtest/qpdf/07_split-exp.zdf diff --git a/qpdf/qtest/qpdf/08_single-exp.zdf b/qpdf/qtest/qpdf/08_split-exp.zdf Binary files differindex bd6b7f22..bd6b7f22 100644 --- a/qpdf/qtest/qpdf/08_single-exp.zdf +++ b/qpdf/qtest/qpdf/08_split-exp.zdf diff --git a/qpdf/qtest/qpdf/09_single-exp.zdf b/qpdf/qtest/qpdf/09_split-exp.zdf Binary files differindex 1b63f675..1b63f675 100644 --- a/qpdf/qtest/qpdf/09_single-exp.zdf +++ b/qpdf/qtest/qpdf/09_split-exp.zdf diff --git a/qpdf/qtest/qpdf/10_single-exp.zdf b/qpdf/qtest/qpdf/10_split-exp.zdf Binary files differindex f3d209a4..f3d209a4 100644 --- a/qpdf/qtest/qpdf/10_single-exp.zdf +++ b/qpdf/qtest/qpdf/10_split-exp.zdf diff --git a/qpdf/qtest/qpdf/11_single-exp.zdf b/qpdf/qtest/qpdf/11_split-exp.zdf Binary files differindex 158f9c78..158f9c78 100644 --- a/qpdf/qtest/qpdf/11_single-exp.zdf +++ b/qpdf/qtest/qpdf/11_split-exp.zdf diff --git a/qpdf/qtest/qpdf/a-01-single-exp.zdf b/qpdf/qtest/qpdf/a-01-split-exp.zdf index eb9aafce..eb9aafce 100644 --- a/qpdf/qtest/qpdf/a-01-single-exp.zdf +++ b/qpdf/qtest/qpdf/a-01-split-exp.zdf diff --git a/qpdf/qtest/qpdf/a-02-single-exp.zdf b/qpdf/qtest/qpdf/a-02-split-exp.zdf index d94d70d5..d94d70d5 100644 --- a/qpdf/qtest/qpdf/a-02-single-exp.zdf +++ b/qpdf/qtest/qpdf/a-02-split-exp.zdf diff --git a/qpdf/qtest/qpdf/a-03-single-exp.zdf b/qpdf/qtest/qpdf/a-03-split-exp.zdf index c3b8ca0e..c3b8ca0e 100644 --- a/qpdf/qtest/qpdf/a-03-single-exp.zdf +++ b/qpdf/qtest/qpdf/a-03-split-exp.zdf diff --git a/qpdf/qtest/qpdf/a-04-single-exp.zdf b/qpdf/qtest/qpdf/a-04-split-exp.zdf index c03531a7..c03531a7 100644 --- a/qpdf/qtest/qpdf/a-04-single-exp.zdf +++ b/qpdf/qtest/qpdf/a-04-split-exp.zdf diff --git a/qpdf/qtest/qpdf/a-05-single-exp.zdf b/qpdf/qtest/qpdf/a-05-split-exp.zdf index 7fb266dd..7fb266dd 100644 --- a/qpdf/qtest/qpdf/a-05-single-exp.zdf +++ b/qpdf/qtest/qpdf/a-05-split-exp.zdf diff --git a/qpdf/qtest/qpdf/a-06-single-exp.zdf b/qpdf/qtest/qpdf/a-06-split-exp.zdf index af3432f0..af3432f0 100644 --- a/qpdf/qtest/qpdf/a-06-single-exp.zdf +++ b/qpdf/qtest/qpdf/a-06-split-exp.zdf diff --git a/qpdf/qtest/qpdf/a-07-single-exp.zdf b/qpdf/qtest/qpdf/a-07-split-exp.zdf index fb86b06f..fb86b06f 100644 --- a/qpdf/qtest/qpdf/a-07-single-exp.zdf +++ b/qpdf/qtest/qpdf/a-07-split-exp.zdf diff --git a/qpdf/qtest/qpdf/a-08-single-exp.zdf b/qpdf/qtest/qpdf/a-08-split-exp.zdf index ad0d7451..ad0d7451 100644 --- a/qpdf/qtest/qpdf/a-08-single-exp.zdf +++ b/qpdf/qtest/qpdf/a-08-split-exp.zdf diff --git a/qpdf/qtest/qpdf/a-09-single-exp.zdf b/qpdf/qtest/qpdf/a-09-split-exp.zdf index 76bf1db5..76bf1db5 100644 --- a/qpdf/qtest/qpdf/a-09-single-exp.zdf +++ b/qpdf/qtest/qpdf/a-09-split-exp.zdf diff --git a/qpdf/qtest/qpdf/a-10-single-exp.zdf b/qpdf/qtest/qpdf/a-10-split-exp.zdf index 7f9c55c2..7f9c55c2 100644 --- a/qpdf/qtest/qpdf/a-10-single-exp.zdf +++ b/qpdf/qtest/qpdf/a-10-split-exp.zdf diff --git a/qpdf/qtest/qpdf/a-11-single-exp.zdf b/qpdf/qtest/qpdf/a-11-split-exp.zdf index be8f3a7f..be8f3a7f 100644 --- a/qpdf/qtest/qpdf/a-11-single-exp.zdf +++ b/qpdf/qtest/qpdf/a-11-split-exp.zdf diff --git a/qpdf/qtest/qpdf/single-exp-01.Pdf b/qpdf/qtest/qpdf/split-exp-01.Pdf Binary files differindex 7c37942f..7c37942f 100644 --- a/qpdf/qtest/qpdf/single-exp-01.Pdf +++ b/qpdf/qtest/qpdf/split-exp-01.Pdf diff --git a/qpdf/qtest/qpdf/single-exp-02.Pdf b/qpdf/qtest/qpdf/split-exp-02.Pdf Binary files differindex cced06c3..cced06c3 100644 --- a/qpdf/qtest/qpdf/single-exp-02.Pdf +++ b/qpdf/qtest/qpdf/split-exp-02.Pdf diff --git a/qpdf/qtest/qpdf/single-exp-03.Pdf b/qpdf/qtest/qpdf/split-exp-03.Pdf Binary files differindex 7206ff55..7206ff55 100644 --- a/qpdf/qtest/qpdf/single-exp-03.Pdf +++ b/qpdf/qtest/qpdf/split-exp-03.Pdf diff --git a/qpdf/qtest/qpdf/single-exp-04.Pdf b/qpdf/qtest/qpdf/split-exp-04.Pdf Binary files differindex d8a652ef..d8a652ef 100644 --- a/qpdf/qtest/qpdf/single-exp-04.Pdf +++ b/qpdf/qtest/qpdf/split-exp-04.Pdf diff --git a/qpdf/qtest/qpdf/single-exp-05.Pdf b/qpdf/qtest/qpdf/split-exp-05.Pdf Binary files differindex 498596f8..498596f8 100644 --- a/qpdf/qtest/qpdf/single-exp-05.Pdf +++ b/qpdf/qtest/qpdf/split-exp-05.Pdf diff --git a/qpdf/qtest/qpdf/single-exp-06.Pdf b/qpdf/qtest/qpdf/split-exp-06.Pdf Binary files differindex 016d83a9..016d83a9 100644 --- a/qpdf/qtest/qpdf/single-exp-06.Pdf +++ b/qpdf/qtest/qpdf/split-exp-06.Pdf diff --git a/qpdf/qtest/qpdf/single-exp-07.Pdf b/qpdf/qtest/qpdf/split-exp-07.Pdf Binary files differindex bb1ed0ba..bb1ed0ba 100644 --- a/qpdf/qtest/qpdf/single-exp-07.Pdf +++ b/qpdf/qtest/qpdf/split-exp-07.Pdf diff --git a/qpdf/qtest/qpdf/single-exp-08.Pdf b/qpdf/qtest/qpdf/split-exp-08.Pdf Binary files differindex bd6b7f22..bd6b7f22 100644 --- a/qpdf/qtest/qpdf/single-exp-08.Pdf +++ b/qpdf/qtest/qpdf/split-exp-08.Pdf diff --git a/qpdf/qtest/qpdf/single-exp-09.Pdf b/qpdf/qtest/qpdf/split-exp-09.Pdf Binary files differindex 1b63f675..1b63f675 100644 --- a/qpdf/qtest/qpdf/single-exp-09.Pdf +++ b/qpdf/qtest/qpdf/split-exp-09.Pdf diff --git a/qpdf/qtest/qpdf/single-exp-1 b/qpdf/qtest/qpdf/split-exp-1 Binary files differindex 7c37942f..7c37942f 100644 --- a/qpdf/qtest/qpdf/single-exp-1 +++ b/qpdf/qtest/qpdf/split-exp-1 diff --git a/qpdf/qtest/qpdf/single-exp-10.Pdf b/qpdf/qtest/qpdf/split-exp-10.Pdf Binary files differindex f3d209a4..f3d209a4 100644 --- a/qpdf/qtest/qpdf/single-exp-10.Pdf +++ b/qpdf/qtest/qpdf/split-exp-10.Pdf diff --git a/qpdf/qtest/qpdf/single-exp-11.Pdf b/qpdf/qtest/qpdf/split-exp-11.Pdf Binary files differindex 158f9c78..158f9c78 100644 --- a/qpdf/qtest/qpdf/single-exp-11.Pdf +++ b/qpdf/qtest/qpdf/split-exp-11.Pdf diff --git a/qpdf/qtest/qpdf/single-exp-2 b/qpdf/qtest/qpdf/split-exp-2 Binary files differindex cced06c3..cced06c3 100644 --- a/qpdf/qtest/qpdf/single-exp-2 +++ b/qpdf/qtest/qpdf/split-exp-2 diff --git a/qpdf/qtest/qpdf/single-exp-3 b/qpdf/qtest/qpdf/split-exp-3 Binary files differindex 7206ff55..7206ff55 100644 --- a/qpdf/qtest/qpdf/single-exp-3 +++ b/qpdf/qtest/qpdf/split-exp-3 diff --git a/qpdf/qtest/qpdf/single-exp-4 b/qpdf/qtest/qpdf/split-exp-4 Binary files differindex b8c692ed..b8c692ed 100644 --- a/qpdf/qtest/qpdf/single-exp-4 +++ b/qpdf/qtest/qpdf/split-exp-4 diff --git a/qpdf/qtest/qpdf/single-exp.zdf_01 b/qpdf/qtest/qpdf/split-exp.zdf_01 index 31a145aa..31a145aa 100644 --- a/qpdf/qtest/qpdf/single-exp.zdf_01 +++ b/qpdf/qtest/qpdf/split-exp.zdf_01 diff --git a/qpdf/qtest/qpdf/single-exp.zdf_02 b/qpdf/qtest/qpdf/split-exp.zdf_02 index d70facb1..d70facb1 100644 --- a/qpdf/qtest/qpdf/single-exp.zdf_02 +++ b/qpdf/qtest/qpdf/split-exp.zdf_02 diff --git a/qpdf/qtest/qpdf/single-exp.zdf_03 b/qpdf/qtest/qpdf/split-exp.zdf_03 index fbb491b5..fbb491b5 100644 --- a/qpdf/qtest/qpdf/single-exp.zdf_03 +++ b/qpdf/qtest/qpdf/split-exp.zdf_03 diff --git a/qpdf/qtest/qpdf/single-exp.zdf_04 b/qpdf/qtest/qpdf/split-exp.zdf_04 index d0ab509e..d0ab509e 100644 --- a/qpdf/qtest/qpdf/single-exp.zdf_04 +++ b/qpdf/qtest/qpdf/split-exp.zdf_04 diff --git a/qpdf/qtest/qpdf/single-exp.zdf_05 b/qpdf/qtest/qpdf/split-exp.zdf_05 index a2d861d6..a2d861d6 100644 --- a/qpdf/qtest/qpdf/single-exp.zdf_05 +++ b/qpdf/qtest/qpdf/split-exp.zdf_05 diff --git a/qpdf/qtest/qpdf/single-exp.zdf_06 b/qpdf/qtest/qpdf/split-exp.zdf_06 index 1d5b6e56..1d5b6e56 100644 --- a/qpdf/qtest/qpdf/single-exp.zdf_06 +++ b/qpdf/qtest/qpdf/split-exp.zdf_06 diff --git a/qpdf/qtest/qpdf/single-exp.zdf_07 b/qpdf/qtest/qpdf/split-exp.zdf_07 index 10a72379..10a72379 100644 --- a/qpdf/qtest/qpdf/single-exp.zdf_07 +++ b/qpdf/qtest/qpdf/split-exp.zdf_07 diff --git a/qpdf/qtest/qpdf/single-exp.zdf_08 b/qpdf/qtest/qpdf/split-exp.zdf_08 index 9ccb696e..9ccb696e 100644 --- a/qpdf/qtest/qpdf/single-exp.zdf_08 +++ b/qpdf/qtest/qpdf/split-exp.zdf_08 diff --git a/qpdf/qtest/qpdf/single-exp.zdf_09 b/qpdf/qtest/qpdf/split-exp.zdf_09 index 82706bc1..82706bc1 100644 --- a/qpdf/qtest/qpdf/single-exp.zdf_09 +++ b/qpdf/qtest/qpdf/split-exp.zdf_09 diff --git a/qpdf/qtest/qpdf/single-exp.zdf_10 b/qpdf/qtest/qpdf/split-exp.zdf_10 index 5deab6d7..5deab6d7 100644 --- a/qpdf/qtest/qpdf/single-exp.zdf_10 +++ b/qpdf/qtest/qpdf/split-exp.zdf_10 diff --git a/qpdf/qtest/qpdf/single-exp.zdf_11 b/qpdf/qtest/qpdf/split-exp.zdf_11 index 3a3105d5..3a3105d5 100644 --- a/qpdf/qtest/qpdf/single-exp.zdf_11 +++ b/qpdf/qtest/qpdf/split-exp.zdf_11 diff --git a/qpdf/qtest/qpdf/single-pages-stdout.out b/qpdf/qtest/qpdf/split-pages-stdout.out index 1efa16f1..fb14eaa9 100644 --- a/qpdf/qtest/qpdf/single-pages-stdout.out +++ b/qpdf/qtest/qpdf/split-pages-stdout.out @@ -1,5 +1,5 @@ -qpdf: --single-pages may not be used when writing to standard output +qpdf: --split-pages may not be used when writing to standard output Usage: qpdf [options] infile outfile For detailed help, run qpdf --help |