12345678910111213141516171819202122232425262728293031323334353637383940 |
- //
- // KMAnnotationPropertiesViewController.h
- // SignFlow
- //
- // Created by wanjun on 2021/6/15.
- //
- #import <Cocoa/Cocoa.h>
- #import "CPDFListView.h"
- typedef NS_ENUM(NSInteger, KMOpenPropertiesType) {
- KMOpenPropertiesType_None = 0,
- KMOpenPropertiesType_PageDisplay,
- KMOpenPropertiesType_Stamp,
- KMOpenPropertiesType_Link,
- KMOpenPropertiesType_ListBox,
- KMOpenPropertiesType_ComboBox,
- KMOpenPropertiesType_Button
- };
- @class KMMainWindowController;
- @interface KMAnnotationPropertiesViewController : NSViewController
- @property (nonatomic, retain) NSArray *annotations;
- @property (nonatomic, assign) CAnnotationType annotationMode;
- @property (nonatomic, strong) CPDFListView *pdfView;
- @property (nonatomic, assign) BOOL isEmptyAnnotation;
- @property (nonatomic, assign) BOOL isContinuousAddStamp;
- @property (nonatomic, assign) KMOpenPropertiesType openPropertiesType;
- + (CGFloat)heightWithAnnotation:(CPDFAnnotation *)annotation;
- + (CGFloat)heightWithAnnotationMode:(CAnnotationType)annotationMode;
- @end
|