| ( *.= ) [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_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. |
| 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. |
| bbox_of_graphic [Pdfgraphics] | Bounding box xmin, xmax, ymin, yman of a graphic |
| between [Pdfutil] | Find the point equidistant between two others. |
| bget [Pdfio] | Get the value at a position in a bytes |
| bget_unsafe [Pdfio] | Like |
| 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. |
| bset [Pdfio] |
|
| bset_unsafe [Pdfio] | Like |
| 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 | |
| change_pages [Pdfpage] | Change the pages in a document for some new ones. |
| charcode_extractor_of_encoding [Pdftext] | Return the character code for a given unicode codepoint, if it exists in this encoding. |
| charlist_of_bytes [Pdfio] | Make a character list from a bytes |
| circle [Pdfshapes] | Calling |
| 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_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. |
| 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. |
| conspair [Pdfutil] | Consing to each of a pair of lists at the same time. |
| conspairopt [Pdfutil] | Version of |
| convert [Pdfunits] |
|
| 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_next_n_chars [Pdfio] | Debug the next |
| 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. |
| 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. |
E | |
| empty [Pdf] | The empty document (PDF 1.0, no objects, no root, empty trailer dictionary). |
| encode_pdfstream [Pdfcodec] | Encode a PDF stream with an encoding. |
| endpage [Pdfpage] | Number of pages in a document, faster than reading the pages and counting. |
| eq [Pdfutil] | Equality. |
| 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 |
| 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 |
| flatten [Pdfutil] | |
| flip [Pdfutil] | Flip a boolean reference |
| flprint [Pdfutil] | Print a string and flush standard output. |
| fmax [Pdfutil] | |
| fmin [Pdfutil] | |
| fold_left [Pdfutil] | |
| fold_right [Pdfutil] | |
G | |
| get_image [Pdfimage] | Similarly, but if it's to be Raw, use the smallest pixel layout required to represent the data. |
| 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_image_raw [Pdfimage] | Get the uncompressed image contents, decoding JPEG, JPEG2000 and JBIG2 as required. |
| get_image_raw_24bpp [Pdfimage] | Get the uncompressed image contents in 24bpp, decoding JPEG, JPEG2000 and JBIG2 as required. |
| get_image_unprocessed_pixel [Pdfimage] | Return a function which, when given an x and y coordinate, returns the pixel byte values prior to any decoding, i.e in the raw input image data before /Decode, /Index lookups and so on. |
| 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 either a |
| getstream [Pdf] | Get a stream from disc if it hasn't already been got. |
| 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 |
| graphic_of_ops [Pdfgraphics] | Make a graphic from a simple string. |
| graphic_of_page [Pdfgraphics] | Make a graphic from operations. |
H | |
| hashset_of_list [Pdfutil] | |
| 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. |
| ilist [Pdfutil] |
|
| ilist_fail_null [Pdfutil] | Same as |
| ilist_null [Pdfutil] | Same as |
| implode [Pdfutil] | String representing a list of characters. |
| 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_encrypted [Pdfcrypt] | Is a PDF encrypted? |
| 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 | |
| kappa [Pdfshapes] | The factor by which the radius of a circle is multiplied to find the length of the bezier control lines when approximating quarter arcs to make circles. |
| 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] | |
| list_of_hashtbl [Pdfutil] | Make a list of key-value pairs reflecting the contents of a hash table. |
| lnot32 [Pdfutil] | |
| lnot64 [Pdfutil] | |
| log2of [Pdfutil] | Base two logarithm |
| lookup [Pdfutil] |
|
| 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_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_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 |
| 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_pagelabels [Pdfpagelabels] | Merge some page labels for some PDFs and page ranges. |
| merge_pdfs [Pdfmerge] | Merge PDF files. |
| mergedict [Pdfutil] | Merge two lists, preferring elements in the second in the case of clashes. |
| min [Pdfutil] | |
| 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_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 |
| 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. |
| 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. |
| 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. |
| ops_of_simple_graphic [Pdfgraphics] | Operations from a simple graphic (i.e no need for resources etc.) |
| 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_of_graphic [Pdfgraphics] | Flatten a graphic to a list of operations and replace the operations in a page by them, returning the new page. |
| pagelabel_of_pagenumber [Pdfpagelabels] | Single label representing a given page. |
| pagelabeltext_of_pagenumber [Pdfpagelabels] | Return the text for a page label. |
| 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_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_stream [Pdfops] | Parse a single byte stream to an operator list given a document and resource dictionary. |
| 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. |
| perpendicular [Pdfutil] | Find the vector |
| pi [Pdfutil] | Pi. |
| position [Pdfutil] | Position of an element in a list, or |
| position_1 [Pdfutil] | Position (1-based) in a list, or |
| 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. |
| print_bytes [Pdfio] | Print bytes to standard output. |
| print_floats [Pdfutil] | Print a list of floating point numbers separated by spaces. |
| print_int32s [Pdfutil] | Print a list of |
| print_ints [Pdfutil] | Print a list of integers separated by spaces |
| 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_destination [Pdfdest] | Read a destination given a PDF and destionation object. |
| read_font [Pdftext] | Read a font from a given document and object |
| 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_ocg [Pdfocg] | Read optional content data. |
| really_drop_evens [Pdfutil] | Same as |
| recompose [Pdftransform] | Recompose from the above information. |
| rectangle [Pdfshapes] | Calling |
| 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_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_pdfs [Pdf] | Make a number of PDF documents contain no mutual object numbers. |
| replace [Pdfutil] |
|
| replace_dict_entry [Pdf] |
|
| replace_number [Pdfutil] |
|
| replaceinlist [Pdfutil] |
|
| restrict_angle [Pdfshapes] | Calling |
| rev [Pdfutil] | |
| rev_compare [Pdfutil] | Like |
| rev_map [Pdfutil] | |
| rev_map3 [Pdfutil] | Similar to |
| rev_map4 [Pdfutil] | Similar to |
| rev_map5 [Pdfutil] | Similar to |
| reverse_glyph_hashes [Pdfglyphlist] | The reverse of |
| 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_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 |
| sign_extend [Pdfutil] | The call |
| 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 |
| standard_font_of_name [Pdftext] | Parses a string such as "/Times-Bold" or "/TimesNewRoman,Bold" to Pdftext.TimesRomanBold etc. |
| 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. |
| streams_of_simple_graphic [Pdfgraphics] | Pdfdoc.content entry from a simple graphic (i.e no need for resources etc.) |
| 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_graphic [Pdfgraphics] | Debug string of a |
| 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_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_path [Pdfgraphics] | |
| string_of_pdf [Pdfwrite] | Calculate a string of a pdf object. |
| string_of_standard_font [Pdftext] | Returns a string such as "Times-Bold" for Pdftext.TimesBold etc. |
| 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 |
| 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 |
| text_extractor_of_font [Pdftext] | Build a text extractor from a document and font object |
| 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] | |
| to_type3 [Pdftype0] | Convert an Type 0 composite font containing CFF / Type 1 / Truetype descendant font into a Type 3 font. |
| to_type3 [Pdftruetype] | |
| to_type3 [Pdftype1] | |
| to_type3 [Pdfcff] | The Type 3 font is not necessarily valid for inclusion in a PDF, we just intend to use it for rendering. |
| toint [Pdfutil] | Same as |
| transform [Pdftransform] | Transform a coordinate by a given transform. |
| transform_bookmark [Pdfmarks] | Transform a bookmark's destination |
| transform_destination [Pdfdest] | Transform a destination by a matrix |
| transform_graphic [Pdfgraphics] | Transform a graphic by a matrix. |
| transform_matrix [Pdftransform] | Transform a coordinate by a given transformation matrix. |
| 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] | |
| 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 | |
| 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_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] | |
| 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. |