LibreOffice Module scripting (master) 1
|
Public Member Functions | |
def | __init__ (self, storageType, sfa, uriHelper, scriptContext) |
def | getTransientPartFromUrl (self, url) |
def | getPackageNameFromUrl (self, url) |
def | removePackageByUrl (self, url) |
def | addPackageByUrl (self, url) |
def | isUrlInPackage (self, url) |
def | setPackageAttributes (self, mapPackageName2Path, rootUrl) |
def | getPersistentUrlFromStorageUrl (self, url) |
def | getStorageUrlFromPersistentUrl (self, url) |
def | getFuncsByUrl (self, url) |
def | getModuleByUrl (self, url) |
Public Attributes | |
storageType | |
sfa | |
uriHelper | |
scriptContext | |
modules | |
rootUrl | |
mapPackageName2Path | |
Definition at line 353 of file pythonscript.py.
def pythonscript.ProviderContext.__init__ | ( | self, | |
storageType, | |||
sfa, | |||
uriHelper, | |||
scriptContext | |||
) |
Definition at line 354 of file pythonscript.py.
def pythonscript.ProviderContext.addPackageByUrl | ( | self, | |
url | |||
) |
Definition at line 380 of file pythonscript.py.
References pythonscript.ProviderContext.getPackageNameFromUrl(), pythonscript.ProviderContext.getTransientPartFromUrl(), pythonscript.ProviderContext.mapPackageName2Path, pythonscript.ProviderContext.rootUrl, pythonscript.DirBrowseNode.rootUrl, pythonscript.ManifestHandler.rootUrl, and pythonscript.PackageBrowseNode.rootUrl.
def pythonscript.ProviderContext.getFuncsByUrl | ( | self, | |
url | |||
) |
Definition at line 423 of file pythonscript.py.
References pythonscript.checkForPythonPathBesideScript(), pythonscript.ensureSourceState(), pythonscript.lastException2String(), pythonscript.readTextFromStream(), and pythonscript.ProviderContext.sfa.
def pythonscript.ProviderContext.getModuleByUrl | ( | self, | |
url | |||
) |
Definition at line 469 of file pythonscript.py.
References pythonscript.checkForPythonPathBesideScript(), pythonscript.encfile(), pythonscript.ensureSourceState(), com::sun::star::uno.fileUrlToSystemPath(), pythonscript.hasChanged(), unoidl::detail::SourceProviderScannerData.modules, pythonscript.ProviderContext.modules, pythonscript.readTextFromStream(), pythonscript.ProviderContext.scriptContext, and pythonscript.ProviderContext.sfa.
def pythonscript.ProviderContext.getPackageNameFromUrl | ( | self, | |
url | |||
) |
Definition at line 367 of file pythonscript.py.
References pythonscript.ProviderContext.rootUrl, pythonscript.DirBrowseNode.rootUrl, pythonscript.ManifestHandler.rootUrl, and pythonscript.PackageBrowseNode.rootUrl.
Referenced by pythonscript.ProviderContext.addPackageByUrl().
def pythonscript.ProviderContext.getPersistentUrlFromStorageUrl | ( | self, | |
url | |||
) |
Definition at line 404 of file pythonscript.py.
References pythonscript.ProviderContext.rootUrl, pythonscript.DirBrowseNode.rootUrl, pythonscript.ManifestHandler.rootUrl, and pythonscript.PackageBrowseNode.rootUrl.
def pythonscript.ProviderContext.getStorageUrlFromPersistentUrl | ( | self, | |
url | |||
) |
Definition at line 413 of file pythonscript.py.
References pythonscript.ProviderContext.mapPackageName2Path, pythonscript.ProviderContext.rootUrl, pythonscript.DirBrowseNode.rootUrl, pythonscript.ManifestHandler.rootUrl, and pythonscript.PackageBrowseNode.rootUrl.
def pythonscript.ProviderContext.getTransientPartFromUrl | ( | self, | |
url | |||
) |
Definition at line 363 of file pythonscript.py.
References pythonscript.ProviderContext.rootUrl, pythonscript.DirBrowseNode.rootUrl, pythonscript.ManifestHandler.rootUrl, and pythonscript.PackageBrowseNode.rootUrl.
Referenced by pythonscript.ProviderContext.addPackageByUrl().
def pythonscript.ProviderContext.isUrlInPackage | ( | self, | |
url | |||
) |
Definition at line 391 of file pythonscript.py.
References pythonscript.ProviderContext.mapPackageName2Path.
def pythonscript.ProviderContext.removePackageByUrl | ( | self, | |
url | |||
) |
Definition at line 373 of file pythonscript.py.
References pythonscript.ProviderContext.mapPackageName2Path.
def pythonscript.ProviderContext.setPackageAttributes | ( | self, | |
mapPackageName2Path, | |||
rootUrl | |||
) |
Definition at line 400 of file pythonscript.py.
References pythonscript.ProviderContext.mapPackageName2Path, pythonscript.ProviderContext.rootUrl, pythonscript.DirBrowseNode.rootUrl, pythonscript.ManifestHandler.rootUrl, and pythonscript.PackageBrowseNode.rootUrl.
pythonscript.ProviderContext.mapPackageName2Path |
Definition at line 361 of file pythonscript.py.
Referenced by pythonscript.ProviderContext.addPackageByUrl(), pythonscript.ProviderContext.getStorageUrlFromPersistentUrl(), pythonscript.ProviderContext.isUrlInPackage(), pythonscript.ProviderContext.removePackageByUrl(), and pythonscript.ProviderContext.setPackageAttributes().
pythonscript.ProviderContext.modules |
Definition at line 359 of file pythonscript.py.
Referenced by pythonscript.ProviderContext.getModuleByUrl().
pythonscript.ProviderContext.rootUrl |
Definition at line 360 of file pythonscript.py.
Referenced by pythonscript.ProviderContext.addPackageByUrl(), pythonscript.DirBrowseNode.getChildNodes(), pythonscript.ProviderContext.getPackageNameFromUrl(), pythonscript.ProviderContext.getPersistentUrlFromStorageUrl(), pythonscript.ProviderContext.getStorageUrlFromPersistentUrl(), pythonscript.ProviderContext.getTransientPartFromUrl(), and pythonscript.ProviderContext.setPackageAttributes().
pythonscript.ProviderContext.scriptContext |
Definition at line 358 of file pythonscript.py.
Referenced by pythonscript.ProviderContext.getModuleByUrl().
pythonscript.ProviderContext.sfa |
Definition at line 356 of file pythonscript.py.
Referenced by pythonscript.ProviderContext.getFuncsByUrl(), and pythonscript.ProviderContext.getModuleByUrl().
pythonscript.ProviderContext.storageType |
Definition at line 355 of file pythonscript.py.
pythonscript.ProviderContext.uriHelper |
Definition at line 357 of file pythonscript.py.