Loading...
Searching...
No Matches
ViewerOptimizedOptions.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#ifndef PDFTRON_H_CPPPDFViewerOptimizedOptions
6#define PDFTRON_H_CPPPDFViewerOptimizedOptions
7
8#include <C/PDF/TRN_Convert.h>
9#include <SDF/Obj.h>
10#include <SDF/ObjSet.h>
11#include <Common/Common.h>
12#include <PDF/PDFRasterizer.h>
13#include <Common/BasicTypes.h>
14
15 namespace pdftron {
16 namespace PDF {
17
18 class ViewerOptimizedOptions
19{
20 public:
21
22 ViewerOptimizedOptions();
23
35 void SetThumbnailRenderingThreshold(UInt32 threshold);
36
45 void SetMinimumInitialThumbnails(UInt32 initial_thumbs);
46
52 void SetThumbnailSize(UInt32 size);
53
62 void SetOverprint(PDFRasterizer::OverprintPreviewMode mode);
63
64// @cond PRIVATE_DOC
65#ifndef SWIGHIDDEN
66 TRN_Obj m_obj;
67 SDF::ObjSet m_objset;
68#endif
69// @endcond
70};
71
72#include <Impl/ViewerOptimizedOptions.inl>
73
74 }; // namespace PDF
75}; // namespace pdftron
76
77#endif
BasicTypes.h
Common.h
Obj.h
ObjSet.h
PDFRasterizer.h
pdftron::PDF::PDFRasterizer::OverprintPreviewMode
OverprintPreviewMode
Definition PDFRasterizer.h:114
pdftron::PDF::ViewerOptimizedOptions::ViewerOptimizedOptions
ViewerOptimizedOptions()
pdftron::PDF::ViewerOptimizedOptions::SetThumbnailRenderingThreshold
void SetThumbnailRenderingThreshold(UInt32 threshold)
pdftron::PDF::ViewerOptimizedOptions::SetMinimumInitialThumbnails
void SetMinimumInitialThumbnails(UInt32 initial_thumbs)
pdftron::PDF::ViewerOptimizedOptions::SetOverprint
void SetOverprint(PDFRasterizer::OverprintPreviewMode mode)
pdftron::PDF::ViewerOptimizedOptions::SetThumbnailSize
void SetThumbnailSize(UInt32 size)
pdftron::SDF::ObjSet
Definition ObjSet.h:18
pdftron::PDF
Definition Action.h:15
pdftron
Definition BasicTypes.h:10
pdftron::UInt32
TRN_UInt32 UInt32
Definition BasicTypes.h:13