( *.= ) [Pdfutil] | Operations on floating point references |
( *= ) [Pdfutil] | Operations on integer references |
(+.=) [Pdfutil] | |
(+=) [Pdfutil] | |
(-.=) [Pdfutil] | |
(-=) [Pdfutil] | |
(/.=) [Pdfutil] | |
(/=) [Pdfutil] | |
(<|) [Pdfutil] | This is equivalent to |
(=@) [Pdfutil] | Append something to the front of the contents of a list reference. |
(=|) [Pdfutil] | Cons something onto the contents of a list reference. |
(@) [Pdfutil] | |
(@@) [Pdfutil] | Append with reversed arguments. |
(|&|) [Pdfutil] | Exclusive OR |
A | |
a0 [Pdfpaper] | |
a1 [Pdfpaper] | |
a10 [Pdfpaper] | ISO A series paper sizes, portrait. |
a2 [Pdfpaper] | |
a3 [Pdfpaper] | |
a4 [Pdfpaper] | |
a5 [Pdfpaper] | |
a6 [Pdfpaper] | |
a7 [Pdfpaper] | |
a8 [Pdfpaper] | |
a9 [Pdfpaper] | |
add [Pdfutil] |
|
add_annotation [Pdfannot] | Add an annotation to a page in a document. |
add_bookmarks [Pdfmarks] | Add bookmarks to a document, replacing any currently there. |
add_dict_entry [Pdf] |
|
add_label [Pdfpagelabels] | Add a range starting at pagelabel.startpage, ending at the integer page given. |
add_pagetree [Pdfpage] | Build a page tree from a list of pages and install it in the given PDF document. |
add_prefix [Pdfpage] | For every page in the PDF, add the prefix to any name in /Resources and add the prefix to any name used in any content streams. |
add_root [Pdfpage] | Given the page root number (for instance that returned by |
addobj [Pdf] | Add an object. |
addobj_given_num [Pdf] | Same as |
aes_decrypt_data [Pdfcryptprimitives] |
|
aes_decrypt_data_ecb [Pdfcryptprimitives] | As |
aes_encrypt_data [Pdfcryptprimitives] |
|
aes_encrypt_data_ecb [Pdfcryptprimitives] | As |
afm_data [Pdfstandard14] | The data extracted from the font AFM. |
align [Pdfio] | Align the bitstream on a byte boundary |
align_write [Pdfio] | Byte-align. |
all_but_last [Pdfutil] | Produce a list containing all but the last element of a list. |
always [Pdfutil] | The always-true predicate. |
always_add_whitespace [Pdfops] | Add whitespace even where not lexically-required. |
annotations_of_page [Pdfannot] | Return the annotations on a page in a document. |
append [Pdftransform] |
|
append [Pdfutil] | |
applyn [Pdfutil] | Apply a function |
array_iter2 [Pdfutil] |
|
array_map2 [Pdfutil] |
|
B | |
baseline_adjustment [Pdfstandard14] | The appropriate amount to subtract from the y-coordinate of a 1pt text line to place it vertically centered around the y coordinate, rather than with the baseline at that y coordinate. |
between [Pdfutil] | Find the point equidistant between two others. |
bget [Pdfio] | Get the value at a position in a bytes |
bget_unsafe [Pdfio] | Like |
bigarray_of_stream [Pdf] | Fetch a stream, if necessary, and return its contents (with no processing). |
bitbytes_of_input [Pdfio] | Make a bitstream from an input. |
bitstream_pos [Pdfio] | Get the current position. |
bitstream_seek [Pdfio] | Seek to a position within a bitstream |
blankpage [Pdfpage] | Create a page with empty content, media box from the given paper size, empty resources, zero rotation and no extra dictionary entries. |
box_overlap [Pdfutil] | The intersection box (if any) of two integer boxes, each defined as |
box_overlap_float [Pdfutil] | The intersection box (if any) of two floating-point boxes, each defined as |
box_union [Pdfutil] | The smallest box enclosing both given integer boxes. |
box_union_float [Pdfutil] | The smallest box enclosing both given floating-point boxes. |
bpc [Pdfimage] | Given a PDF and an image, return any /BPC entry |
bset [Pdfio] |
|
bset_unsafe [Pdfio] | Like |
build_name_tree [Pdftree] | Build a name or number tree (bool: true if number, false otherwise) from flat (key, value) list. |
bytes_of_arraylist [Pdfio] | Make bytes from a list of integer arrays. |
bytes_of_caml_bytes [Pdfio] | Make bytes from ocaml bytes. |
bytes_of_charlist [Pdfio] | Make bytes from a character list. |
bytes_of_input [Pdfio] |
|
bytes_of_input_channel [Pdfio] | Extract a bytes from an input or output. |
bytes_of_int_array [Pdfio] | Make bytes from an integer array |
bytes_of_list [Pdfio] | Make bytes from a list of integers, each between 0 and 255. |
bytes_of_string [Pdfio] | Make bytes from a string. |
bytes_of_write_bitstream [Pdfio] | Build bytes from a write bitstream, padding the with zero-valued bits. |
bytes_selfmap [Pdfio] | Map bytes onto itself using a function on each byte |
bytes_size [Pdfio] | Size of bytes. |
bytes_to_output_channel [Pdfio] | Write a bytes to an output channel |
C | |
catalog_of_pdf [Pdf] | Return the document catalog. |
centimetres [Pdfunits] | Convert a measurement to centimetres |
change_id [Pdf] | Change the /ID string in a PDF's trailer dicfionary |
change_pages [Pdfpage] | Change the pages in a document for some new ones. |
changes [Pdf] | Calculate the changes required to renumber a PDF's objects 1..n. |
charcode_extractor_of_font [Pdftext] | Return the character code for a given unicode codepoint, if it exists in the encoding and font object. |
charcode_extractor_of_font_real [Pdftext] | Return the character code for a given unicode codepoint, if it exists in the encoding and font. |
charlist_of_bytes [Pdfio] | Make a character list from a bytes |
clear [Pdfutil] | Set a boolean reference to |
cleave [Pdfutil] |
|
cleavewhile [Pdfutil] | Same, but split point controlled by a predicate, which is true for elements in the first returned list. |
cleavewhile_unordered [Pdfutil] | The same as |
coalesce [Pdfpagelabels] | Optimise page labels, removing any which are not required. |
codepoints_of_pdfdocstring [Pdftext] | Produce a list of unicode codepoints from a pdfdocencoding or UTF16BE pdf document string |
codepoints_of_text [Pdftext] | Return a list of unicode points from a given extractor and string (for
example from a |
codepoints_of_utf16be [Pdftext] | A list of unicode codepoints for a UTF16BE string |
codepoints_of_utf8 [Pdftext] | A list of unicode codepoints for a UTF8 string |
collate [Pdfutil] | Collate a list into a list of lists based upon a comparison function by which it has already been sorted. |
colspace [Pdfimage] | Given a PDF, an image and a /Resources dictionary, return the colourspace of the image |
combine [Pdfutil] | |
combine3 [Pdfutil] | |
compare_i [Pdfutil] | Monomorphic integer version of |
complete [Pdfpagelabels] | Return a list where every page has a label - pages which don't are given arabic page numbers |
components [Pdfops] | Given a pdf, a resources dictionary and a colourspace dictionary, give the number of bytes per pixel in the stored image data. |
compose [Pdftransform] |
|
compress [Pdfflate] | Compress data. |
concat_bytess [Pdfops] | Concatenate a list of bytes, padding with whitespace between. |
conspair [Pdfutil] | Consing to each of a pair of lists at the same time. |
conspairopt [Pdfutil] | Version of |
contents_of_file [Pdfutil] | Return the contents of a (binary) file as a string |
contents_of_nametree [Pdf] | Return an ordered list of the key-value pairs in a given name tree. |
copybytes [Pdfio] | Copy bytes. |
couple [Pdfutil] | Couple the elements of a list |
couple_ext [Pdfutil] | As |
couple_reduce [Pdfutil] | Apply |
courier_afm [Pdfafmdata] | |
courier_bold_afm [Pdfafmdata] | |
courier_bold_oblique_afm [Pdfafmdata] | |
courier_oblique_afm [Pdfafmdata] | |
crypt [Pdfcryptprimitives] | ARC4 encryption (40 bit and 128 bit) given a key and some data |
crypt_debug [Pdfcrypt] | If this is set, various debug is produced on standard output. |
cumulative_sum [Pdfutil] | Cumulative sum of a list given an initial value. |
custompage [Pdfpage] | The same, but given a page size rectangle. |
D | |
date_of_string [Pdfdate] | Build a date by parsing a PDF date string. |
debug [Pdfops] | When this reference is set, some debug information is printed to Standard Output. |
debug [Pdfcodec] | Setting this boolean prints some debug information. |
debug_always_treat_malformed [Pdfread] | If set, we always use the malformed PDF reader. |
debug_next_n_chars [Pdfio] | Debug the next |
debug_whole_pdf [Pdfwrite] | For debug, print out the PDFs objects to standard output. |
decode_flate [Pdfcodec] | Decode data in FlateDecode. |
decode_from_input [Pdfcodec] | Given a |
decode_pdfstream [Pdfcodec] | Given a document and stream, decode. |
decode_pdfstream_onestage [Pdfcodec] | Given a document and stream decode just one stage. |
decode_pdfstream_until_unknown [Pdfcodec] | Given a document and stream decode until there's an unknown decoder. |
decompose [Pdftransform] | Decompose a transformation matrix to scale, aspect, rotation, shear, translation in x, translation in y. |
decrypt_pdf [Pdfcrypt] | Decrypt a PDF document, given the user password, returning the permissions under which the document was encrypted. |
decrypt_pdf_owner [Pdfcrypt] | Decrypt a PDF document, given the owner password. |
decrypt_stream_data [Pdfcryptprimitives] | Calling |
deep_copy [Pdf] | Copy a PDF data structure so that nothing is shared with the original. |
default [Pdfe] | Default error logger, writes the string to stderr and flushes. |
deg_of_rad [Pdfutil] | Convert between radians and degrees. |
direct [Pdf] | Make a PDF object direct -- that is, follow any indirect links. |
distance_between [Pdfutil] | Cartesian distance between two points. |
do_many [Pdfutil] |
|
do_return [Pdfutil] |
|
drop [Pdfutil] |
|
drop' [Pdfutil] | Same as |
drop_evens [Pdfutil] | Remove the second, fourth etc. |
drop_odds [Pdfutil] | Remove the first, third etc. |
dropwhile [Pdfutil] | Drop elements from a list while a given predicate is true. |
dropwhite [Pdfread] | Drop whitespace characters from an input. |
E | |
empty [Pdf] | The empty document (PDF 1.0, no objects, no root, empty trailer dictionary). |
encode_ccitt [Pdfcodec] | Encode data in CCITTDecode Group 4. |
encode_flate [Pdfcodec] | Encode data in FlateDecode. |
encode_pdfstream [Pdfcodec] | Encode a PDF stream with an encoding. |
encrypt_pdf_128bit [Pdfcrypt] | Ditto for 128 bit encryption |
encrypt_pdf_40bit [Pdfcrypt] | Encrypt a PDF documnent, using 40 bit encryption, with given user and owner passwords. |
encrypt_pdf_AES [Pdfcrypt] | Encrypt a file using the AESV2 Crypt filter |
encrypt_pdf_AES256 [Pdfcrypt] | Encrypt a file using the AESV3 Crypt filter |
encrypt_pdf_AES256ISO [Pdfcrypt] | Encrypt a file using the AESV4 (ISO) Crypt filter |
endpage [Pdfpage] | Number of pages in a document, faster than reading the pages and counting. |
endpage_fast [Pdfpage] | Number of pages in a document, simply believing top level /Count |
eq [Pdfutil] | Equality. |
error_on_malformed [Pdfread] | If set, a malformed PDF will cause an error, not an attempt to read using the malformed PDF reader. |
eval_function [Pdffun] | Evaluate a function given a list of inputs. |
even [Pdfutil] | |
explode [Pdfutil] | List of characters representing a string. |
extract_bytes_from_input_output [Pdfio] | Extract the contents of an input-output in bytes |
extremes [Pdfutil] | Find the first and last element of a list. |
extremes_and_middle [Pdfutil] | Return the first, middle and last elements of a list which has length at least two. |
F | |
fabs [Pdfutil] | Monomorphic floating-point versions of |
fillbytes [Pdfio] | Fill bytes with a value |
find_hash [Pdfcryptprimitives] | Given an object number, generation number, input key and key length in bits, apply Algorithm 3.1 from the PDF Reference manual to obtain the hash to be used by the encryption function. |
find_indirect [Pdf] | Find the indirect reference given by the value associated with a key in a dictionary. |
firstchar [Pdfutil] | Return the first character of a string, should it have one. |
flags_of_standard_font [Pdfstandard14] | Return a suitable flags value for a standard font |
flate_level [Pdfcodec] | Setting this changes globally the FlateDecode compression level. |
flatten [Pdfutil] | |
fleprint [Pdfutil] | Print a string to standard error and flush. |
flip [Pdfutil] | Flip a boolean reference |
flprint [Pdfutil] | Print a string to standard output and flush. |
fmax [Pdfutil] | |
fmin [Pdfutil] | |
fold_left [Pdfutil] | |
fold_right [Pdfutil] | |
fsum [Pdfutil] | Sum of a list of floats. |
G | |
generate_id [Pdf] | Generate and ID for a PDF document given its prospective file name (and using the current date and time). |
get_image_24bpp [Pdfimage] | Given a pdf document, resources dictionary and a stream representing an image, return a triple : width, height, and a stream of (width * height * 3) bytes RGBRGB etc. |
get_jpeg_data [Pdfjpeg] | Return the JPEG data starting at the current position in the |
getbit [Pdfio] | Get a bit |
getbitint [Pdfio] | Get a bit, but as an integer, 0 or 1. |
getinit [Pdfio] |
|
getnum [Pdf] | Return a float from a |
getstream [Pdf] | Get a stream from disc if it hasn't already been got. |
getuntil [Pdfread] | Read characters until a predicate is true. |
getuntil_white_or_delimiter [Pdfread] | Read characters until a PDF delimiter. |
getuntil_white_or_delimiter_string [Pdfread] | Read characters until a PDF delimiter, returned as a string. |
getval_31 [Pdfio] | Get up to 31 bits as a native integer |
getval_32 [Pdfio] | Get up to 32 bits as a 32 bit value |
glyph_hashes [Pdfglyphlist] | The Adobe Glyph List, which maps character names to sequences of unicode codepoints. |
glyphnames_of_text [Pdftext] | Return a list of glyph names from a given extractor and string |
H | |
hashset_of_list [Pdfutil] | Build a hash set from a list of keys. |
hashtable_of_dictionary [Pdfutil] | Build a hashtable from a dictionary (list of key-value pairs). |
hd [Pdfutil] | |
heads [Pdfutil] | Return a list of the heads of a list of lists, each of which has at least one element, preserving order. |
height [Pdfpaper] | Project the height from a paper size. |
helvetica_afm [Pdfafmdata] | |
helvetica_bold_afm [Pdfafmdata] | |
helvetica_bold_oblique_afm [Pdfafmdata] | |
helvetica_oblique_afm [Pdfafmdata] | |
I | |
i [Pdftransform] | The identity transform |
i32add [Pdfutil] | |
i32div [Pdfutil] | |
i32max [Pdfutil] | |
i32min [Pdfutil] | |
i32mul [Pdfutil] | |
i32ofi [Pdfutil] | |
i32ofi64 [Pdfutil] | |
i32pred [Pdfutil] | |
i32sub [Pdfutil] | |
i32succ [Pdfutil] | |
i32tof [Pdfutil] | |
i32toi [Pdfutil] | |
i64add [Pdfutil] | |
i64div [Pdfutil] | |
i64max [Pdfutil] | |
i64min [Pdfutil] | |
i64mul [Pdfutil] | |
i64ofi [Pdfutil] | |
i64ofi32 [Pdfutil] | Shortened names for functions from |
i64pred [Pdfutil] | |
i64sub [Pdfutil] | |
i64succ [Pdfutil] | |
i64tof [Pdfutil] | |
i64toi [Pdfutil] | |
i_matrix [Pdftransform] | The identity matrix |
ident [Pdfutil] | The identity function. |
ignoreuntil [Pdfread] | Throw away characters until a predicate is true. |
ilist [Pdfutil] |
|
ilist_fail_null [Pdfutil] | Same as |
ilist_null [Pdfutil] | Same as |
implode [Pdfutil] | String representing a list of characters. |
inches [Pdfunits] | Convert a measurement to inches |
index [Pdfutil] | Find the position of the first element matching a predicate. |
indirect_number [Pdf] | Return the object number of an indirect dictionary object, if it is indirect. |
indx [Pdfutil] |
|
indx0 [Pdfutil] | Same as |
indxn [Pdfutil] | Same as |
input_of_bytes [Pdfio] | Make an input from a bytes. |
input_of_channel [Pdfio] | Make an input from an OCaml input channel. |
input_of_string [Pdfio] | Make an input from a string. |
input_output_of_bytes [Pdfio] | Build an input-ouput, with an initial buffer size. |
input_pdferror [Pdf] | This function, given a |
int_array_of_bytes [Pdfio] | An integer array of bytes from bytes |
int_array_of_string [Pdfio] | Integer array from a string |
int_of_rotation [Pdfpage] | Utility function to convert from rotation to integers. |
interleave [Pdfutil] | Interleave an element among a list, so that |
interleave_lists [Pdfutil] | Interleave two equal-length lists, taking from the first list first. |
invert [Pdfutil] | Invert a vector. |
iround [Pdfutil] | The same, returning an integer. |
is_delimiter [Pdf] | True if a character is a PDF delimiter. |
is_encrypted [Pdfcrypt] | Is a PDF encrypted? |
is_identity_h [Pdftext] | Is a font Identity H? |
is_linearized [Pdfread] | Given a filename, see if the file is linearized. |
is_not_whitespace [Pdf] | True if a character is not PDF whitespace. |
is_unicode [Pdftext] | Is a PDF string UTF16be (i.e does it have a byte order marker at the beginning)? |
is_whitespace [Pdf] | True if a character is PDF whitespace. |
isdigit [Pdfutil] | A character is a decimal digit. |
isnull [Pdfutil] | |
isolate [Pdfutil] |
|
iter [Pdfutil] | |
iter2 [Pdfutil] | |
iter3 [Pdfutil] | |
iter_stream [Pdf] | Iterate over just the stream objects in a document. |
K | |
keep [Pdfutil] | |
L | |
land32 [Pdfutil] | |
land64 [Pdfutil] | |
landscape [Pdfpaper] | Flip a paper size between landscape and portrait, swapping its dimensions. |
largest_pow2_divisible [Pdfutil] | The largest power of two by which a number is exactly divisible. |
last [Pdfutil] | Find the last element of a list. |
lastchar [Pdfutil] | Return the first character of a string, should it have one. |
lcount [Pdfutil] | Count the number of elements in a list for which predicate is true. |
leafnames_of_dir [Pdfutil] | Return a list of leafnames for the given folder in the current folder |
length [Pdfutil] | |
lex [Pdfgenlex] | Lex all the token in a |
lex_comment [Pdfread] | Lex a comment, assuming there is one to lex. |
lex_dictionary [Pdfread] | Lex a dictinonary, assuming there is one to lex. |
lex_hexstring [Pdfread] | Lex a hexadecimal string, assuming there is one to lex. |
lex_name [Pdfread] | Lex a name, assuming there is one to lex. |
lex_number [Pdfread] | Lex a number, assuming there is one to lex. |
lex_single [Pdfgenlex] | Lex a single token from a |
lex_stream_data [Pdfread] | Lex stream data of the given length. |
lex_string [Pdfread] | Lex a string, assuming there is one to lex. |
lex_string [Pdfgenlex] | Lex all the tokens from a string. |
list_of_hashtbl [Pdfutil] | Make a list of key-value pairs reflecting the contents of a hash table. |
lnot32 [Pdfutil] | |
lnot64 [Pdfutil] | |
log [Pdfe] | Log a string. |
log2of [Pdfutil] | Base two logarithm |
logger [Pdfe] | The current error logger, set to |
lookup [Pdfutil] |
|
lookup_chain [Pdf] |
|
lookup_direct [Pdf] |
|
lookup_direct_orelse [Pdf] | Same as |
lookup_exception [Pdf] | Same, but with customised exception. |
lookup_fail [Pdf] |
|
lookup_failnull [Pdfutil] | Same as |
lookup_immediate [Pdf] |
|
lookup_obj [Pdf] | Lookup an object in a document, parsing it if required. |
lor32 [Pdfutil] | |
lor64 [Pdfutil] | |
lose [Pdfutil] |
|
losenones [Pdfutil] | Return just the non- |
lsl32 [Pdfutil] | |
lsl64 [Pdfutil] | |
lsr32 [Pdfutil] | |
lsr64 [Pdfutil] | |
lxor32 [Pdfutil] | |
lxor64 [Pdfutil] | |
M | |
make [Pdfannot] | Make an annotation of a given |
make [Pdfpaper] | Make a paper size given its unit, width and height. |
make_border [Pdfannot] | Make a border. |
make_hex_pdf_string [Pdfwrite] | Convert a PDF string to Hex PDF string representation |
make_matrix [Pdf] | Build a matrix |
make_write_bitstream [Pdfio] | Return a new write bistream. |
many [Pdfutil] |
|
manyunique [Pdfutil] | A version where we need to apply unit each time, for instance when producing a list of random numbers. |
map [Pdfutil] | |
map2 [Pdfutil] | |
map3 [Pdfutil] | Similar to |
map4 [Pdfutil] | Similar to |
map5 [Pdfutil] | Similar to |
map6 [Pdfutil] | Similar to |
map_lol [Pdfutil] | Map on lists of lists. |
matrix_compose [Pdftransform] |
|
matrix_invert [Pdftransform] | Matrix inversion. |
matrix_of_op [Pdftransform] | Make a matrix from a single transformation operation |
matrix_of_transform [Pdftransform] | Make a matrix from a transform |
max [Pdfutil] | Monomorphic integer versions of |
mem [Pdfutil] | Synonym for |
mem' [Pdfutil] |
|
memoize [Pdfutil] |
|
merge_name_trees_no_clash [Pdftree] | Merge name trees, assuming no duplicate keys. |
merge_number_trees_no_clash [Pdftree] | Merge number trees, assuming no duplicate keys. |
merge_pagelabels [Pdfpagelabels] | Merge some page labels for some PDFs and page ranges. |
merge_pdfs [Pdfmerge] | Merge PDF files. |
merge_structure_trees [Pdfst] | Merge the structure tree given the part-merged PDF and list of original PDFs. |
mergedict [Pdfutil] | Merge two lists, preferring elements in the second in the case of clashes. |
millimetres [Pdfunits] | Convert a measurement to millimetres |
min [Pdfutil] | |
minimum_valid_pdf [Pdfpage] | Generate a PDF file with a single A4 page. |
mkbytes [Pdfio] | Make bytes from a given size. |
mkrotate [Pdftransform] | Make a rotation matrix to rotate by a number of radians around a point. |
mkscale [Pdftransform] | Make a transformation matrix from an x and y scale and a point to scale about. |
mkshearx [Pdftransform] | Matrix to shear in x by a given factor about a point. |
mksheary [Pdftransform] | Matrix to shear in y by a given factor about a point. |
mktranslate [Pdftransform] | Make a transformation matrix from x and y translation. |
mkunit [Pdfutil] |
|
mkunitvector [Pdfutil] | Make a unit vector in the direction from one point to a second. |
mkvector [Pdfutil] |
|
N | |
name_of_colourspace [Pdfspace] | Read the name of a colour, if it has one. |
name_to_dingbats [Pdfglyphlist] | Convert a glyph name to a Dingbats encoding number |
name_to_macexpert [Pdfglyphlist] | Convert a glyph name to a MacExpert encoding number |
name_to_macroman [Pdfglyphlist] | Convert a glyph name to a MacRoman encoding number |
name_to_pdf [Pdfglyphlist] | Convert a glyph name to a PDF encoding number |
name_to_pdf_hashes [Pdfglyphlist] | Convert a glyph name to a PDF encoding number, hash table version |
name_to_standard [Pdfglyphlist] | Convert a glyph name to a Standard encoding number |
name_to_symbol [Pdfglyphlist] | Convert a glyph name to a Symbol encoding number |
name_to_win [Pdfglyphlist] | Convert a glyph name to a Windows encoding number |
nametree_lookup [Pdf] | Calling |
neq [Pdfutil] | Inequality. |
never [Pdfutil] | The always-false predicate. |
no_more [Pdfio] | A distinguished byte value indicating "no more input" |
none [Pdfutil] | Predicates on the someness or noneness of an |
notnull [Pdfutil] | Predicates on the nullness of a list. |
notpred [Pdfutil] | Invert a predicate. |
nudge [Pdfio] | Move forward one byte |
null_hash [Pdfutil] | The empty zero-sized hash table. |
O | |
objcard [Pdf] | Return the size of the object map. |
objects_of_list [Pdf] | Make a objects entry from a parser and a list of (number, object) pairs. |
objects_referenced [Pdf] | Calling |
objiter [Pdf] | Iterate over the objects in a document. |
objiter_gen [Pdf] | Iterate over the objects in a document. |
objiter_inorder [Pdf] | The same, but in object number order. |
objnumbers [Pdf] | List the object numbers in a PDF. |
objselfmap [Pdf] | Map over all pdf objects in a document. |
odd [Pdfutil] | Even and odd predicates on integers. |
offset_point [Pdfutil] | Offset a point by a vector. |
option_map [Pdfutil] | Map with a function returning an |
option_map2 [Pdfutil] | Like |
output_of_channel [Pdfio] | Make an output from an OCaml channel |
P | |
page_object_number [Pdfpage] | Find a page indirect from the page tree of a document, given a page number. |
page_reference_numbers [Pdf] | List, in order, the page reference numbers of a PDF's page tree. |
pagelabel_of_pagenumber [Pdfpagelabels] | Single label representing a given page. |
pagelabeltext_of_pagenumber [Pdfpagelabels] | Return the text for a page label. |
pagenumber_of_target [Pdfpage] | Return a page number given a destination. |
pages_of_pagetree [Pdfpage] | Extract the page tree from a PDF document and parse it to a list of page objects. |
pair [Pdfutil] | A similar function to |
pair_ext [Pdfutil] | A version of |
pair_reduce [Pdfutil] | As |
pairs [Pdfutil] | Produce a list of overlapping pairs of elements in a list in order, producing the empty list if on singleton input. |
pairs_of_list [Pdfutil] | Make consecutive elements of an even-length list into a list of pairs. |
parse [Pdfread] | Parse a PDF object. |
parse_function [Pdffun] | Parse a function given a document and function object. |
parse_matrix [Pdf] | Calling |
parse_operators [Pdfops] | Given a pdf document, resource dictionary and list of streams representing the graphics content (PDF allows a single page's graphics content to be split over several streams), return a list of operators. |
parse_rectangle [Pdf] | Parse a PDF rectangle structure into min x, min y, max x, max y. |
parse_single_object [Pdfread] | Parse a single object. |
parse_single_stream [Pdfops] | Parse a single byte streams to an operator list given a document and resource dictionary. |
parse_stream [Pdfops] | Parse a list of byte streams to an operator list given a document and resource dictionary. |
parse_tounicode [Pdftext] | Parse a |
pdf_of_channel [Pdfread] | Same as |
pdf_of_channel_lazy [Pdfread] | As |
pdf_of_file [Pdfread] | Read a PDF from the given filename with optional user and owner passwords. |
pdf_of_input [Pdfread] | Read a PDF from a |
pdf_of_input_lazy [Pdfread] | Same as |
pdf_of_pages [Pdfpage] | Return a pdf with a subset of pages, but nothing else changed - exactly the same page object numbers, so bookmarks etc still work. |
pdf_to_channel [Pdfwrite] | As |
pdf_to_file [Pdfwrite] | Simple write to given file name. |
pdf_to_file_options [Pdfwrite] | As |
pdf_to_output [Pdfwrite] | Write a PDF document to an |
pdfdocstring_of_codepoints [Pdftext] | Build a pdf string in pdfdocencoding (if no unicode-only characters are used) or UTF16BE (if they are) |
pdfdocstring_of_utf8 [Pdftext] | Take a UTF8 string and convert to pdfdocencoding (if no unicode-only characters are used) or UTF16BE (if they are)) |
pdfobject_of_destination [Pdfdest] | Write a destination to a |
pdfobject_of_function [Pdffun] | Flatten a function to its PDF representation |
pdfobjmap_empty [Pdf] | Make an empty object map |
pdfobjmap_find [Pdf] | Find an object in the object map |
peek_byte [Pdfio] | Look at the next byte without advancing the pointer. |
peek_char [Pdfio] | Look at the next character without advancing the pointer. |
permissions [Pdfread] | Return list of permissions |
perpendicular [Pdfutil] | Find the vector |
pi [Pdfutil] | Pi. |
points [Pdfunits] | Convert a measurement to points |
position [Pdfutil] | Position of an element in a list, or |
position_1 [Pdfutil] | Position (1-based) in a list, or |
postpend_operators [Pdfpage] | Add operators to the end of a page. |
pow [Pdfutil] |
|
pow2gt [Pdfutil] | Largest power of two greater or equal to an integer. |
pow2lt [Pdfutil] | Largest power of two smaller or equal to an integer. |
prepend_operators [Pdfpage] | Add operators to the beginning of a page. |
print_bytes [Pdfio] | Print bytes to standard output. |
print_document_ocg [Pdfocg] | Print information about the document's Optional Content Groups to Standard Output. |
print_floats [Pdfutil] | Print a list of floating point numbers separated by spaces. |
print_function [Pdffun] | Print a function to Standard Output. |
print_int32s [Pdfutil] | Print a list of |
print_ints [Pdfutil] | Print a list of integers separated by spaces |
print_lexeme [Pdfread] | Print a lexeme to Standard Output with a space after it, for debug. |
protect [Pdfpage] | Calling |
putbit [Pdfio] | Put a single bit, 0 or 1. |
putval [Pdfio] | Put a multi-bit value (given as an |
R | |
rad_of_deg [Pdfutil] | |
read [Pdfafm] | Return the header lines (header item, contents), character metrics (character, width) and kerning pairs (char1, char2, kerm), and (charname, width) pairs from an AFM file. |
read [Pdfpagelabels] | Read the page labels from a document |
read_bookmarks [Pdfmarks] | Read the bookmarks from a document. |
read_char_back [Pdfio] | Read the previous character (if there is one), moving the pointer back one. |
read_colourspace [Pdfspace] | Read a colourspace from a PDF given a document, page resources dictionary and the colourspace object |
read_debug [Pdfread] | If set, some debug output is produced. |
read_destination [Pdfdest] | Read a destination given a PDF and destionation object. |
read_font [Pdftext] | Read a font from a given document and object |
read_header [Pdfread] | Read a PDF header |
read_line [Pdfio] | Read a line from an input in the manner of |
read_lines [Pdfio] | Read all the lines in an input, in the manner of |
read_name_tree [Pdftree] | Read a name tree as a flat (key, value) list. |
read_number_tree [Pdftree] | Read a number tree as a flat (key, value) list but with the numbers as strings. |
read_ocg [Pdfocg] | Read optional content data. |
really_drop_evens [Pdfutil] | Same as |
recompose [Pdftransform] | Recompose from the above information. |
recrypt_pdf [Pdfcrypt] |
|
rectangle_of_paper [Pdfpage] | Make a PDF rectangle from a Paper.papersize. |
recurse_array [Pdf] | Similarly for an |
recurse_dict [Pdf] | Use the given function on each element of a PDF dictionary. |
remove [Pdfpagelabels] | Remove all page labels. |
remove [Pdfutil] | Remove something from a list, if it's there. |
remove_bookmarks [Pdfmarks] | Remove the bookmarks from a document. |
remove_dict_entry [Pdf] | Remove a dictionary entry, if it exists. |
remove_duplicate_fonts [Pdfmerge] | Remove duplicate fonts from a PDF. |
remove_unreferenced [Pdf] | Garbage-collect a pdf document. |
removeobj [Pdf] | Remove the given object |
renumber [Pdf] | Perform the given renumberings on a PDF. |
renumber_object_parsed [Pdf] | Renumber an object given a change table. |
renumber_pages [Pdfpage] | Rename the resources within a number of page resource dictionaries and contents, so as to allow them to be merged without name clashes. |
renumber_parent_trees [Pdfst] | Renumber parent trees in a list of PDFs so as not to clash when subsequently merged. |
renumber_pdfs [Pdf] | Make a number of PDF documents contain no mutual object numbers. |
replace [Pdfutil] |
|
replace_chain [Pdf] |
|
replace_dict_entry [Pdf] |
|
replace_number [Pdfutil] |
|
replaceinlist [Pdfutil] |
|
rev [Pdfutil] | |
rev_compare [Pdfutil] | Like |
rev_map [Pdfutil] | |
rev_map3 [Pdfutil] | Similar to |
rev_map4 [Pdfutil] | Similar to |
rev_map5 [Pdfutil] | Similar to |
rev_map6 [Pdfutil] | Similar to |
reverse_glyph_hashes [Pdfglyphlist] | The reverse of |
reverse_name_to_pdf_hashes [Pdfglyphlist] | Convert a PDF encoding number to glyph name, hash table version. |
reverse_table_of_encoding [Pdftext] | Reverse table of all the entries in an encoding. |
revisions [Pdfread] | Read the number of revisions of the document, by performing a dummy read. |
rewind [Pdfio] | Move backward one byte |
roman_lower [Pdfutil] | Lowercase roman representation of a number |
roman_upper [Pdfutil] | Uppercase roman representation of a number |
root2 [Pdfutil] | Square root of two. |
rotation_of_int [Pdfpage] | The reverse. |
round [Pdfutil] | Round a real. |
S | |
safe_float [Pdfutil] | Make sure a floating point number is no degenarate, by making it zero if it is. |
scalevectolength [Pdfutil] | Scale a vector to a given length. |
select [Pdfutil] | Select the nth element in a list (first is element 1). |
set [Pdfutil] | Set a boolean reference to |
set_array [Pdfutil] | Set all the values of an array. |
setify [Pdfutil] | Remove duplicates from a list. |
setify_large [Pdfutil] | Same as |
setify_preserving_order [Pdfutil] | Same as |
setinit [Pdfio] |
|
setinit_string [Pdfio] |
|
setminus [Pdfutil] | The set |
setminus_preserving_order [Pdfutil] | The same, but preserving order |
sha256 [Pdfcryptprimitives] | SHA256 digest |
sha384 [Pdfcryptprimitives] | SHA344 digest |
sha512 [Pdfcryptprimitives] | SHA512 digest |
shortest_unused_prefix [Pdfpage] | Find the shortest lower-case alphabetic string which is not a prefix of any name in /Resources. |
sign_extend [Pdfutil] | The call |
simplify_utf16be [Pdftext] | Remake a UTF16BE string into a PDFDocEncoding string if all characters are in PDFDocEncoding |
some [Pdfutil] | |
sort [Pdfutil] | Tail-recursive versions of list functions (and some simple variations). |
split [Pdfutil] | |
split3 [Pdfutil] | |
split5 [Pdfutil] | |
split6 [Pdfutil] | |
split8 [Pdfutil] | |
split_around [Pdfutil] | Split a list into a list of lists at every point where a predicate is true |
splitat [Pdfutil] | Split a list at the given positions. |
splitinto [Pdfutil] | Split a list into some lists of length |
splitinto_small [Pdfutil] | Non-tail recursive version of splitinto, for use only when |
sqr [Pdfutil] | Square a number |
sr32 [Pdfutil] | |
sr64 [Pdfutil] | |
standard_font_of_name [Pdftext] | Parses a string such as "/Times-Bold" or "/TimesNewRoman,Bold" to Pdftext.TimesRomanBold etc. |
starts_with [Pdfutil] | The standard OCaml |
stemv_of_standard_font [Pdfstandard14] | Return a suitable StemV value for a standard font |
stream_of_ops [Pdfops] | Flatten a list of operators to an uncompressed PDF stream. |
string_of_bookmark [Pdfmarks] | Debug string from a bookmark. |
string_of_bytes [Pdfio] | Make a string from a bytes. |
string_of_char [Pdfutil] | Make a string from a character. |
string_of_colourspace [Pdfspace] | Produce a debug string |
string_of_date [Pdfdate] | Build a string from a date. |
string_of_font [Pdftext] | A debug string for the whole font datatype. |
string_of_input [Pdfio] |
|
string_of_int_array [Pdfio] | A string from a single int array |
string_of_int_arrays [Pdfio] | A string from a list of integer arrays |
string_of_labelstyle [Pdfpagelabels] | String of label style e.g DecimalArabic |
string_of_lexeme [Pdfread] | String representation of a lexeme |
string_of_matrix [Pdftransform] | String of a transformation matrix. |
string_of_op [Pdfops] | Make a string of a single operator (for debug purposes). |
string_of_ops [Pdfops] | Same as |
string_of_pagelabel [Pdfpagelabels] | Debug string of page label |
string_of_pdf [Pdfwrite] | Calculate a string of a pdf object. |
string_of_pdf_including_data [Pdfwrite] | Calculate a string of a pdf object, but include binary data too. |
string_of_standard_font [Pdftext] | Returns a string such as "Times-Bold" for Pdftext.TimesBold etc. |
string_of_token [Pdfgenlex] | For debug only. |
string_of_tokens [Pdfgenlex] | For debug only. |
string_of_transform [Pdftransform] | Make a string of a transform for debug purposes. |
string_replace_all [Pdfutil] | Calling |
string_replace_all_lazy [Pdfutil] | The same, but provide a function for the replacement string |
sum [Pdfutil] | Sum of a list of integers. |
swap [Pdfutil] | Swaps the data at the given indexes in an array. |
symbol_afm [Pdfafmdata] | |
T | |
table_of_encoding [Pdftext] | Table of all the entries in an encoding. |
tail_no_fail [Pdfutil] | Like |
tails [Pdfutil] | Ditto, tails. |
take [Pdfutil] |
|
take' [Pdfutil] | The same as |
takewhile [Pdfutil] | Take elements from a list while a given predicate is true, returning them in order. |
takewhile_reverse [Pdfutil] | The same as |
target_of_pagenumber [Pdfpage] | Build a basic |
text_extractor_of_font [Pdftext] | Build a text extractor from a document and font object |
text_extractor_of_font_real [Pdftext] | Build a text extractor from a document and a font |
textwidth [Pdfstandard14] | Calculate the width, in millipoints, of a string in the given font, taking into account kerning if the first argument is true. |
times_bold_afm [Pdfafmdata] | |
times_bold_italic_afm [Pdfafmdata] | |
times_italic_afm [Pdfafmdata] | |
times_roman_afm [Pdfafmdata] | |
tl [Pdfutil] | |
toint [Pdfutil] | Same as |
transform [Pdftransform] | Transform a coordinate by a given transform. |
transform_annotations [Pdfannot] | Transform all annotations in a document, e.g |
transform_bookmark [Pdfmarks] | Transform a bookmark's destination |
transform_destination [Pdfdest] | Transform a destination by a matrix |
transform_matrix [Pdftransform] | Transform a coordinate by a given transformation matrix. |
trim_structure_tree [Pdfst] | Trim structure tree to remove parts marked as not in the page range given. |
tryfind [Pdfutil] | Option lookup on hashtables |
tuple [Pdfutil] | Make a tuple. |
U | |
uncompress [Pdfflate] | Uncompress data. |
unique_key [Pdf] | Given a dictionary and a prefix (e.g gs), return a name, starting with the prefix, which is not already in the dictionary (e.g /gs0). |
unit [Pdfpaper] | Project the unit from a paper size |
unopt [Pdfutil] | Strip the |
uslegal [Pdfpaper] | United States paper sizes. |
usletter [Pdfpaper] | |
utf16be_of_codepoints [Pdftext] | A UTF16BE string for a list of unicode codepoints (with BOM) |
utf8_of_codepoints [Pdftext] | A UTF8 string for a list of unicode codepoints |
utf8_of_pdfdocstring [Pdftext] | Take a pdf string (which will be either pdfdocencoding or UTF16BE) and return a string representing the same unicode codepoints in UTF8 |
V | |
veclength [Pdfutil] | The length of a vector. |
W | |
what_encryption [Pdfread] | Return encryption method in use |
whitespace [Pdfops] | Whitespace between operators |
width [Pdfpaper] | Project the width from a paper size. |
write [Pdfpagelabels] | Write page labels to a document, replacing any there. |
write_bitstream_append_aligned [Pdfio] | Append two write bitstreams, aligning at boundary |
write_colourspace [Pdfspace] | Write a colourspace to a PDF, returning it. |
write_comments [Pdfops] | If set, comments will be written. |
write_debug [Pdfwrite] | When set to |
write_font [Pdftext] | Write a font to a given document, returning the object number for the main font dictionary |
write_ocg [Pdfocg] | Write optional content data. |
Z | |
zapf_dingbats_afm [Pdfafmdata] | We pass unit because the AFM files are parsed upon demand and then memoised. |
zipn [Pdfutil] | Take a list of lists of equal length, and turn into a list of lists, the first containing all the first elements of the original lists, the second the second, and so on. |