123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- //
- // CPDFAddViewController.h
- // PDFViewer
- //
- // Created by kdanmobile_2 on 2022/12/7.
- //
- #import <UIKit/UIKit.h>
- #import "PDFHeaderFooterModel.h"
- #import "PDFHeadFooterPreView.h"
- NS_ASSUME_NONNULL_BEGIN
- #define kFormat @"^[ ]+$"
- typedef NS_ENUM(NSInteger, PDFHeaderFooterLocation) {
- PDFHeaderFooterLocationHeader = 0,
- PDFHeaderFooterLocationFooter,
- };
- typedef NS_ENUM(NSInteger, PDFHeaderFooerAligment) {
- PDFHeaderFooerAligmentLeft = 0,
- PDFHeaderFooerAligmentCenter,
- PDFHeaderFooerAligmentRinght,
- };
- typedef struct PDFHeaderFooterPosition {
- PDFHeaderFooterLocation location;
- PDFHeaderFooerAligment aligment;
- }PDFHeaderFooterPosition;
- @protocol PDFModelDataDelegate <NSObject>
- @optional
- - (void)PDFViewPerformChangeHeaderFooter:(PDFHeaderFooterModel *)modelData;
- - (void)PDFViewPerformChangBates:(PDFHeaderFooterModel *)modelData;
- @end
- @interface PDFAddViewController : UIViewController
- - (id)initWithImage:(UIImage *)image;
- @property (nonatomic, weak) id<PDFModelDataDelegate> delegate;
- @end
- NS_ASSUME_NONNULL_END
|