home *** CD-ROM | disk | FTP | other *** search
- /* MyPageLayout.m
- * Purpose: A very simple subclass of PrintInfo that adds a flag describing
- * how the application's views should assist in pagination while printing.
- *
- * You may freely copy, distribute, and reuse the code in this example.
- * NeXT disclaims any warranty of any kind, expressed or implied, as to its
- * fitness for any particular use.
- *
- * Written by: Samuel Streeper
- * Created: (04/April/91)
- */
-
- #import "MyPrintInfo.h"
-
- @implementation MyPrintInfo
-
- - setPaginationMode:(int)status
- {
- paginationMode = status;
- return self;
- }
-
- - (int) paginationMode
- {
- return paginationMode;
- }
-
-
- @end
-