DocumentPageViewController.h 1011 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // DocumentPageViewController.h
  3. // AntsContract
  4. //
  5. // Created by Ray on 12/16/16.
  6. // Copyright © 2016 United Software Applications, Inc. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef NS_ENUM(NSInteger, PDFEditAction) {
  10. PDFEditActionNew = 0,
  11. PDFEditActionModify = 1
  12. };
  13. @interface DocumentPageViewController : UIViewController <UIPageViewControllerDelegate , UIPageViewControllerDataSource>
  14. @property (strong, nonatomic) UIPageViewController *pageViewController;
  15. @property (strong, nonatomic) NSMutableDictionary * controlTemplate;
  16. @property size_t total_page;
  17. @property CGPDFDocumentRef document;
  18. @property (strong, nonatomic) NSMutableDictionary* signatureData;
  19. @property (strong, nonatomic) NSString* pdfName;
  20. @property (strong, nonatomic) NSString* templateName;
  21. @property (strong, nonatomic) NSString* docment_id;
  22. @property long current_page;
  23. @property (nonatomic , copy) void (^OnSave)(NSString * file, NSString* subject );
  24. @property (assign) PDFEditAction action;
  25. @end