m-holger
8e23ab01ab
In QPDFJob::handlePageSpecs open files by looping over FileStore
...
To facilitate this, add new data member QPDFJob::InputFile::password.
2024-06-03 13:16:52 +01:00
m-holger
91b88da983
In QPDFJob::handlePageSpecs merge page_spec_cfis into FileStore
2024-06-03 12:31:31 +01:00
m-holger
96a63a625f
Add new class QPDFJob::FileStore
...
Basic temporary implementation of FileStore. Merge QPDFJob::handlePageSpecs
variables page_heap, filenames and page_spec_qpdfs into FileStore.
2024-06-03 12:25:19 +01:00
m-holger
a4812552d0
Merge QPDFPageData into QPDFJob::Section
2024-06-03 12:24:55 +01:00
m-holger
424646892c
Replace struct QPDFJob::PageSpec with new class QPDFJob::Section
2024-06-03 12:24:29 +01:00
m-holger
826c0fa45e
In QPDFJob change data member encryption_file_password to std::string
2024-06-03 12:23:59 +01:00
m-holger
5a306354ea
In QPDFJob change data member password to std::string
2024-06-03 12:23:36 +01:00
m-holger
5c882bbc17
In QPDFJob change data member outfilename to std::string
2024-06-03 12:23:22 +01:00
m-holger
6c22208d33
In QPDFJob change data member infilename to std::string
2024-06-03 12:23:09 +01:00
m-holger
4c1581245a
In QPDFJob add data member empty_input to explicitly represent the
...
--empty option
2024-06-03 12:22:50 +01:00
m-holger
3683938caa
In QPDFJob push the page_heap from QPDFJob down to handlePageSpecs
2024-06-03 12:22:33 +01:00
m-holger
e1ca10ccc4
In QPDFJob::handleUnderOverlay flatten nested fo maps
2024-06-03 12:21:12 +01:00
m-holger
09ddce19e8
In QPDFJob::handleUnderOverlay flatten nested under/overlay_pagenos maps
...
Also, in QPDFJob::getUOPagenos tweak vector access and change signature to
return result and make parameter const. In doUnderOverlayForPage make
pagenos parameter a const&.
2024-06-03 12:20:20 +01:00
m-holger
b84a08f447
In QPDFJob::doUnderOverlayForPage tweak make_afdh
2024-06-03 12:19:32 +01:00
m-holger
4df77d44a6
In QPDFJob::handleUnderOverlay tweak get_pages
2024-06-03 12:19:13 +01:00
m-holger
d4ca1e0b0a
In QPDFJob add convenience class Page
...
Assist with the dual int 1-based / size_t 0-based page numbering.
2024-06-03 12:18:50 +01:00
m-holger
4f54508f7f
Refactor QPDFJob::doJSONObjects
2024-02-16 15:50:30 +00:00
Jay Berkenbilt
7caa9ddf5a
Format code
2024-02-04 16:12:01 -05:00
Jay Berkenbilt
90a97bf4ef
Include filename in verbose output for overlay/underlay
2024-01-11 06:13:57 -05:00
Jay Berkenbilt
5b2e543089
Honor repeated overlay/underlay
2024-01-11 06:13:57 -05:00
Jay Berkenbilt
34f013c1be
Allow --file and --range with --pages
...
Accept --file and --range as named parameters in additional to
allowing positional arguments. This is in preparation for adding
additional flags.
2024-01-10 16:44:17 -05:00
Jay Berkenbilt
20a134826c
Fix arg parsing check with --collate
...
The check for the number of items was in the wrong place.
2024-01-10 06:49:31 -05:00
Jay Berkenbilt
7cac433e2d
Implement --set-page-labels and supporting API ( fixes #939 )
2024-01-05 17:12:12 -05:00
Jay Berkenbilt
bfc5fc51f2
Remove unused argument in private setWriterOptions method
2024-01-04 07:31:00 -05:00
Jay Berkenbilt
d8d70ecca2
Support comma-separated numeric values with --collate ( fixes #505 )
2024-01-01 18:57:32 -05:00
Jay Berkenbilt
4ca185fd96
Remove --disable-signatures; incorporate into --remove-restrictions
...
Rather than adding yet another flag that is almost never useful on its
own, just have --remove-restrictions disable digital signatures. The
operations are still separate in the API.
2023-12-24 07:36:07 -05:00
Jay Berkenbilt
909a0b3f3a
Implement --disable-signatures ( fixes #1015 )
2023-12-23 08:50:42 -05:00
Jay Berkenbilt
7c0fdf8510
Format code, bump clang-format version to 18
2023-12-22 21:45:10 -05:00
Jay Berkenbilt
fec75b44b4
Merge pull request #1030 from m-holger/exit
...
Fix exit code when an input other than the primary input generates wa…
2023-09-03 08:37:14 -04:00
Jay Berkenbilt
c6a3d83fb5
Revert "Check for warnings in files used by --pages"
...
m-holger's fix is better
This reverts commit fa3cdaf1b46dcbb583393f93a02f89207ba21a88.
2023-09-03 08:12:31 -04:00
Jay Berkenbilt
fa3cdaf1b4
Check for warnings in files used by --pages
2023-09-03 08:07:07 -04:00
Jay Berkenbilt
dedf9a06df
Fix a few things found by CLion
2023-09-03 08:07:07 -04:00
m-holger
94e6323206
Fix exit code when an input other than the primary input generates warnings
2023-09-03 12:27:23 +01:00
Jay Berkenbilt
2ff7ac8a58
Merge pull request #990 from m-holger/issue600
...
Ensure copied annotations are fixed (fixes #600 )
2023-06-17 17:54:27 -04:00
m-holger
ae19d703f4
Ensure copied annotations are fixed ( fixes #600 )
...
Case where pages from a main input without /AcroForm key were duplicated
was omitted
2023-06-15 15:49:50 +01:00
m-holger
d784e8033c
Code tidy - Clang-Tidy rule performance-for-range-copy
2023-06-09 15:55:49 +01:00
m-holger
7bc0f1d828
Code tidy - Clang-Tidy rule modernize-use-emplace
2023-06-09 15:42:11 +01:00
m-holger
320bbb9854
Code tidy - Clang-Tidy rule modernize-return-braced-init-list
2023-06-09 15:35:56 +01:00
m-holger
698a70e6a8
Code tidy - reflow comments and strings
2023-05-27 10:54:19 +01:00
Jay Berkenbilt
60965d5f4d
Rerun clang-format
2023-05-21 13:35:09 -04:00
m-holger
85d784952f
Globally replace 'this->m->' with 'm->'
...
Using search and replace.
2023-05-21 14:42:34 +01:00
Jay Berkenbilt
d740c6ccce
Rerun format_code (after merging clang-tidy PR)
2023-05-20 14:52:19 -04:00
Jay Berkenbilt
a85635b839
Merge pull request #929 from m-holger/ogguard
...
Add new convenience class QPDFObjGen::Guard
2023-05-20 14:09:49 -04:00
m-holger
e6577a1323
Replace 'virtual' specifier with 'override'
2023-05-20 15:41:56 +01:00
m-holger
e28f4efb00
Replace deprecated C++ includes
2023-05-20 15:41:25 +01:00
m-holger
50bc82b4e0
Tidy QPDFJob::doJSONObjects
2023-05-19 18:56:17 +01:00
m-holger
9db2965f62
Use QPDFObjGen::set in QPDFJob::getWantedJSONObjects
2023-05-19 18:56:10 +01:00
m-holger
0c45bd8749
Use QPDFObjGen::set in QPDFJob::shouldRemoveUnreferencedResources
2023-05-19 18:56:06 +01:00
Jay Berkenbilt
40e4d1f97c
Merge pull request #930 from m-holger/throw
...
Code tidy re-throwing of exceptions
2023-04-01 09:42:52 -04:00
Jay Berkenbilt
f89196b6c8
Merge pull request #814 from m-holger/check
...
Warn if catalog type entry is invalid (fixes #810 )
2023-03-20 06:59:47 -04:00