//
//  MCReportPageNumber.h
//  MCReporting
//
//  Created by Alykhan Jetha on 22/10/05.
//  Copyright 2005 Marketcircle Inc.. All rights reserved.
//

#import "MCReportTextArea.h"


@interface MCReportPageNumber : MCReportTextArea {
	int pageNumber;
	int totalPages;
	BOOL hiddenIfOnlyOnePage;
}

- (void)setPageNumber:(int)aPage;
- (void)setTotalPages:(int)pageCount;

- (void)appendDefaultPageNumberText;
- (void)mergePageValues;

- (void)hideBecausePageCountIsOne;

@end

@interface NSView (MCReportPageNumberAddition)

- (void)propagateTotalPageCount:(int)aTotal;
- (void)propagateRemovePageCountBecauseOnePage;

@end
