rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvPrintableDocument::ThresholdHook Class Reference

Hook class to decide what to do when there are too many pages to print. More...

#include <ilviews/printing/document.h>

List of all members.

Public Member Functions

virtual ~ThresholdHook ()
 The destructor.
virtual IlBoolean checks (int pageNumber) const =0
 This functions checks whether the print can be achieved.

Detailed Description

Hook class to decide what to do when there are too many pages to print.

Library: ilvprint

This is an abstract class.


Constructor & Destructor Documentation

virtual IlvPrintableDocument::ThresholdHook::~ThresholdHook (  )  [virtual]

The destructor.

Cleans the resources used by the object.


Member Function Documentation

virtual IlBoolean IlvPrintableDocument::ThresholdHook::checks ( int  pageNumber  )  const [pure virtual]

This functions checks whether the print can be achieved.

This pure virtual function is intended to be overloaded.

If the return of this operator is IlFalse, the printing will be aborted.

Parameters:
pageNumber The current number of pages that must be printed.
Returns:
A Boolean that forces the printing when it is IlTrue; aborts it otherwise.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.