Commit Graph

19 Commits

Author SHA1 Message Date
Tissevert f4df4aab22 Found a nicer formulation that doesn't require transitivity or index agglomeration and swapped argument of w for more reusability with at / atAll 2020-02-26 17:19:22 +01:00
Tissevert bdbc5f7351 Generalize the Box instances on containers from the particular cases of Document/Layers and Layers/Objects and move them to PDF.Box 2020-02-25 17:36:54 +01:00
Tissevert 1a70f2972b Expose Box index flags in PDF and PDF.Layer 2020-02-24 21:37:09 +01:00
Tissevert 85ee8519c4 Implement Box instances from Document to Layers and EOLStyle 2020-02-24 17:28:17 +01:00
Tissevert bcf2e05bfb Move Content out of Object module into a separate one incorporating PDF.Update (which is actually an operation that is defined only on that structure), and rename it Layer to avoid confusion with Content streams as defined in the specs (which have their own PDF.Content module already) 2020-02-17 15:29:59 +01:00
Tissevert 66d315b7fe Reflect the distinction between eval and run from State monad into the Parser module 2019-10-14 10:17:15 +02:00
Tissevert 699f830a45 Simplify XRef structure, clarify integer types and remove nextLine 2019-09-20 22:39:14 +02:00
Tissevert 11cb6504d7 Go strict ByteStrings with attoparsec 2019-05-24 10:48:09 +02:00
Tissevert b60f337cc4 First useable version 2019-05-18 11:09:03 +02:00
Tissevert 5614a25048 Generate valid PDF 2019-05-18 09:01:13 +02:00
Tissevert 0336baa687 Fix output implementation with dynamic XRefs 2019-05-17 16:14:06 +02:00
Tissevert e23618da68 Implement output 2019-05-16 22:41:14 +02:00
Tissevert 645466024a Starting to implement output with String builder 2019-05-16 17:04:45 +02:00
Tissevert 9b2f890227 Boyer-Moore is canceled, implement the rest of parsing with naive search 2019-05-16 11:01:50 +02:00
Tissevert fc41f815a3 Broken state : trying to implement Boyer-Moore for fast-forwarding to the end of a section 2019-05-15 19:13:35 +02:00
Tissevert 91292d6401 Implement retrieving objects in the body of the document and use it to populate the structure previously parsed 2019-05-14 18:42:11 +02:00
Tissevert 8043f84da8 Cut PDF module in two, implement basic parsing up to reading XRef table 2019-05-13 18:22:05 +02:00
Tissevert 6eacb55fc4 Fix bug preventing startXref to be found for files with a single byte EOL encoding 2019-05-13 11:34:15 +02:00
Tissevert c036334b6f Prototype successfully parsing (only last) startxref 2019-05-13 08:05:28 +02:00