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-2018 by PDFTron Systems 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 <PDF/PDFDoc.h>
10 #include <Common/Common.h>
11 
12 namespace pdftron{
13  namespace PDF{
14 
21 class PageSet
22 {
23 
24 public:
25 
26  enum Filter
27  {
31  };
32 
36  PageSet( );
37 
43  PageSet( int one_page );
44 
50  PageSet( int range_start, int range_end, Filter filter = e_all);
51 
52 
56  ~PageSet();
57 
58 
64  void AddPage( int one_page );
65 
76  void AddRange( int range_start, int range_end, Filter filter = e_all );
77 
81  void Destroy();
82 
84  #ifndef SWIGHIDDEN
85  PageSet(TRN_PageSet impl);
86  TRN_PageSet mp_impl;
87  #endif
88  private :
90  PageSet(Filter filter);
91 };
92 
93 #include <Impl/PageSet.inl>
94 
95  }
96 }
97 
98 #endif // PDFTRON_H_CPPPDFPageSet
void AddPage(int one_page)
void AddRange(int range_start, int range_end, Filter filter=e_all)

© 2002-2014 PDFTron Systems Inc.