rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvPrintableLayoutFixedSize Class Reference

This class defines a layout using a given size on the paper. More...

#include <ilviews/printing/flayout.h>

Inheritance diagram for IlvPrintableLayoutFixedSize:
IlvPrintableLayoutMultiplePages IlvPrintableLayout

List of all members.

Public Member Functions

 IlvPrintableLayoutFixedSize (IlvPrintUnit const &width, IlvPrintUnit const &height)
 Default constructor.
virtual int getPageNumber (IlvPrintableJob &job) const
 Gets the number of logical pages for this layout and the print settings given as argument.

Protected Member Functions

virtual void updateMainArea (IlvPrintableJob &job, int pageIndex) const
 Updates the main area.

Detailed Description

This class defines a layout using a given size on the paper.

Library: ilvprint

This layout can produce multiple pages.

See also:
IlvPrintableDocument::append

Constructor & Destructor Documentation

IlvPrintableLayoutFixedSize::IlvPrintableLayoutFixedSize ( IlvPrintUnit const &  width,
IlvPrintUnit const &  height 
)

Default constructor.

This is the default constructor. It initializes the object in a coherent state. There are no additional margins by default.


Member Function Documentation

virtual int IlvPrintableLayoutFixedSize::getPageNumber ( IlvPrintableJob job  )  const [virtual]

Gets the number of logical pages for this layout and the print settings given as argument.

Parameters:
job The current print settings.
Returns:
The number of logical pages.

Reimplemented from IlvPrintableLayoutMultiplePages.

virtual void IlvPrintableLayoutFixedSize::updateMainArea ( IlvPrintableJob job,
int  pageIndex 
) const [protected, virtual]

Updates the main area.

The purpose of this function is to update the IlvPrintableArea main object. The job as well as the page index given as parameters may be used to compute the current size of the area.

Parameters:
job The current print settings.
pageIndex The current logical page index (for this layout).

Reimplemented from IlvPrintableLayoutMultiplePages.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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