Loading...
Searching...
No Matches
PageSet.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_CPPPDFPageSet
6#define PDFTRON_H_CPPPDFPageSet
7
8#include <C/PDF/TRN_PageSet.h>
9#include <Common/Common.h>
10
11 namespace pdftron{
12 namespace PDF{
13
20 class PageSet
21{
22
23 public:
24
25 enum Filter
26 {
27 e_all,
28 e_even,
29 e_odd
30 };
31
35 PageSet( );
36
42 PageSet( int one_page );
43
49 PageSet( int range_start, int range_end, Filter filter = e_all);
50
51
55 ~PageSet();
56
57
63 void AddPage( int one_page );
64
75 void AddRange( int range_start, int range_end, Filter filter = e_all );
76
80 void Destroy();
81
82 // @cond PRIVATE_DOC
83
84 #ifndef SWIGHIDDEN
85 PageSet(TRN_PageSet impl);
86 TRN_PageSet mp_impl;
87 #endif
88 // @endcond
89
90 private :
91 PageSet(Filter filter);
92};
93
94#include <Impl/PageSet.inl>
95
96 }
97}
98
99#endif // PDFTRON_H_CPPPDFPageSet
Common.h
pdftron::PDF::PageSet::~PageSet
~PageSet()
pdftron::PDF::PageSet::PageSet
PageSet()
pdftron::PDF::PageSet::Filter
Filter
Definition PageSet.h:26
pdftron::PDF::PageSet::e_all
@ e_all
Definition PageSet.h:27
pdftron::PDF::PageSet::e_even
@ e_even
Definition PageSet.h:28
pdftron::PDF::PageSet::e_odd
@ e_odd
Definition PageSet.h:29
pdftron::PDF::PageSet::AddPage
void AddPage(int one_page)
pdftron::PDF::PageSet::AddRange
void AddRange(int range_start, int range_end, Filter filter=e_all)
pdftron::PDF::PageSet::PageSet
PageSet(int range_start, int range_end, Filter filter=e_all)
pdftron::PDF::PageSet::PageSet
PageSet(int one_page)
pdftron::PDF::PageSet::Destroy
void Destroy()
pdftron::PDF
Definition Action.h:15
pdftron
Definition BasicTypes.h:10