summaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)Author
2012-07-05Limited inheritance to the attributes explicitly listed in the PDF specTobias Hoffmann
Previous versions of qpdf incorrectly passed arbitrary objects from /Pages objects down to individual pages in direct contradition with the PDF specification. These are now left in /Pages. When intermediate /Pages nodes are being discarded as when the /Pages tree is being flattened, a warning is issued when unknown keys are encountered.
2012-07-04Added public method QPDF::pushInheritedAttributesToPageTobias Hoffmann
Refactored optimizePagesTree to pushInheritedAttributesToPage and made public
2012-07-04Fixed wording error in commentTobias Hoffmann
2012-06-27Add a few minor enhancements to recent workJay Berkenbilt
Test coverage case for new newStream method Expose decimal_places argument for double-based newReal All enhancements suggested by Tobias.
2012-06-27Add Pl_Concatenate filterTobias Hoffmann
2012-06-27Add QPDFObjectHandle::newStream(QPDF *, std::string const&)Tobias Hoffmann
This makes the code simpler than having to create a buffer of a fixed size and copy the string to it.
2012-06-27Add QPDFObjectHandle::newReal(double)Tobias Hoffmann
2012-06-27Rework InputSource::readLine to make it much more efficientJay Berkenbilt
This rework makes xref reconstruction run much faster and use much less memory.
2012-06-27Rename seek functions in QUtilJay Berkenbilt
2012-06-24Fix and test support for files >= 4 GBJay Berkenbilt
2012-06-24Change QPDF_Integer from int to long longJay Berkenbilt
This makes it possible to store offsets that are larger than 2 GB in the trailer dictionary.
2012-06-24Improve the FILE* version of QPDF::processFileJay Berkenbilt
2012-06-23Add pdf-from-scratch exampleJay Berkenbilt
2012-06-22Add factory methods for creating empty arrays and dictionaries.Jay Berkenbilt
Also updated pdf_from_scratch test driver to use the new factories, and made some cosmetic improvements and documentation updates for the emptyPDF() method.
2012-06-22Add QPDF::emptyPDF() and pdf_from_scratch test codeJay Berkenbilt
2012-06-22Use qpdf_offset_t in place of off_t in public APIs.Jay Berkenbilt
off_t is used internally only when needed to talk to standard libraries. This requires that the "long long" type be supported by the compiler.
2012-06-21Add QPDFObjectHandle::shallowCopy()Jay Berkenbilt
2012-06-21Implement page manipulation APIsJay Berkenbilt
2012-06-21Refactor optimizePagesTreeJay Berkenbilt
Split optimizePagesTree into a simpler top-level routine and a recursive internal routine.
2012-06-21Added first version of pages API.Tobias Hoffmann
2012-06-21Make QPDFObjectHandle::assertPageObject() public.Tobias Hoffmann
The method is helpful in other places, like the upcoming QPDF::addPage, too.
2012-06-21Added method to clear pages cache.Tobias Hoffmann
2012-06-21fix include order for off_tJay Berkenbilt
2012-06-21Add QPDF::processFile that takes an open FILE*Jay Berkenbilt
2012-06-20Added additional array mutatorsTobias Hoffmann
Added methods to append to arrays, insert items into arrays, and replace array contents with a vector of items.
2012-06-20ABI change: fix use of off_t, size_t, and integer typesJay Berkenbilt
Significantly improve the code's use of off_t for file offsets, size_t for memory sizes, and integer types in cases where there has to be compatibility with external interfaces. Rework sections of the code that would have prevented qpdf from working on files larger than 2 (or maybe 4) GB in size.
2012-06-20Portability issues: off_t, unlinkJay Berkenbilt
New header qpdf/Types.h attempts to make sure size_t and off_t are defined on any platform and in a way that would work with large file support. Additionally, missing header files are included to get unlink.
2011-08-11export new methodsrelease-qpdf-2.3.0Jay Berkenbilt
2011-08-11enhance PointerHolder so that it can explicitly be told to use delete [] ↵Jay Berkenbilt
instead of delete, thus making it useful to run valgrind over qpdf during its test suite
2011-08-11qpdf_set_info_key, qpdf_get_info_keyJay Berkenbilt
2011-08-10implement ability to save PDF to memory, also update ChangeLogJay Berkenbilt
2011-08-10implement methods to get dictionary and array contents as map and vectorJay Berkenbilt
2011-08-10implement replace and swapJay Berkenbilt
2011-04-30update version to 2.2.3, update copyright to 2011Jay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@1051 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-10-04add qpdf_read_memory to C APIJay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@1044 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-10-01setOutputStreamsJay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@1035 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-10-01add QPDF::processMemoryFile and API additions to support itJay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@1034 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-09-24convert file to a PointerHolder<InputSource> so it could be either a file or ↵Jay Berkenbilt
a buffer; also fix a bug in BufferInputSource::seek git-svn-id: svn+q:///qpdf/trunk@1030 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-09-24add * and -> operatorsJay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@1029 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-08-10getRawStreamData()Jay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@1010 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-08-05addPageContentsJay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@995 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-08-05newStreamJay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@991 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-08-05add pipeline-based stream data replacement functionJay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@990 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-08-03remove stream_data_handler; it wouldn't work as designed. replacement data ↵Jay Berkenbilt
implemented but not tested git-svn-id: svn+q:///qpdf/trunk@988 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-08-03ready to implement replacement stream dataJay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@987 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-08-02remove use of float for version comparisonJay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@984 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-06-06fix memory leakJay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@976 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-04-19refactor to isolate pad calculationJay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@956 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-01-25update copyrights for 2010Jay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@935 71b93d88-0707-0410-a8cf-f5a4172ac649
2010-01-25update for fixes to linearization padding calculationsJay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@933 71b93d88-0707-0410-a8cf-f5a4172ac649