Rogue Wave Views Foundation Package API Reference Guide |
Rogue Wave Views Documentation Home |
Abstract class that represents an area of a logical page. More...
#include <ilviews/printing/layout.h>
Public Member Functions | |
IL_EXPLICIT | IlvPrintableArea (IlvPrintableLayout const &layout) |
The constructor. More... | |
virtual | ~IlvPrintableArea () |
The destructor. More... | |
virtual IlvPrintableArea * | clone () const =0 |
Returns a pointer to a new instance of IlvPrintableArea ; this object is a copy of the current object. More... | |
IlvPrintableLayout const & | getPrintableLayout () const |
Gets the associated IlvPrintableLayout object. More... | |
virtual IlBoolean | print (IlvPrintableJob &job, IlvPrintable *printable) const =0 |
Prints the area. More... | |
virtual void | setBBox (IlvRect const &bbox)=0 |
Sets the size of the area. More... | |
virtual void | setTransformer (IlvTransformer const &transformer)=0 |
Sets the transformer of the area. More... | |
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:
IL_EXPLICIT 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 |
The destructor.
It releases the resources used by this object. It may be overloaded in inherited classes.
|
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.
IlvPrintableArea*
. Implemented in IlvPrintableActualArea, and IlvPrintableNullArea.
IlvPrintableLayout const& IlvPrintableArea::getPrintableLayout | ( | ) | const |
Gets the associated IlvPrintableLayout
object.
IlvPrintableLayout
object.
|
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. |
printable | The IlvPrintable to be printed. |
IlFalse
when an error occurred during the printing, IlTrue
otherwise. Implemented in IlvPrintableActualArea, and IlvPrintableNullArea.
|
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 IlvPrintableActualArea, and IlvPrintableNullArea.
|
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 IlvPrintableActualArea, and IlvPrintableNullArea.
© Copyright 2018, 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.