Add function selection

This commit is contained in:
Mauricio Baeza 2020-12-18 23:23:29 -06:00
parent dc61cfb45c
commit 30a755a748
3 changed files with 8 additions and 0 deletions

Binary file not shown.

View File

@ -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__)

View 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)