Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
This class defines a layout using a given size on the paper. More...
#include <ilviews/printing/flayout.h>
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. |
This class defines a layout using a given size on the paper.
Library: ilvprint
This layout can produce multiple pages.
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.
virtual int IlvPrintableLayoutFixedSize::getPageNumber | ( | IlvPrintableJob & | job | ) | const [virtual] |
Gets the number of logical pages for this layout and the print settings given as argument.
job | The current print settings. |
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.
job | The current print settings. | |
pageIndex | The current logical page index (for this layout). |
Reimplemented from IlvPrintableLayoutMultiplePages.
© 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.