LibreOffice Module scripting (master) 1
Public Member Functions | Public Attributes | Private Member Functions | List of all members
msgbox.MsgBox Class Reference
Inheritance diagram for msgbox.MsgBox:
[legend]
Collaboration diagram for msgbox.MsgBox:
[legend]

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)
 

Detailed Description

Inspect UNO object, link to sdk and recursive calls

Definition at line 31 of file msgbox.py.

Constructor & Destructor Documentation

◆ __init__()

def msgbox.MsgBox.__init__ (   self,
  aContext 
)
acontext : a Valid UNO context

Definition at line 34 of file msgbox.py.

Member Function Documentation

◆ _addListeners()

def msgbox.MsgBox._addListeners (   self)
private

◆ _createBox()

def msgbox.MsgBox._createBox (   self)
private

◆ _removeListeners()

def msgbox.MsgBox._removeListeners (   self)
private

◆ addButton()

def msgbox.MsgBox.addButton (   self,
  caption 
)

Definition at line 184 of file msgbox.py.

References ScVbaWorksheet.Buttons(), and msgbox.MsgBox.Buttons.

◆ renderFromBoxSize()

def msgbox.MsgBox.renderFromBoxSize (   self,
  size = 150 
)

Definition at line 188 of file msgbox.py.

References msgbox.MsgBox.boxSize, and msgbox.MsgBox.fromBroxSize.

◆ renderFromButtonSize()

def msgbox.MsgBox.renderFromButtonSize (   self,
  size = 50 
)

Definition at line 193 of file msgbox.py.

References msgbox.MsgBox.ButtonSize, and msgbox.MsgBox.fromBroxSize.

◆ show()

def msgbox.MsgBox.show (   self,
  message,
  decoration,
  title 
)

Definition at line 170 of file msgbox.py.

Member Data Documentation

◆ boxSize

msgbox.MsgBox.boxSize

Definition at line 47 of file msgbox.py.

Referenced by msgbox.MsgBox.renderFromBoxSize().

◆ Buttons

msgbox.MsgBox.Buttons

◆ ButtonSize

msgbox.MsgBox.ButtonSize

Definition at line 46 of file msgbox.py.

Referenced by msgbox.MsgBox.renderFromButtonSize().

◆ ButtonSpace

msgbox.MsgBox.ButtonSpace

Definition at line 71 of file msgbox.py.

◆ ctx

msgbox.MsgBox.ctx

◆ decoration

msgbox.MsgBox.decoration

Definition at line 172 of file msgbox.py.

◆ dialog

msgbox.MsgBox.dialog

Definition at line 42 of file msgbox.py.

Referenced by msgbox.MsgBox._addListeners(), and msgbox.MsgBox._removeListeners().

◆ fromBroxSize

msgbox.MsgBox.fromBroxSize

◆ lineHeight

msgbox.MsgBox.lineHeight

Definition at line 48 of file msgbox.py.

◆ lst_listeners

msgbox.MsgBox.lst_listeners

Definition at line 44 of file msgbox.py.

Referenced by msgbox.MsgBox._addListeners(), and msgbox.MsgBox._removeListeners().

◆ message

msgbox.MsgBox.message

Definition at line 171 of file msgbox.py.

Referenced by msgbox.MsgBox._createBox().

◆ numberOfLines

msgbox.MsgBox.numberOfLines

Definition at line 50 of file msgbox.py.

Referenced by msgbox.MsgBox._createBox().

◆ Response

msgbox.MsgBox.Response

Definition at line 53 of file msgbox.py.

◆ smgr

msgbox.MsgBox.smgr

Definition at line 40 of file msgbox.py.

◆ title

msgbox.MsgBox.title

Definition at line 173 of file msgbox.py.

◆ VERSION

msgbox.MsgBox.VERSION

Definition at line 38 of file msgbox.py.


The documentation for this class was generated from the following file: