According to the specification, any OBJR element shall specify a page using /Pg or be used by a structure element which specifies a page using /Pg. This page reference seems to be missing in OBJR objects created by tagpdf.
E.g. in testfiles/test-struct-OBJR.tpf, object 31 is an OBJR without a /Pg entry:
31 0 obj
<< /Type/OBJR/Obj 30 0 R >>
endobj
which is used by object 18 which doesn't have a /Pg entry either:
right, that is missing. I think I don't want to add a /Pg entry to all structures, that would require labels and whatits everywhere, so I added it to the objr.
According to the specification, any
OBJR
element shall specify a page using/Pg
or be used by a structure element which specifies a page using/Pg
. This page reference seems to be missing in OBJR objects created by tagpdf.E.g. in testfiles/test-struct-OBJR.tpf, object 31 is an OBJR without a /Pg entry:
which is used by object 18 which doesn't have a /Pg entry either: