public interface IMultiPageDevice
This interface contains methods for manipulating multi-paged device.
Modifier and Type | Method and Description |
---|---|
void |
closePage()
Makes necessary preparation of the device after page has been rendered.
|
int |
getCurrentPageNumber()
Gets current page number.
|
void |
initPageNumbers()
Initializes numbers of pages to render.
|
boolean |
openPage(float width,
float height)
Makes necessary preparation of the device before page rendering.
|
boolean |
openPage(String title)
Makes necessary preparation of the device before page rendering.
|
void |
updatePageParameters(IMultiPageDevice device)
Updates page parameters from other multi-paged device.
|
void initPageNumbers()
Initializes numbers of pages to render.
boolean openPage(String title)
Makes necessary preparation of the device before page rendering.
title
- The page title.boolean openPage(float width, float height)
Makes necessary preparation of the device before page rendering.
width
- A width of the page.height
- A height of the page.void closePage()
Makes necessary preparation of the device after page has been rendered.
void updatePageParameters(IMultiPageDevice device)
Updates page parameters from other multi-paged device.
device
- Another instance of the same device.int getCurrentPageNumber()
Gets current page number.