forked from mekentosj/podofo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
162 lines (152 loc) · 7.01 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
Version 0.8
See SVN ChangeLog
Version 0.7
Fixed PdfPainter::ArcTo
Fixed crash in FlateDecode and LZWDecode predictor functions
Fixed writing of unicode PdfStrings with brackets (will be escaped
now)
Fixed encoding of bytes in PdfName
Added many new unit tests
Added methods to free object memory of objects that are not needed
anymore (These objects will be re-read from disk if they are
needed again)
Fixed a crash when appending PDFs
Added unicode support on Win32 (wchar_t* constructors and methods
where apropriate, e.g. file handling)
Fixed a memory leak in PdfStream
Small optimizations in various places
Fixed DCTDecode filter for CMYK images
PdfReference is now immutable, which allows for various optimizations
Fixed PdfInputDevice::Read to return now the correct number of bytes
read
Fixed a memory leak in PdfImmediateWriter/PdfStreamedDocument
Fixed several minor parsing issues
Fixed adding text to existing pages
Added Lua5.1 plan file support to podofoimpose
Several fixes in creating XObjects from pages
Fixed a possible crash in PdfNamesTree
Added support for setting colors in PdfAnnotations
Added advanced text drawing support to PdfPainter
Fixed parsing of Type1 fonts
Fixed deletion of PdfAnnations (fixes a memory leak)
Version 0.6
Many many changes :) See SVN log
Version 0.5
Added support for Embedded Files (annotations & named objects)
Added support for ExtGStates when drawing
initially only supports basic transparency
Fixed reading values from nametrees
Added support for named destinations
Fixed a memory leak in PdfDestination::GetPage
Pages do not know their page number inside of the document
Fixed reading PdfActions from PDF files
Moved filter implementations to PdfFiltersPrivate.h
Added PdfFilter::CanEncode and PdfFilter::CanDecode
Simpliefid PoDoFos handling of XRef tables
Version 0.4
PdfImage now supports creating an image stream from a "raw bitmap"
which can also be optionally Flate compressed
Added some new Page-related methods to PdfDocument
Append - append one document to another
InsertPages - insert a range of pages from one document to another
DeletePages - delete a range of pages
Added new tool podofomerge for merging two PDFs together
Added methods to get & set a document's PageMode
Added methods to set a document's FullScreen mode
Added methods to set all the various ViewerPreferences for a document
Added methods to set the document's PageLayout
Added Outline support
modified podofoinfo to display them, if present
Added a PdfDestination class
Added PdfNamesTree class for handling the global named objects
modified podofoinfo to display them, if present
PdfPainter can draw bezier curves
Added XCode project for building on Mac OS X
fixed up conditionals in font code to enable building on
MacOSX - but no font loading, YET
Added support for writing linearized PDF
Added support for garbage collection of unused objects
Simplified PdfObject constructor
Improved annotation support
Added support to encode names and various name testcases
Fixed ascent and descent of fonts
Improved PdfImage API
Added support for the creation of file identifiers which makes
PoDoFo created PDF files work in more different PDF
workflows
PdfImage optionally takes ownership of buffers
Fixed a major parser bug: The parser expected all objects in
object streams to be of type dictionary.
Version 0.3
TOTAL revamp of PdfObject & PdfVariant to enable clean/consistent object handling;
Added new PdfDocument object - new high level object for reading & writing a PDF doc;
TOTAL revamp of the PdfDocument, PdfWriter & PdfParser relationship
PdfDocument is now hub for both reading and writing a document
it holds the PdfVecObjects - the others just reference them.
TOTAL revamp of PdfPainter
now uses PDF coordinates - UserUnits from bottom/left
added PdfPainterMM for mm-based coords
supports user-specified float precision
and writes out floats in an optimal manner
supports "appending" mode for drawing on existing documents
Improved handling of the /Info dict for both reading and writing PDFs;
Added new test app - podofopdfinfo, which will be used to dump metadata, etc. from a PDF;
Added PdfError::DebugMessage() as the official way to write out debugging info;
updated all other debugging msgs to use this;
Added PdfError::DebugEnabled() to enable/disable display of debug messages;
Added tracking of file size in PdfParser;
Minor tweak to Linearization handling - to enable getting the status from a doc;
Added getting GetPdfVersionAsString() to PdfWriter;
Added new info/object getting methods to PdfDocument;
bool IsLinearized();
size_t FileSize();
PdfObject* GetStructTreeRoot();
PdfObject* GetMetadata();
PdfObject* GetOutlines();
PdfObject* GetAcroForm();
Updated pdfinfo & podofopdfinfo to call the new PdfDocument methods;
Added PdfDictionary and PdfArray classes;
Added new PdfPagesTree (inside of PdfDocument.cpp) for handling walking a /Pages tree;
Added new GetPageCount() method to PdfDocument;
Modifications to PdfPage to attach it to a PdfDocument & construct from a PdfObject;
Added new Legal and A3 standard page sizes;
Changed page coordinates to be PDF unit-based instead of 1/1000mm;
Changed PdfRect to use PDF units and also use bottom instead of top;
Added ability to go between PdfRect and PdfArray & also get string version of a PdfRect;
Added support for PdfPage to return all the standard boxes (Media, Crop, etc);
Added support for fetching inherited values from pages (eg. boxes, rotation, etc.)
Added more methods to PdfPage;
GetRotation();
GetNumAnnots();
Use Exceptions now instead of error codes;
Removed Init from PdfOutputDevice;
Removed Init from PdfParser;
Added LZW Filter support;
Added PdfElement as base class for PdfAction, PdfAnnotation and
PdfPage;
Fixed podofoimageextract, podofotxt2pdf and podofopdfinfo;
Removed PdfSimpleWriter in favour of PdfDocument;
Headers are now installed in includedir/podofo/;
Added a new WatermarkTest
demonstrates how to read an existing PDF and draw on each page
Version 0.2
Improved Documentation;
Added SetInformation for additional error information to PdfError;
Fixed the underline color of text;
Introduced PdfReference class;
Fixed PdfStream::GetFilteredCopy;
Improved handling of DecodeParms for filters;
Fixed PDF files with more than one DecodeParms dictionary in one
object;
Added on demand loading of objects to the PdfParser;
Ported to windows by Leonard Rosenthol;
On demand loading of objects is now the default;
Refactored PdfFilter interface so that filters are cached;
Fixed multiple connected XRef tables through /Prev keys in the trailer;
Fixed a number of compiler warnings;
Replaced char*'s with std::strings in a number of classes;
Added std::ostream support to PdfOutputDevice;
Improvements to the ImageExtractor tool;
Refactored PdfVariant so that it is easier to use;
Version 0.1 (11 June 2006)
Initial release;