This commit is contained in:
John Whitington 2023-02-20 19:21:59 +00:00
parent c803c9e511
commit 01726582f9
3 changed files with 18 additions and 3 deletions

View File

@ -98,13 +98,14 @@ let postprocess_json_pdf objnum_to_serial_map pdf obj =
| Some s -> Pdf.add_dict_entry obj "/Parent" (Pdf.Integer s)
| None -> Printf.eprintf "Warning: Cpdfannot.process_extra_object: could not find serial number\n"; obj
end
| _ ->
(* If not a popup annoation, remove /Parent. It drags in lots of
| _ -> ()
(*(* If not a popup annotation, remove /Parent. It drags in lots of
extra objects (the whole page tree!) with a widget
annotation, and we are unlikely to be able to round-trip them
anyway. One day, if we can match FDF properly, it might be
possible, but not now. *)
Pdf.remove_dict_entry obj "/Parent"
Pdf.remove_dict_entry obj "/Parent"*)
end
in
begin match obj with

Binary file not shown.

View File

@ -14,6 +14,7 @@
\excludecomment{dotnetcpdflib}
\excludecomment{jcpdflib}
\excludecomment{jscpdflib}
\usepackage{alltt}
\usepackage{palatino}
\usepackage{listings}
\usepackage{microtype}
@ -4314,6 +4315,19 @@ YYYY-MM-DDThh:mm:ssTZD
\pagestyle{fancy}
\section{CPDF Change Log}
{\footnotesize\begin{alltt}
\input{Changes}
\end{alltt}}
\section{CamlPDF Change Log}
(CamlPDF is the library CPDF is based upon)
{\footnotesize\begin{alltt}
\input{../camlpdf/Changes}
\end{alltt}}
\backmatter
\pagestyle{fancy}