PDFAddWaterMarkViewController.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // CPDFAddViewController.h
  3. // PDFViewer
  4. //
  5. // Created by kdanmobile_2 on 2022/12/15.
  6. // Alter cause : code standards
  7. #import <UIKit/UIKit.h>
  8. #import <ComPDFKit/ComPDFKit.h>
  9. #import "PDFTextWatermarkController.h"
  10. #import "PDFImageWatermarkController.h"
  11. #import "PDFWatermarkDataModel.h"
  12. NS_ASSUME_NONNULL_BEGIN
  13. @protocol WaterMarkModelDataDelegate <NSObject>
  14. - (void)PDFViewPerformChangeTextWatermark:(PDFWatermarkDataModel *)dataModel;
  15. - (void)PDFViewPerformDeleteWatermark:(CPDFWatermark *)waterMark;
  16. - (void)PDFViewPerformChangeImageWatermark:(PDFWatermarkDataModel *)dataModel;
  17. @end
  18. @interface PDFAddWaterMarkViewController : UIViewController
  19. @property (retain, nonatomic) IBOutlet UIView *imageViewController;
  20. @property (nonatomic,strong) id<WaterMarkModelDataDelegate> delegate;
  21. @property (retain, nonatomic) IBOutlet UIView *textViewController;
  22. //@property (nonatomic,strong) PDFTextWatermarkController *textViewController;
  23. //@property (nonatomic,strong) PDFImageWatermarkController *imageViewController;
  24. @property (nonatomic,strong) PDFWatermarkDataModel *textDataModel;
  25. @property (nonatomic,strong) PDFWatermarkDataModel *imagedataModel;
  26. - (instancetype)initWithDocument:(CPDFDocument *)document;
  27. @end
  28. NS_ASSUME_NONNULL_END