mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
more
This commit is contained in:
@@ -1,24 +1,22 @@
|
||||
/* CHAPTER 0. Preliminaries */
|
||||
// CHAPTER 0. Preliminaries
|
||||
|
||||
/** Initialises the library. Must be called before any other function. */
|
||||
public native void startup() throws CpdfError;
|
||||
/** Returns a string giving the version number of the CPDF library. */
|
||||
function version()
|
||||
|
||||
/** Returns a string giving the version number of the Jcpdf library. */
|
||||
public native String version() throws CpdfError;
|
||||
/** 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. */
|
||||
function setFast()
|
||||
|
||||
/** Sets fast mode. 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 functions sets the mode to fast
|
||||
globally. */
|
||||
public native void setFast() throws CpdfError;
|
||||
/** 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. */
|
||||
function setSlow()
|
||||
|
||||
/** Sets slow mode. 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 functions sets the mode to slow
|
||||
globally. */
|
||||
public native void setSlow() throws CpdfError;
|
||||
/** Delete a PDF so the memory representing it may be recovered. */
|
||||
function deletePdf(pdf)
|
||||
|
||||
/** 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. */
|
||||
public native void onExit();
|
||||
/* 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. */
|
||||
function onexit()
|
||||
|
Reference in New Issue
Block a user