mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
Work note
This commit is contained in:
6
Changes
6
Changes
@ -17,9 +17,9 @@ o -obj JSON output
|
||||
o Allow %objnum in output name for -extract-images
|
||||
* -show-boxes, -trim-marks, -table-of-contents, -add-text
|
||||
-add-rectangle, -impose, -twoup, -twoup-stack now preserve
|
||||
PDF/UA compatibility
|
||||
* Preserve PDF/UA when drawing on existing PDF
|
||||
* Preserve PDF/UA with -stamp-on and -combine-pages
|
||||
PDF/UA and PDF/UA-2 compatibility
|
||||
* Preserve PDF/UA and PDF/UA-2 when drawing on existing PDF
|
||||
* Preserve PDF/UA and PDF/UA-2 with -stamp-on and -combine-pages
|
||||
o Allow -scale-stamp-to-fit for -combine-pages
|
||||
* Allow -underneath for -combine-pages
|
||||
* Preserve roundtripping of names destinations / actions
|
||||
|
@ -352,6 +352,7 @@ let typeset_table_of_contents ~font ~fontsize ~title ~bookmark ~dotleader ~proce
|
||||
assumption is ok because /P entries must have an indirect to point
|
||||
to. So if the document contains anything, the /Document structelem
|
||||
must be indirect. *)
|
||||
(* FIXME Move this code up, and return i so we can put the proper /P parent entries in our structure elements. They should point to /Document now not the /StructTreeRoot. *)
|
||||
begin match Pdf.lookup_chain pdf pdf.Pdf.trailerdict ["/Root"; "/StructTreeRoot"] with
|
||||
| Some d ->
|
||||
(* Get indirect of top-level /Document *)
|
||||
|
Reference in New Issue
Block a user