home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Examples / AppKit / TextEdit / MultiplePageView.h < prev    next >
Text File  |  1996-04-26  |  760b  |  26 lines

  1. #import <AppKit/NSView.h>
  2. @class NSPrintInfo;
  3. @class NSColor;
  4.  
  5. @interface MultiplePageView : NSView {
  6.     NSPrintInfo *printInfo;
  7.     NSColor *lineColor;
  8.     NSColor *marginColor;
  9.     unsigned numPages;
  10. }
  11.  
  12. - (void)setPrintInfo:(NSPrintInfo *)anObject;
  13. - (NSPrintInfo *)printInfo;
  14. - (float)pageSeparatorHeight;
  15. - (NSSize)documentSizeInPage;    /* Returns the area where the document can draw */
  16. - (NSRect)documentRectForPageNumber:(unsigned)pageNumber;    /* First page is page 0 */
  17. - (NSRect)pageRectForPageNumber:(unsigned)pageNumber;    /* First page is page 0 */
  18. - (void)setNumberOfPages:(unsigned)num;
  19. - (unsigned)numberOfPages;
  20. - (void)setLineColor:(NSColor *)color;
  21. - (NSColor *)lineColor;
  22. - (void)setMarginColor:(NSColor *)color;
  23. - (NSColor *)marginColor;
  24.  
  25. @end
  26.