//
//  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);

- (void)updatePageRange:(KMPDFSelectPageStringType)pageRange pageStrings:(NSString *)pageStrings;

@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