package cpdf
PDF command line tools
Install
Dune Dependency
Authors
Maintainers
Sources
v2.7.1.tar.gz
md5=9dc2502c6e97a786cdd1af5e1db5a2e1
sha512=b23c1c151f095d11b6c3c56766cdc05aa6b12a0e1224880a050f69f67c4d40053f2415ac3f9e54233bf8314ca8bdfccc2c65dd44b0c6d60ae8d7c08b1c411a04
doc/cpdf/Cpdfattach/index.html
Module Cpdfattach
File Attachments
val remove_unsafe_characters : Cpdfmetadata.encoding -> string -> string
Remove characters which might not make good filenames. If the encoding is Cpdfmetadata.Stripped
we in addition lose any character > 126.
val attach_file :
?memory:Pdfio.bytes ->
bool ->
int option ->
Pdf.t ->
string ->
Pdf.t
attach_file keepversion topage pdf filename
attaches the file in filename
to the pdf, optionally to a page (rather than document-level). If keepversion is true, the PDF version number won't be altered.
val list_attached_files : Pdf.t -> attachment list
List attached files. Attachment name and page number. Page 0 is document level.
val dump_attached_files : Pdf.t -> string -> unit
Dump attached files to a given directory.
val size_attached_files : Pdf.t -> int
Total size in bytes of all attached files.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>