Go to the source code of this file.
Defines | |
| #define | RUNPDFTEX_VERSION_MAJOR 0 |
| major version number | |
| #define | RUNPDFTEX_VERSION_MINOR 2 |
| minor version number | |
Typedefs | |
| typedef runpdftex_data_struct | runpdftex_data_t |
| runpdftex_data_t is the type to be used by applications | |
Enumerations | |
| enum | runpdftex_status_t { RUNPDFTEX_STATUS_OK = 0, RUNPDFTEX_NO_MEM_ERROR, RUNPDFTEX_CFG_ERROR, RUNPDFTEX_INVALID_INPUT, RUNPDFTEX_SYSTEM_ERROR, RUNPDFTEX_PDFTEX_ERROR } |
| runpdftex_status_t is the type to indicate errors that can occur with runpdftex. More... | |
Functions | |
| runpdftex_data_t * | runpdftex_create (void) |
| creates a runpdftex_data_t object to be passed to other runpdftex functions. | |
| runpdftex_status_t | runpdftex_set_tex_file (runpdftex_data_t *data, const char *tex_file) |
| set the tex file to be compiled by pdftex. | |
| runpdftex_status_t | runpdftex_set_working_dir (runpdftex_data_t *data, const char *working_dir) |
| set the working dir where compilation by pdftex will take place. | |
| runpdftex_status_t | runpdftex_add_option (runpdftex_data_t *data, const char *opt) |
| add options that will be passed to pdftex. | |
| runpdftex_status_t | runpdftex_run (runpdftex_data_t *data) |
| execute pdftex with the parameters stored in the runpdftex_data_t object. | |
| runpdftex_status_t | runpdftex_get_status (runpdftex_data_t *data) |
| get the error status of a runpdftex_data_t object. | |
| const char * | runpdftex_get_status_str (runpdftex_data_t *data) |
| get the error string of a runpdftex_data_t object. | |
| void | runpdftex_destroy (runpdftex_data_t *data) |
| destroys the runpdftex_data_t object created by runpdftex_create(). | |
Definition in file runpdftex.h.
|
|
runpdftex_status_t is the type to indicate errors that can occur with runpdftex. In most cases it is returned by a function, and also stored within the runpdftex_data_t object that was passed to the function. The error of an object can be retrieved using runpdftex_get_status(), and a more descriptive error string is available via runpdftex_get_status_str(). When an error occurs with a runpdftex_data_t object, further manipulation on this object won't have any effect: most functions simply return the error code stored within the object and do nothing else.
Definition at line 23 of file runpdftex.h. 00023 {
00024 RUNPDFTEX_STATUS_OK = 0,
00025 RUNPDFTEX_NO_MEM_ERROR,
00026 RUNPDFTEX_CFG_ERROR,
00027 RUNPDFTEX_INVALID_INPUT,
00028 RUNPDFTEX_SYSTEM_ERROR,
00029 RUNPDFTEX_PDFTEX_ERROR
00030 } runpdftex_status_t;
|
|
||||||||||||
|
add options that will be passed to pdftex.
|
|
|
creates a runpdftex_data_t object to be passed to other runpdftex functions.
|
|
|
destroys the runpdftex_data_t object created by runpdftex_create().
|
|
|
get the error status of a runpdftex_data_t object.
|
|
|
get the error string of a runpdftex_data_t object.
|
|
|
execute pdftex with the parameters stored in the runpdftex_data_t object.
|
|
||||||||||||
|
set the tex file to be compiled by pdftex.
|
|
||||||||||||
|
set the working dir where compilation by pdftex will take place.
|
1.4.2