Report Utility — Lifecycle
Back to Report Utility.
__init__
def __init__()Initialization
createAutoExecutePDFReport
def createAutoExecutePDFReport(Operator, apppath, selection='')Pass Command from AutoExecute, e.g. after Download
Parameters:
| Name | Type | Description |
|---|---|---|
Operator | — | the CENPyOlpProgramModifyOperator |
apppath | — | the Location of the Caller Script. Needed to find the Images |
selection | — | — (default: '') |
createAuxCommandsPDFReport
def createAuxCommandsPDFReport(Operator, apppath, selection='')Pass Command from Program Dashboard’s “Auxiliary Commands”
Parameters:
| Name | Type | Description |
|---|---|---|
Operator | — | the CENPyOlpProgramModifyOperator |
apppath | — | the Location of the Caller Script. Needed to find the Images |
selection | — | — (default: '') |
createPDFReport
def createPDFReport(Operator, apppath, repfilepath, selection='')Main Method to create the PDF Report
Parameters:
| Name | Type | Description |
|---|---|---|
Operator | — | the CENPyOlpProgramModifyOperator |
apppath | — | the Location of the Caller Script. Needed to find the Images |
repfilepath | — | the Location of the where the PDF Report should be written. |
selection | — | — (default: '') |
createDialogueUI
def createDialogueUI(window: UserInterface, defaultFileName, defaultDlPath)Create the window elements and functions.
Parameters:
| Name | Type | Description |
|---|---|---|
window | UserInterface | UserInterface: the Window Handler |
defaultFileName | — | the default Filename of the PDF Report |
defaultDlPath | — | the default Location of the PDF Report |
Was this page helpful?