Loading...
Searching...
No Matches
PDFDocViewPrefs.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_CPPPDFPDFDocViewPrefs
6#define PDFTRON_H_CPPPDFPDFDocViewPrefs
7
8#include <C/PDF/TRN_PDFDocViewPrefs.h>
9#include <PDF/Page.h>
10#include <PDF/Destination.h>
11
12namespace pdftron {
13 namespace PDF {
14
26{
27public:
28
48
70
78
83
120
129
134
175
182 void SetPref(ViewerPref pref, bool value);
183
188 bool GetPref(ViewerPref pref);
189
201
208
223 void SetDirection(bool left_to_right);
224
231
241
247
256
262
271
277
286
292
298
307
308 //added default constructor for swig
310
311// @cond PRIVATE_DOC
312#ifndef SWIGHIDDEN
313 TRN_PDFDocViewPrefs mp_prefs;
314 PDFDocViewPrefs(TRN_PDFDocViewPrefs impl);
315#endif
316// @endcond
317};
318
319
320
321#include <Impl/PDFDocViewPrefs.inl>
322
323
324 }; // namespace PDF
325}; // namespace pdftron
326
327#endif // PDFTRON_H_CPPPDFPDFDocViewPrefs
void SetNonFullScreenPageMode(PageMode mode)
void SetLayoutMode(PageLayout layout)
void SetViewClip(Page::Box box)
void SetViewArea(Page::Box box)
void SetPref(ViewerPref pref, bool value)
void SetPrintClip(Page::Box box)
bool GetPref(ViewerPref pref)
void SetInitialPage(Destination &dest)
PDFDocViewPrefs(const PDFDocViewPrefs &)
PDFDocViewPrefs & operator=(const PDFDocViewPrefs &)
void SetPrintArea(Page::Box box)
void SetPageMode(PageMode mode)
void SetDirection(bool left_to_right)