| 12345678910111213141516171819202122232425262728293031323334353637 |
- //
- // DocumentPageViewController.h
- // AntsContract
- //
- // Created by Ray on 12/16/16.
- // Copyright © 2016 United Software Applications, Inc. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- typedef NS_ENUM(NSInteger, PDFEditAction) {
- PDFEditActionNew = 0,
- PDFEditActionModify = 1
- };
- @interface DocumentPageViewController : UIViewController <UIPageViewControllerDelegate , UIPageViewControllerDataSource>
- @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
|