Add function selection
This commit is contained in:
parent
dc61cfb45c
commit
30a755a748
Binary file not shown.
|
@ -1,6 +1,8 @@
|
|||
import uno
|
||||
import unohelper
|
||||
from com.sun.star.task import XJobExecutor
|
||||
import main
|
||||
|
||||
import easymacro as app
|
||||
|
||||
|
||||
|
@ -100,6 +102,7 @@ class ZAZLaTex2SVG(unohelper.Base, XJobExecutor):
|
|||
def __init__(self, ctx):
|
||||
self.ctx = ctx
|
||||
|
||||
@app.catch_exception
|
||||
def trigger(self, args=''):
|
||||
main.ID_EXTENSION = ID_EXTENSION
|
||||
main.run(args, __file__)
|
||||
|
|
|
@ -7,6 +7,11 @@ ID_EXTENSION = ''
|
|||
_ = None
|
||||
|
||||
|
||||
def selection():
|
||||
app.debug('From selection')
|
||||
return
|
||||
|
||||
|
||||
def run(args, path_locales):
|
||||
global _
|
||||
_ = app.install_locales(path_locales)
|
||||
|
|
Loading…
Reference in New Issue