rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvPrintableArea Class Reference

Abstract class that represents an area of a logical page. More...

#include <ilviews/printing/layout.h>

Inheritance diagram for IlvPrintableArea:
IlvPrintableActualArea IlvPrintableNullArea

List of all members.

Public Member Functions

 IlvPrintableArea (IlvPrintableLayout const &layout)
 The constructor.
virtual ~IlvPrintableArea ()
 The destructor.
virtual IlvPrintableAreaclone () 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.

Detailed Description

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:


Constructor & Destructor Documentation

IlvPrintableArea::IlvPrintableArea ( IlvPrintableLayout const &  layout  ) 

The constructor.

It initializes an IlvPrintableArea object for the IlvPrintableLayout object given as parameter.

Parameters:
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.


Member Function Documentation

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.

Returns:
A pointer to a new IlvPrintableArea*.

Implemented in IlvPrintableNullArea, and IlvPrintableActualArea.

IlvPrintableLayout const & IlvPrintableArea::getPrintableLayout (  )  const

Gets the associated IlvPrintableLayout object.

Returns:
The associated 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.

Parameters:
job The settings of the current print job.
Returns:
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.

Parameters:
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.

Parameters:
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.