// // KMGeneralAnnotationViewController.h // SignFlow // // Created by wanjun on 2021/6/15. // #import #import "CPDFListView.h" #import "CPDFAnnotationModel.h" typedef void(^KMAnnotationSelfSignViewControllerCallBack)(CAnnotationType newType); @interface KMGeneralAnnotationViewController : NSViewController @property (nonatomic,strong) CPDFListView *pdfView; @property (nonatomic,strong) CPDFAnnotationModel *annotationModel; @property (nonatomic, copy) KMAnnotationSelfSignViewControllerCallBack callBack; @end @interface KMGeneralAnnotationViewController (Font) - (void)updateAlignment:(NSTextAlignment)alignment; - (void)updateTextPresupposition:(NSString *)type needChangeListView:(BOOL) needChangeListView; - (void)updateTextPresupposition:(NSString *)fontName size:(CGFloat)size needChangeListView:(BOOL)needChangeListView; - (void)updateFontNameAndStyle:(NSString *)name style:(NSString *)style needChangeListView:(BOOL)needChangeListView needSave:(BOOL)needSave; - (void)updateFontSize:(CGFloat)size needChangeListView:(BOOL)needChangeListView needSave:(BOOL)needSave; - (void)updateTextTextPresuppositionState:(NSString *)name size:(CGFloat)size; - (void)resetTextPresuppositionData; - (void)reDefineTextPresuppositionData:(BOOL)redefine; @end