diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-11-10 09:43:20 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-11-23 00:50:29 +0100 |
commit | ca995a20cb85ad0386152e50c05a5bbc8771de0b (patch) | |
tree | 7b267feb222ac38a3162e3f88153490ebc7fd2e6 /include/vcl/cvtgrf.hxx | |
parent | 50bc6db73466121744848e04f21c934c3b596897 (diff) |
pdf: move parsing into it's own class, rewrite the parser
This moves the parser into it's own class as it is not only
limited to dictionaries.
The parser has been rewritten to handle the array elements
correctly and properly. Previous array elements were filled during
the tokenization step, which is wrong, and the arrays weren't
parsed recursively, making the parsing incomplete in some cases.
This rewrite handles arrays similar to dictionaries and thus
allows them to be parsed properly.
All the sub-classes of PDFElement have been moved into the
header file.
Another change is also to not have a separate input dictionary
for the root object and instead always look into the dictionary
element that should be available instead.
+ many other smaller changes
Change-Id: I7fcf94760967bbd1474a0b432ba3a4e3c9b7cabe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105517
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/vcl/cvtgrf.hxx')
0 files changed, 0 insertions, 0 deletions