rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Manager Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions | Protected Member Functions
IlvPrintableMgrView Class Reference

This class encapsulates an IlvMgrView so that its content can be printed with this library. It takes into account the transformer that is associated with the view, if any. More...

#include <ilviews/printing/mgrprint.h>

Inheritance diagram for IlvPrintableMgrView:
IlvPrintableScalable IlvPrintable

Public Member Functions

 IlvPrintableMgrView (IlvMgrView const *mgrView, IlvRect const *scalableArea=0, IlvRegion const *clip=0)
 The default constructor. More...
 
IlvMgrView const * getMgrView () const
 Returns the IlvMgrView to be printed. More...
 

Protected Member Functions

virtual IlBoolean internalPrint (IlvPrintableJob const &job) const
 This function actually prints the document. More...
 

Detailed Description

This class encapsulates an IlvMgrView so that its content can be printed with this library. It takes into account the transformer that is associated with the view, if any.

Library: ilvmgrprint

See Also
IlvPrintableDocument::append

Constructor & Destructor Documentation

IlvPrintableMgrView::IlvPrintableMgrView ( IlvMgrView const *  mgrView,
IlvRect const *  scalableArea = 0,
IlvRegion const *  clip = 0 
)

The default constructor.

Parameters
mgrViewA const pointer to an IlvMgrView.
scalableAreaA const pointer to an IlvRect that defines the area to be printed. If this pointer is null, the visible bbox is used.
clipA const pointer to an IlvRegion that defines the clip.

Member Function Documentation

IlvMgrView const * IlvPrintableMgrView::getMgrView ( ) const

Returns the IlvMgrView to be printed.

Returns
The IlvMgrView to be printed.
virtual IlBoolean IlvPrintableMgrView::internalPrint ( IlvPrintableJob const &  job) const
protectedvirtual

This function actually prints the document.

Parameters
jobThe settings of the current print job.
Returns
IlFalse if an error occurred during the printing, IlTrue otherwise.

Implements IlvPrintable.


© 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.