- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ReflowProcessor.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 PDFTRON_H_CPPPDFReflowProcessor
7 #define PDFTRON_H_CPPPDFReflowProcessor
8
9 #include <C/PDF/TRN_ReflowProcessor.h>
10 #include <PDF/JobRequest.h>
11 #include <PDF/Page.h>
12 #include <Common/UString.h>
13
14 namespace pdftron {
15 namespace PDF {
16
17 /************************************************************************/
18 /* ReflowProcessor */
19 /************************************************************************/
37 class ReflowProcessor
38 {
39 public:
45 static void Initialize();
49 static bool IsInitialized();
57 static void GetReflow(const Page & page, JobRequest::ProcHandler proc, void * custom_data);
61 static void CancelAllRequests();
65 static void CancelRequest(const Page & page);
69 //static void CancelRequest(const string & doc_id);
73 static void ClearCache();
77 static void SetNoReflowContent(const UString & utf8_content);
81 static void SetReflowFailedContent(const UString & utf8_content);
82 };
83
84 #include <Impl/ReflowProcessor.inl>
85
86 } // namespace PDF
87 } // namespace pdftron
88
89 #endif // PDFTRON_H_CPPPDFReflowProcessor
pdftron::PDF::ReflowProcessor::CancelRequest
static void CancelRequest(const Page &page)
pdftron::PDF::JobRequest::ProcHandler
void(* ProcHandler)(ResultState state, const char *utf8_filepath, void *custom_data)
Definition: JobRequest.h:39
UString.h
pdftron::PDF::ReflowProcessor::SetNoReflowContent
static void SetNoReflowContent(const UString &utf8_content)
pdftron::PDF::ReflowProcessor::IsInitialized
static bool IsInitialized()
pdftron::PDF::ReflowProcessor
Definition: ReflowProcessor.h:37
pdftron::PDF::ReflowProcessor::Initialize
static void Initialize()
pdftron::PDF::ReflowProcessor::ClearCache
static void ClearCache()
pdftron::PDF::Page
Definition: Page.h:31
Page.h
pdftron::PDF::ReflowProcessor::GetReflow
static void GetReflow(const Page &page, JobRequest::ProcHandler proc, void *custom_data)
JobRequest.h
pdftron::PDF::ReflowProcessor::CancelAllRequests
static void CancelAllRequests()
pdftron::PDF::ReflowProcessor::SetReflowFailedContent
static void SetReflowFailedContent(const UString &utf8_content)
pdftron::UString
Definition: UString.h:27