rwlogo

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
List of all members | Public Member Functions
IlvPrintableDocument::ThresholdHook Class Referenceabstract

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

#include <ilviews/printing/document.h>

Public Member Functions

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

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
pageNumberThe current number of pages that must be printed.
Returns
A Boolean that forces the printing when it is IlTrue; aborts it otherwise.

© Copyright 2015, 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.