public class PdfDocumentEvent extends AbstractPdfDocumentEvent
| Modifier and Type | Field and Description |
|---|---|
static String |
END_PAGE
Dispatched before page is flushed to a document.
|
static String |
INSERT_PAGE
Dispatched after page is inserted/added into a document.
|
protected PdfPage |
page
The PdfPage associated with this event.
|
static String |
REMOVE_PAGE
Dispatched after page is removed from a document.
|
static String |
START_DOCUMENT_CLOSING
Dispatched after writer is flushed to a document.
|
static String |
START_PAGE
Dispatched after page is created.
|
static String |
START_WRITER_CLOSING
Dispatched before writer is closed.
|
type| Constructor and Description |
|---|
PdfDocumentEvent(String type)
Creates a PdfDocumentEvent.
|
PdfDocumentEvent(String type,
PdfPage page)
Creates a PdfDocumentEvent.
|
| Modifier and Type | Method and Description |
|---|---|
PdfPage |
getPage()
Returns the PdfPage associated with this event.
|
getDocument, getType, setDocumentpublic static final String START_PAGE
public static final String INSERT_PAGE
public static final String REMOVE_PAGE
public static final String END_PAGE
public static final String START_WRITER_CLOSING
public static final String START_DOCUMENT_CLOSING
protected PdfPage page
public PdfDocumentEvent(String type)
type - type of the event that fired this eventpublic PdfPage getPage()
Copyright © 1998–2025 Apryse Group NV. All rights reserved.