Commit 48b2b5725738c41a95c793647e6834f51d4a71ee
1 parent
a72ce95c
update doc
git-svn-id: svn+q:///qpdf/trunk@1036 71b93d88-0707-0410-a8cf-f5a4172ac649
Showing
2 changed files
with
8 additions
and
28 deletions
TODO
| 1 | -2.2.1 | |
| 2 | -===== | |
| 3 | - | |
| 4 | - * Remove cerr and cout from QPDF*.cc | |
| 5 | - | |
| 6 | - * QPDF::checkLinearization writes things to std::cout, which makes it | |
| 7 | - hard for GUIs that want to display the result. Go through all | |
| 8 | - library code and get rid of use of std::cout and std::cerr, | |
| 9 | - replacing them with some better mechanism. To avoid changing the | |
| 10 | - ABI, add two new methods: one that takes a std::ostream& and one | |
| 11 | - that takes a reference to a std::vector<std::string>. The real | |
| 12 | - code should append to the vector. The ostream version should | |
| 13 | - remember to catch exceptions, output the vector elements, and | |
| 14 | - rethrow if needed. The old version should call the ostream version | |
| 15 | - with std::cout. | |
| 16 | - | |
| 17 | - | |
| 18 | 1 | General |
| 19 | 2 | ======= |
| 20 | 3 | |
| 21 | - * In general, take a fresh look at private methods to see which, if | |
| 22 | - any, should be protected. | |
| 23 | - | |
| 24 | 4 | * Look at page splitting. Subramanyam provided a test file; see |
| 25 | 5 | ../misc/article-threads.pdf. Email Q-Count: 431864 from |
| 26 | 6 | 2009-11-03. See also "Splitting by Pages" below. | ... | ... |
manual/qpdf-manual.xml
| ... | ... | @@ -2080,14 +2080,7 @@ print "\n"; |
| 2080 | 2080 | <itemizedlist> |
| 2081 | 2081 | <listitem> |
| 2082 | 2082 | <para> |
| 2083 | - Add new method <classname>QPDF::processMemoryFile</classname> | |
| 2084 | - for operating on PDF files that are loaded into memory rather | |
| 2085 | - than in a file on disk. | |
| 2086 | - </para> | |
| 2087 | - </listitem> | |
| 2088 | - <listitem> | |
| 2089 | - <para> | |
| 2090 | - Add new method <classname>QPDF::setOutputStreams</classname> | |
| 2083 | + Add new method <function>QPDF::setOutputStreams</function> | |
| 2091 | 2084 | to replace <varname>std::cout</varname> and |
| 2092 | 2085 | <varname>std::cerr</varname> with other streams for generation |
| 2093 | 2086 | of diagnostic messages and error messages. This can be useful |
| ... | ... | @@ -2104,6 +2097,13 @@ print "\n"; |
| 2104 | 2097 | </listitem> |
| 2105 | 2098 | <listitem> |
| 2106 | 2099 | <para> |
| 2100 | + Add new method <function>QPDF::processMemoryFile</function> | |
| 2101 | + for operating on PDF files that are loaded into memory rather | |
| 2102 | + than in a file on disk. | |
| 2103 | + </para> | |
| 2104 | + </listitem> | |
| 2105 | + <listitem> | |
| 2106 | + <para> | |
| 2107 | 2107 | Give a warning but otherwise ignore empty PDF objects by |
| 2108 | 2108 | treating them as null. Empty object are not permitted by the |
| 2109 | 2109 | PDF specification but have been known to appear in some actual | ... | ... |