LibreOffice LibreOffice 25.8 SDK API Reference

Loading...
Searching...
No Matches
XLibraryAccess.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20
21
22 module com { module sun { module star { module script {
23
31published interface XLibraryAccess: com::sun::star::uno::XInterface
32{
40 boolean isFunction( [in] string aFunctionName );
41
47 boolean isValidPath( [in] string aPathName );
48
52 sequence<string> getModuleNames();
53
56 string getModuleSource( [in] string aModulName );
57
65 sequence<byte> getModuleCode( [in] string aModuleName );
66
69 string getFunctionSource( [in] string aFunctionName );
70
77 sequence<byte> getFunctionCode( [in] string FunctionName );
78
79};
80
81
82}; }; }; };
83
84/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::script::XLibraryAccess
provides access to additional scripting code.
Definition XLibraryAccess.idl:32
com::sun::star::script::XLibraryAccess::isFunction
boolean isFunction([in] string aFunctionName)
returns TRUE, if the function is accessible through this library; otherwise it returns FALSE.
com::sun::star::script::XLibraryAccess::getFunctionCode
sequence< byte > getFunctionCode([in] string FunctionName)
Get the compiled code of a function.
com::sun::star::script::XLibraryAccess::isValidPath
boolean isValidPath([in] string aPathName)
returns TRUE if a fully qualified function name begins with this name.
com::sun::star::script::XLibraryAccess::getModuleNames
sequence< string > getModuleNames()
Return all module names which contain code.
com::sun::star::script::XLibraryAccess::getModuleSource
string getModuleSource([in] string aModulName)
get the source code of a module.
com::sun::star::script::XLibraryAccess::getModuleCode
sequence< byte > getModuleCode([in] string aModuleName)
Get the whole compiled code of a module.
com::sun::star::script::XLibraryAccess::getFunctionSource
string getFunctionSource([in] string aFunctionName)
get the source code of a function.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition XInterface.idl:46
com
Definition Ambiguous.idl:20