CPDFStampViewController.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. // CPDFStampViewController.h
  3. // ComPDFKit_Tools
  4. //
  5. // Copyright © 2014-2024 PDF Technologies, Inc. All Rights Reserved.
  6. //
  7. // THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
  8. // AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
  9. // UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
  10. // This notice may not be removed from this file.
  11. //
  12. #import <UIKit/UIKit.h>
  13. NS_ASSUME_NONNULL_BEGIN
  14. typedef NSString* const PDFAnnotationStampKey NS_STRING_ENUM;
  15. extern PDFAnnotationStampKey PDFAnnotationStampKeyType; // NSIntger
  16. extern PDFAnnotationStampKey PDFAnnotationStampKeyImagePath; // NSString
  17. extern PDFAnnotationStampKey PDFAnnotationStampKeyText; // NSString
  18. extern PDFAnnotationStampKey PDFAnnotationStampKeyShowDate; // BOOL
  19. extern PDFAnnotationStampKey PDFAnnotationStampKeyShowTime; // BOOL
  20. extern PDFAnnotationStampKey PDFAnnotationStampKeyStyle; // NSIntger
  21. extern PDFAnnotationStampKey PDFAnnotationStampKeyShape; // NSIntger
  22. @class CPDFStampViewController;
  23. @protocol CPDFStampViewControllerDelegate <NSObject>
  24. @optional
  25. - (void)stampViewController:(CPDFStampViewController *)stampViewController selectedIndex:(NSInteger)selectedIndex stamp:(NSDictionary *)stamp;
  26. - (void)stampViewControllerDismiss:(CPDFStampViewController *)stampViewController;
  27. @end
  28. @interface CPDFStampViewController : UIViewController
  29. @property (nonatomic, weak) id<CPDFStampViewControllerDelegate> delegate;
  30. @end
  31. NS_ASSUME_NONNULL_END