- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JobRequest.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5
6 #ifndef H_PDFJobRequest
7 #define H_PDFJobRequest
8
9 namespace pdftron {
10 namespace PDF {
11
12 class JobRequest
13 {
14 public:
15
16 /*
17 * ResultState contains the valid result state of requesting a job
18 */
19 enum ResultState {
20 e_failure,
21 e_success,
22 e_security_error,
23 e_cancel,
24 e_package_error,
25 e_previous_crash,
26 e_not_found,
27 e_fetch,
28 e_render,
29 e_postponed
30 };
31
39 typedef void(*ProcHandler) (ResultState state, const char * utf8_filepath, void * custom_data);
40 };
41
42 }; // namespace PDF
43 }; // namespace pdftron
44
45 #endif // H_PDFJobRequest
pdftron::PDF::JobRequest::e_postponed
Change to e_success for final release.
Definition: JobRequest.h:29
pdftron::PDF::JobRequest::ProcHandler
void(* ProcHandler)(ResultState state, const char *utf8_filepath, void *custom_data)
Definition: JobRequest.h:39
pdftron::PDF::JobRequest::e_success
Successful retrieval of the request.
Definition: JobRequest.h:21
pdftron::PDF::JobRequest::e_cancel
The request was cancelled before it was processed.
Definition: JobRequest.h:23
pdftron::PDF::JobRequest::e_failure
The request could not be retrieved.
Definition: JobRequest.h:20
pdftron::PDF::JobRequest::e_render
Definition: JobRequest.h:28
pdftron::PDF::JobRequest::e_package_error
Failure due to encountering a PDF package.
Definition: JobRequest.h:24
pdftron::PDF::JobRequest::e_fetch
The following cases are just used for debugging and are not exposed.
Definition: JobRequest.h:27
pdftron::PDF::JobRequest
Definition: JobRequest.h:12
pdftron::PDF::JobRequest::e_previous_crash
Abort this render because we&#39;ve crashed on this file previously.
Definition: JobRequest.h:25
pdftron::PDF::JobRequest::e_security_error
Failure due to password restriction.
Definition: JobRequest.h:22
pdftron::PDF::JobRequest::e_not_found
GetBitmap was called with a uuid, but could not find the bitmap. GetBitmap should be called again wit...
Definition: JobRequest.h:26
pdftron::PDF::JobRequest::ResultState
ResultState
Definition: JobRequest.h:19