//
//  SFPrintDocumentBatch.h
//  PrintKit
//
//  Created by Stefan Fuerst on 12.06.16.
//  Copyright (c) 2016 Stefan Fürst. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SFPrintDocumentDelegate.h"

@class SFPrintDocument;
@class SFPrintMargins;

@interface SFPrintDocumentSection : NSObject  <SFPrintDocumentSectionDelegate>

@property (nonatomic,strong) SFPrintDocument * document;
@property (nonatomic,strong) NSArray * values;
@property (nonatomic,strong) NSArray * columns;
@property (nonatomic,assign) NSSize pageSize;
@property (nonatomic,strong) SFPrintMargins * pageMargins;
@property (nonatomic,strong) SFPrintMargins * columnMargins; // default
@property (nonatomic,strong) NSMutableArray * pages;

-(void)setValuesDictionary:(NSDictionary *)dictionary;
-(NSRect)innerRect;

@end
