Library
ISODocumentViewControllerDelegate.h
1 //
2 // ISODocumentViewControllerDelegate.h
3 // iSignatureOffice
4 //
5 // Created by Florian Student on 10/4/12.
6 // Copyright (c) 2012 Florian Student. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
11 #define DVCD_ACTION_SEPARATOR @"DVCD_ACTION_SEPARATOR" //pseudo action to allow grouping
12 #define DVCD_ACTION_FIXED_SEPARATOR @"DVCD_ACTION_FIXED_SEPARATOR" //pseudo action to allow grouping
13 #define DVCD_ACTION_FIXED_SEPARATOR_0 @"DVCD_ACTION_FIXED_SEPARATOR_0" //pseudo action to allow grouping
14 #define DVCD_ACTION_FIXED_SEPARATOR_1 @"DVCD_ACTION_FIXED_SEPARATOR_1" //pseudo action to allow grouping
15 #define DVCD_ACTION_FIXED_SEPARATOR_2 @"DVCD_ACTION_FIXED_SEPARATOR_2" //pseudo action to allow grouping
16 #define DVCD_ACTION_FIXED_SEPARATOR_3 @"DVCD_ACTION_FIXED_SEPARATOR_3" //pseudo action to allow grouping
17 #define DVCD_ACTION_FIXED_SEPARATOR_4 @"DVCD_ACTION_FIXED_SEPARATOR_4" //pseudo action to allow grouping
18 #define DVCD_ACTION_FIXED_SEPARATOR_5 @"DVCD_ACTION_FIXED_SEPARATOR_5" //pseudo action to allow grouping
19 #define DVCD_ACTION_FIXED_SEPARATOR_6 @"DVCD_ACTION_FIXED_SEPARATOR_6" //pseudo action to allow grouping
20 #define DVCD_ACTION_FIXED_SEPARATOR_7 @"DVCD_ACTION_FIXED_SEPARATOR_7" //pseudo action to allow grouping
21 #define DVCD_ACTION_FIXED_SEPARATOR_8 @"DVCD_ACTION_FIXED_SEPARATOR_8" //pseudo action to allow grouping
22 #define DVCD_ACTION_FIXED_SEPARATOR_9 @"DVCD_ACTION_FIXED_SEPARATOR_9" //pseudo action to allow grouping
23 
24 
25 #define DVCD_ACTION_PRINT_DOCUMENT @"DVCD_ACTION_PRINT_DOCUMENT"
26 
27 #define DVCD_ACTION_CLOSE_DOCUMENT_SAVING_CHANGES @"DVCD_ACTION_CLOSE_DOCUMENT_SAVING_CHANGES"
28 #define DVCD_ACTION_CLOSE_DOCUMENT_LOSING_CHANGES @"DVCD_ACTION_CLOSE_DOCUMENT_LOSING_CHANGES"
29 #define DVCD_ACTION_SIGN_ALL @"DVCD_ACTION_SIGN_ALL"
30 
31 #define DVCD_ACTION_ADD_PHOTO_SIGNATURE @"DVCD_ACTION_ADD_PHOTO_SIGNATURE"
32 #define DVCD_ACTION_DELETE_PHOTO_SIGNATURE @"DVCD_ACTION_DELETE_PHOTO_SIGNATURE"
33 #define DVCD_ACTION_APPLY_PHOTO_SIGNATURE @"DVCD_ACTION_APPLY_PHOTO_SIGNATURE"
34 #define DVCD_ACTION_APPLY_OPTIONAL_PHOTO_SIGNATURE @"DVCD_ACTION_APPLY_OPTIONAL_PHOTO_SIGNATURE"
35 #define DVCD_ACTION_UNAPPLY_PHOTO_SIGNATURE @"DVCD_ACTION_UNAPPLY_PHOTO_SIGNATURE"
36 
37 #define DVCD_ACTION_ADD_PHOTO_ATTACHMENT @"DVCD_ACTION_ADD_PHOTO_ATTACHMENT"
38 
39 #define DVCD_ACTION_ADD_SIGNATURE_FIELD @"DVCD_ACTION_ADD_SIGNATURE_FIELD"
40 #define DVCD_ACTION_DELETE_SIGNATURE_FIELD @"DVCD_ACTION_DELETE_SIGNATURE_FIELD"
41 
42 #define DVCD_ACTION_APPLY_SIGNATURE_FIELD @"DVCD_ACTION_APPLY_SIGNATURE_FIELD" // //"Signaturfeld aufbringen (Pflichtfeld)"
43 #define DVCD_ACTION_APPLY_OPTIONAL_SIGNATURE_FIELD @"DVCD_ACTION_APPLY_OPTIONAL_SIGNATURE_FIELD" // //"Signaturfeld aufbringen (optional)"
44 #define DVCD_ACTION_UNAPPLY_SIGNATURE_FIELD @"DVCD_ACTION_UNAPPLY_SIGNATURE_FIELD" //go back to editing (i.e. changing frame)
45 
46 #define DVCD_ACTION_CANCEL_SIGNING @"DVCD_ACTION_CANCEL_SIGNING"
47 #define DVCD_ACTION_RESTART_SIGNING @"DVCD_ACTION_RESTART_SIGNING"
48 #define DVCD_ACTION_SKIP_SIGNING @"DVCD_ACTION_SKIP_SIGNING"
49 #define DVCD_ACTION_JUMP_TO_PREVIOUS_SIGNATURE @"DVCD_ACTION_JUMP_TO_PREVIOUS_SIGNATURE"
50 #define DVCD_ACTION_COMPLETE_SIGNING @"DVCD_ACTION_COMPLETE_SIGNING"
51 
52 
54 
55 - (void)documentCloses;
56 - (void)setAvailableActions:(NSArray*)actions;
57 @optional
58 - (void)setDefaultActions;
59 - (void)formfieldInteractionActive:(BOOL)active;
60 - (void)signAllSignatureFieldsHasFinished:(int)remainingUnsignedSignatureFieldsCount;
61 
62 //for debugging:
63 - (void)showDebuggingOverlay:(CGRect)frame;
64 
65 @end
Definition: ISODocumentViewControllerDelegate.h:53