def __init__(self, fileconfig, unoObjs, matchesLimit):
     FileReader.__init__(self, unoObjs)
     theLocale.loadUnoObjs(unoObjs)
     self.fileconfig = fileconfig  # type fileitemlist.WordListFileItem
     self.filepath = self.fileconfig.filepath
     self.matchesLimit = matchesLimit
     self.doc = None
 def __init__(self, unoObjs):
     self.scriptName = ""
     self.charset = dict()
     self.allFonts = styles.getListOfFonts(unoObjs)
     self.fontList = []
     self.onlyKnownFonts = True
     theLocale.loadUnoObjs(unoObjs)
     self.fallbackFontDisplay = theLocale.getText("(Fallback Font)")
 def __init__(self, unoObjs, script):
     self.unoObjs = unoObjs
     self.script = script
     theLocale.loadUnoObjs(unoObjs)
     self.config = None
     self.datalist = None
     self.questionString = ""
     self.waitForSpace = False
     random.seed()
 def __init__(self, genericUnoObjs):
     """
     Requires the frame of the higher level window.
     May throw com.sun.star.lang.DisposedException.
     Do not call logging methods from this __init__ routine.
     """
     self.parent = genericUnoObjs.frame.getContainerWindow()
     self.toolkit = self.parent.getToolkit()
     theLocale.loadUnoObjs(genericUnoObjs)
 def __init__(self, calcUnoObjs):
     self.unoObjs = calcUnoObjs
     theLocale.loadUnoObjs(calcUnoObjs)
 def __init__(self, genericUnoObjs):
     self.unoObjs = genericUnoObjs
     theLocale.loadUnoObjs(genericUnoObjs)
     self.result = ""
     self.dlgClose = None
Пример #7
0
 def __init__(self, VAR_PREFIX, writerUnoObjs):
     self.VAR_PREFIX = VAR_PREFIX
     self.unoObjs = writerUnoObjs
     theLocale.loadUnoObjs(self.unoObjs)
 def __init__(self, genericUnoObjs, title):
     self.unoObjs = genericUnoObjs
     theLocale.loadUnoObjs(genericUnoObjs)
     self.titleText = theLocale.getText(title)
     self.progress = None
     self.val = 0  # needed because self.progress.Value is write-only