a421098092
Update CXXFLAGS in Makefile (to append our own flags)
soutade2023-01-10 20:16:27 +01:00
fee7ec9cc3
Fix \r\n handling in stream read and write functions
soutade2023-01-07 15:43:39 +01:00
68371b9b17
Check for potential write error (or not buffer full consumed)
soutade2022-12-23 17:51:01 +01:00
c22babf3c4
Update Length when setting new data in stream
soutade2022-12-23 16:55:47 +01:00
988662aa99
Be sure Size contains max ID
soutade2022-12-23 16:55:09 +01:00
9d56c1d0b1
Forget to check for _dataLength in commit 6be1a4707f (new line for after stream write)
soutade2022-03-16 10:47:43 +01:00
e4e6160a6b
Call repairTrailer() after parse(), not before write()
soutade2022-03-15 19:58:42 +01:00
27b9d8ec3e
Handle cases where no xref table is present (use startxref offset instead) and where trailer is not conform (use values from XRef object if present)
soutade2022-03-14 19:57:25 +01:00
ea37dcbded
Copy file content into new file if they're different and writeUpdate() is called
soutade2022-03-14 19:56:50 +01:00
6be1a4707f
Be sure there is a final line return when writing streams data
soutade2022-03-14 08:19:43 +01:00
114ef1c5d1
Fix location bug for real values (',' can be used instead of '.')
soutade2022-03-12 21:12:07 +01:00
00be31a318
Keep XRefStm pointer valid (because it may refer objects in streams which are not detected by uPDFParser) + Display max id in xref table and not object counts
soutade2022-03-12 21:11:47 +01:00
03c18d225c
Fix bug on first object in xref table
soutade2022-03-12 21:11:23 +01:00
66fdbd0342
Always check Length value for stream parsing wether or not it has filter
soutade2022-03-12 21:10:24 +01:00
c7c665aa8f
Display empty dictionnary inside empty objects + Add line return before endobject if there is not
soutade2022-03-12 21:09:52 +01:00
b540646199
Rework stream parsing (manage \n and \r before endstream token)
soutade2022-02-22 21:14:58 +01:00
47143308ca
Add support for full document write operation
soutade2021-12-18 17:29:41 +01:00
29a93e2cfc
Support indirect objects
soutade2021-12-18 17:26:01 +01:00
8c49c53dde
Add unescapedValue() for String objects
soutade2021-12-18 17:23:21 +01:00
224267f360
Fix a bug : don't double '-' sign on negative numbers
soutade2021-12-18 17:21:48 +01:00
5ea898b837
Add "used" property for PDF objects
soutade2021-12-18 17:14:53 +01:00
ea551b6f52
Multiple improvments : * nextToken() can return comments if needed (used for %%EOF) * Handle object after %%EOF without line return * Handle trailer without xref * Handle parenthesis in string objects * Fix error on stream parsing (fallback to big chunk read)
soutade2021-09-28 14:35:45 +02:00