Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
lib /
libreoffice /
program /
wizards /
agenda /
[ HOME SHELL ]
Name
Size
Permission
Action
AgendaDocument.py
35.55
KB
-rw-r--r--
AgendaWizardDialogConst.py
3.7
KB
-rw-r--r--
AgendaWizardDialogImpl.py
14.2
KB
-rw-r--r--
AgendaWizardDialog.py
16.24
KB
-rw-r--r--
AgendaWizardDialogResources.py
8.41
KB
-rw-r--r--
CallWizard.py
2.99
KB
-rw-r--r--
CGAgenda.py
1.7
KB
-rw-r--r--
CGTopic.py
2.17
KB
-rw-r--r--
__init__.py
0
B
-rw-r--r--
TemplateConsts.py
2.75
KB
-rw-r--r--
TopicsControl.py
30.9
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : CallWizard.py
# # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This file incorporates work covered by the following license notice: # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed # with this work for additional information regarding copyright # ownership. The ASF licenses this file to you under the Apache # License, Version 2.0 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.apache.org/licenses/LICENSE-2.0 . # import unohelper import traceback from .AgendaWizardDialogImpl import AgendaWizardDialogImpl, Desktop from com.sun.star.lang import XServiceInfo from com.sun.star.task import XJobExecutor # pythonloader looks for a static g_ImplementationHelper variable g_ImplementationHelper = unohelper.ImplementationHelper() g_implName = "com.sun.star.wizards.agenda.CallWizard" # implement a UNO component by deriving from the standard unohelper.Base class # and from the interface(s) you want to implement. class CallWizard(unohelper.Base, XJobExecutor, XServiceInfo): def __init__(self, ctx): # store the component context for later use self.ctx = ctx def trigger(self, args): try: fw = AgendaWizardDialogImpl(self.ctx.ServiceManager) fw.startWizard(self.ctx.ServiceManager) except Exception as e: print ("Wizard failure exception " + str(type(e)) + " message " + str(e) + " args " + str(e.args) + traceback.format_exc()) @classmethod def callRemote(self): #Call the wizard remotely(see README) try: ConnectStr = \ "uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext" xLocMSF = Desktop.connect(ConnectStr) lw = AgendaWizardDialogImpl(xLocMSF) lw.startWizard(xLocMSF) except Exception as e: print ("Wizard failure exception " + str(type(e)) + " message " + str(e) + " args " + str(e.args) + traceback.format_exc()) def getImplementationName(self): return g_implName def supportsService(self, ServiceName): return g_ImplementationHelper.supportsService(g_implName, ServiceName) def getSupportedServiceNames(self): return g_ImplementationHelper.getSupportedServiceNames(g_implName) g_ImplementationHelper.addImplementation( \ CallWizard, # UNO object class g_implName, # implementation name ("com.sun.star.task.Job",),) # list of implemented services # (the only service) # vim:set shiftwidth=4 softtabstop=4 expandtab:
Close