|
LibreOffice Module scripting (master) 1
|
Public Member Functions | |
| def | __init__ (self, aContext) |
| def | show (self, message, decoration, title) |
| def | addButton (self, caption) |
| def | renderFromBoxSize (self, size=150) |
| def | renderFromButtonSize (self, size=50) |
Public Member Functions inherited from unohelper::Base | |
| def | getTypes (self) |
| def | getImplementationId (self) |
Public Attributes | |
| VERSION | |
| ctx | |
| smgr | |
| dialog | |
| lst_listeners | |
| ButtonSize | |
| boxSize | |
| lineHeight | |
| fromBroxSize | |
| numberOfLines | |
| Buttons | |
| Response | |
| ButtonSpace | |
| message | |
| decoration | |
| title | |
Private Member Functions | |
| def | _createBox (self) |
| GUI definition #. More... | |
| def | _addListeners (self) |
| def | _removeListeners (self) |
| def msgbox.MsgBox.__init__ | ( | self, | |
| aContext | |||
| ) |
|
private |
Add listeners to dialog
Definition at line 150 of file msgbox.py.
References ScVbaWorksheet.Buttons(), msgbox.MsgBox.Buttons, SvxSearchDialogWrapper.dialog, msgbox.MsgBox.dialog, and msgbox.MsgBox.lst_listeners.
|
private |
GUI definition #.
Create the Box
Definition at line 60 of file msgbox.py.
References ScVbaWorksheet.Buttons(), msgbox.MsgBox.Buttons, UpdateDialog::SpecificError.message, BridgeRuntimeError.message, jfw::FrameworkException.message, msgbox.MsgBox.message, and msgbox.MsgBox.numberOfLines.
|
private |
remove listeners on exiting
Definition at line 161 of file msgbox.py.
References ScVbaWorksheet.Buttons(), msgbox.MsgBox.Buttons, SvxSearchDialogWrapper.dialog, msgbox.MsgBox.dialog, and msgbox.MsgBox.lst_listeners.
| def msgbox.MsgBox.addButton | ( | self, | |
| caption | |||
| ) |
Definition at line 184 of file msgbox.py.
References ScVbaWorksheet.Buttons(), and msgbox.MsgBox.Buttons.
| def msgbox.MsgBox.renderFromBoxSize | ( | self, | |
size = 150 |
|||
| ) |
Definition at line 188 of file msgbox.py.
References msgbox.MsgBox.boxSize, and msgbox.MsgBox.fromBroxSize.
| def msgbox.MsgBox.renderFromButtonSize | ( | self, | |
size = 50 |
|||
| ) |
Definition at line 193 of file msgbox.py.
References msgbox.MsgBox.ButtonSize, and msgbox.MsgBox.fromBroxSize.
| def msgbox.MsgBox.show | ( | self, | |
| message, | |||
| decoration, | |||
| title | |||
| ) |
| msgbox.MsgBox.boxSize |
Definition at line 47 of file msgbox.py.
Referenced by msgbox.MsgBox.renderFromBoxSize().
| msgbox.MsgBox.Buttons |
Definition at line 52 of file msgbox.py.
Referenced by msgbox.MsgBox._addListeners(), msgbox.MsgBox._createBox(), msgbox.MsgBox._removeListeners(), and msgbox.MsgBox.addButton().
| msgbox.MsgBox.ButtonSize |
Definition at line 46 of file msgbox.py.
Referenced by msgbox.MsgBox.renderFromButtonSize().
| msgbox.MsgBox.ctx |
| msgbox.MsgBox.dialog |
Definition at line 42 of file msgbox.py.
Referenced by msgbox.MsgBox._addListeners(), and msgbox.MsgBox._removeListeners().
| msgbox.MsgBox.fromBroxSize |
Definition at line 49 of file msgbox.py.
Referenced by msgbox.MsgBox.renderFromBoxSize(), and msgbox.MsgBox.renderFromButtonSize().
| msgbox.MsgBox.lst_listeners |
Definition at line 44 of file msgbox.py.
Referenced by msgbox.MsgBox._addListeners(), and msgbox.MsgBox._removeListeners().
| msgbox.MsgBox.message |
Definition at line 171 of file msgbox.py.
Referenced by msgbox.MsgBox._createBox().
| msgbox.MsgBox.numberOfLines |
Definition at line 50 of file msgbox.py.
Referenced by msgbox.MsgBox._createBox().