123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- //
- // CPDFAddViewController.h
- // PDFViewer
- //
- // Created by kdanmobile_2 on 2022/12/7.
- //
- #import <UIKit/UIKit.h>
- #import "CPDFHeaderFooterModel.h"
- #import "CPDFHeadView.h"
- NS_ASSUME_NONNULL_BEGIN
- #define kFormat @"^[ ]+$"
- typedef enum CGLocation {
- kHeader = 0,
- kFooter,
- }CGLocation;
- typedef enum CGAligment {
- kLeft = 0,
- kCenter,
- kRinght,
- }CGAligment;
- typedef struct RecPosition {
- CGLocation location;
- CGAligment aligment;
- }RecPosition;
- @protocol CPDFModelDataDelegate <NSObject>
- @optional
- - (void)changeHeaderFooterModelData:(CPDFHeaderFooterModel *)modelData;
- - (void)changBatesModelData:(CPDFHeaderFooterModel *)modelData;
- @end
- @interface CPDFAddViewController : UIViewController
- - (id)initWithImage:(UIImage *)image;
- @property (nonatomic,weak) id<CPDFModelDataDelegate> delegate;
- @end
- NS_ASSUME_NONNULL_END
|