127c607818
In PDF files, "names" and "strings" are not the same thing, but I was conflating them. Separate out the interfaces for adding attributes to PDF struct tree elements so there's a way to add either a name or a string, and similarly for arrays of names or arrays of strings. Fix the table test to correctly use a name for the "Scope" attribute and an array of strings for the "Headers" attribute. Bug: chromium:607777 Change-Id: Ib30bded2bbcf96e31ba6925fb062615558dea0db Reviewed-on: https://skia-review.googlesource.com/c/skia/+/296338 Reviewed-by: Ben Wagner <bungeman@google.com> Reviewed-by: Derek Sollenberger <djsollen@google.com> Auto-Submit: Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: Derek Sollenberger <djsollen@google.com> |
||
---|---|---|
.. | ||
SkPDFDocument.h | ||
SkXPSDocument.h |