All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PageSet.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2023 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  {
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
void AddPage(int one_page)
void AddRange(int range_start, int range_end, Filter filter=e_all)