123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- //
- // KMPDFMergeFileNameTabelViewCell.h
- // PDF Master
- //
- // Created by tangchao on 2023/2/23.
- //
- #import <Cocoa/Cocoa.h>
- #import "KMFileAttribute.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface KMPDFMergeFileNameTabelViewCell : NSTableCellView
- @property (nonatomic, strong, readonly) NSTextField *numberLabel;
- @property (nonatomic, strong, readonly) NSImageView *iconImageView;
- @property (nonatomic, strong, readonly) NSTextField *fileNameLabel;
- @property (nonatomic, strong, readonly) NSTextField *pageNumberLabel;
- @end
- @interface KMPDFMergePageRangeTabelViewCell : NSTableCellView
- @property (nonatomic, assign) NSInteger pageCount;
- @property (nonatomic, copy) void(^callback)(NSInteger index);
- @property (nonatomic, copy) void(^textDidChange)(NSString *string);
- @property (nonatomic, copy) void(^textDidEndEdit)(NSString *string, KMPDFMergePageRangeTabelViewCell *pageRangeCell);
- - (void)updatePageRange:(KMPDFSelectPageStringType)pageRange pageStrings:(NSString *)pageStrings;
- - (void)updatePageRange:(KMPDFSelectPageStringType)pageRange pageStrings:(NSString *)pageStrings isFirstResponser:(BOOL)isFirstResponser;
- - (void)updateRageRangeState:(NSInteger)state;
- @end
- @interface KMPDFMergeSizeTabelViewCell : NSTableCellView
- @property (nonatomic, strong, readonly) NSTextField *label;
- @property (nonatomic, strong, readonly) NSButton *button;
- @property (nonatomic, copy) void(^callback)(void);
- @end
- NS_ASSUME_NONNULL_END
|