Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Abstract class that represents an area of a logical page. More...
#include <ilviews/printing/layout.h>
Public Member Functions | |
IlvPrintableArea (IlvPrintableLayout const &layout) | |
The constructor. | |
virtual | ~IlvPrintableArea () |
The destructor. | |
virtual IlvPrintableArea * | clone () const =0 |
Returns a pointer to a new instance of IlvPrintableArea ; this object is a copy of the current object. | |
IlvPrintableLayout const & | getPrintableLayout () const |
Gets the associated IlvPrintableLayout object. | |
virtual IlBoolean | print (IlvPrintableJob &job, IlvPrintable *printable) const =0 |
Prints the area. | |
virtual void | setBBox (IlvRect const &bbox)=0 |
Sets the size of the area. | |
virtual void | setTransformer (IlvTransformer const &transformer)=0 |
Sets the transformer of the area. |
Abstract class that represents an area of a logical page.
Library: ilvprint
This class is used to represent one of the different areas of the logical page. These areas, in fact rectangles, are:
IlvPrintableArea::IlvPrintableArea | ( | IlvPrintableLayout const & | layout | ) |
The constructor.
It initializes an IlvPrintableArea
object for the IlvPrintableLayout
object given as parameter.
layout | The IlvPrintableLayout associated with this object. |
virtual IlvPrintableArea::~IlvPrintableArea | ( | ) | [virtual] |
The destructor.
It releases the resources used by this object. It may be overloaded in inherited classes.
virtual IlvPrintableArea* IlvPrintableArea::clone | ( | ) | const [pure virtual] |
Returns a pointer to a new instance of IlvPrintableArea
; this object is a copy of the current object.
This pure virtual member function must be overloaded in inherited classes.
Implemented in IlvPrintableNullArea, and IlvPrintableActualArea.
IlvPrintableLayout const & IlvPrintableArea::getPrintableLayout | ( | ) | const |
Gets the associated IlvPrintableLayout
object.
IlvPrintableLayout
object. virtual IlBoolean IlvPrintableArea::print | ( | IlvPrintableJob & | job, | |
IlvPrintable * | printable | |||
) | const [pure virtual] |
Prints the area.
This function asks for the IlvPrintable
referenced by the IlvPrintableJob
given as parameter to draw itself in the area of the logical page specified by this object.
This is a pure virtual function and must be overloaded in inherited classes.
job | The settings of the current print job. |
IlFalse
when an error occurred during the printing, IlTrue
otherwise. Implemented in IlvPrintableNullArea, and IlvPrintableActualArea.
virtual void IlvPrintableArea::setBBox | ( | IlvRect const & | bbox | ) | [pure virtual] |
Sets the size of the area.
This is a pure virtual function and must be overloaded in inherited classes.
bbox | The new size of the area. |
Implemented in IlvPrintableNullArea, and IlvPrintableActualArea.
virtual void IlvPrintableArea::setTransformer | ( | IlvTransformer const & | transformer | ) | [pure virtual] |
Sets the transformer of the area.
This is a pure virtual function and must be overloaded in inherited classes.
transformer | The new transformer. |
Implemented in IlvPrintableNullArea, and IlvPrintableActualArea.
© 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.