cpdf-source/docsplits/javascriptsplits/c01.tex

26 lines
974 B
TeX
Raw Permalink Normal View History

2022-05-18 18:47:31 +02:00
// CHAPTER 0. Preliminaries
2022-05-12 17:57:13 +02:00
2022-08-10 20:07:58 +02:00
/** Returns a string giving the version number of the CPDF library.
@returns {string} version */
function version() {}
2022-05-12 17:57:13 +02:00
2022-05-18 18:47:31 +02:00
/** Some operations have a fast mode. The default is 'slow' mode, which works
even on old-fashioned files. For more details, see section 1.13 of the CPDF
manual. This function sets the mode to fast globally. */
2022-08-10 20:07:58 +02:00
function setFast() {}
2022-05-12 17:57:13 +02:00
2022-05-18 18:47:31 +02:00
/** Some operations have a fast mode. The default is 'slow' mode, which works
even on old-fashioned files. For more details, see section 1.13 of the CPDF
manual. This function sets the mode to slow globally. */
2022-08-10 20:07:58 +02:00
function setSlow() {}
2022-05-12 17:57:13 +02:00
2022-08-10 20:07:58 +02:00
/** Delete a PDF so the memory representing it may be recovered.
@arg {pdf} pdf PDF document to delete */
function deletePdf(pdf) {}
2022-05-12 17:57:13 +02:00
2022-05-18 18:47:31 +02:00
/* A debug function which prints some information about resource usage. This
can be used to detect if PDFs or ranges are being deallocated properly.
Contrary to its name, it may be run at any time. */
2022-08-10 20:07:58 +02:00
function onexit() {}