diff --git a/cpdfannot.ml b/cpdfannot.ml index 5626feb..d6227f6 100644 --- a/cpdfannot.ml +++ b/cpdfannot.ml @@ -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 diff --git a/cpdfmanual.pdf b/cpdfmanual.pdf index 511c6e4..d4879bf 100644 Binary files a/cpdfmanual.pdf and b/cpdfmanual.pdf differ diff --git a/cpdfmanual.tex b/cpdfmanual.tex index 79014d0..bcd2a5b 100644 --- a/cpdfmanual.tex +++ b/cpdfmanual.tex @@ -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}