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