Instance Method

knowsPageRange:

Returns YES if the view handles page boundaries, NO otherwise.

Declaration

- (BOOL)knowsPageRange:(NSRangePointer)range;

Parameters

aRange

On return, holds the page range if YES is returned directly. Page numbers are one-based—that is pages run from one to N.

Discussion

Returns NO if the view uses the default auto-pagination mechanism. The default implementation returns NO. Override this method if your class handles page boundaries.

See Also

Pagination

heightAdjustLimit

The fraction of the page that can be pushed onto the next page during automatic pagination to prevent items such as lines of text from being divided across pages.

widthAdjustLimit

The fraction of the page that can be pushed onto the next page during automatic pagination to prevent items such as small images or text columns from being divided across pages.

- adjustPageWidthNew:left:right:limit:

Overridden by subclasses to adjust page width during automatic pagination.

- adjustPageHeightNew:top:bottom:limit:

Overridden by subclasses to adjust page height during automatic pagination.

- rectForPage:

Implemented by subclasses to determine the portion of the view to be printed for the specified page number.

- locationOfPrintRect:

Invoked by print: to determine the location of the region of the view being printed on the physical page.