// // DocumentPageViewController.h // AntsContract // // Created by Ray on 12/16/16. // Copyright © 2016 United Software Applications, Inc. All rights reserved. // #import typedef NS_ENUM(NSInteger, PDFEditAction) { PDFEditActionNew = 0, PDFEditActionModify = 1 }; @interface DocumentPageViewController : UIViewController @property (weak, nonatomic) IBOutlet UIButton *left_button; @property (weak, nonatomic) IBOutlet UIButton *right_button; @property (strong, nonatomic) UIPageViewController *pageViewController; @property (strong, nonatomic) NSMutableDictionary * controlTemplate; @property size_t total_page; @property CGPDFDocumentRef document; @property (strong, nonatomic) NSMutableDictionary* signatureData; @property (assign, nonatomic) bool hide_control; @property (assign, nonatomic) bool no_save; @property (strong, nonatomic) NSString* pdfPath;//pdfName; @property (strong, nonatomic) NSString* templatePath;//templateName; @property (weak, nonatomic) IBOutlet UIBarButtonItem *ibSave; @property (strong, nonatomic) NSString* docment_id; @property long current_page; @property (nonatomic , copy) void (^OnSave)(NSString * file, NSString* subject ); @property (assign) PDFEditAction action; @end