:: com :: sun :: star :: script :: vba ::
|
unpublished |
interface XVBAMacroResolver |
|
|
|
- Usage Restrictions
- not published
- Description
- Converts VBA macro names to script URLs and vice versa.
|
Methods' Details |
resolveVBAMacroToScriptURL
- Description
- Returns the script URL representing the passed VBA macro name.
- Parameter aVBAMacroName
- The VBA macro name to be resolved to a script URL. The macro name
may consist of up to three parts, divided by periods. The first two
parts are optional. The first part represents the VBA project name.
The second part represents the module name. The third part
represents the procedure name. Example: All the VBA macro names
"VBAProject.Module1.TestMacro", "Module1.TestMacro",
"VBAProject.TestMacro", and "TestMacro" may refer to the same VBA
procedure located in "Module" of the project "VBAProject". If the
module name is missing, then all modules are searched for a macro
with the specified name.
- Returns
- The script URL referring to the passed VBA macro.
- Throws
- ::com::sun::star::lang::IllegalArgumentException
if a macro with the passed name does not exist.
|
|
resolveScriptURLtoVBAMacro
- Description
- Returns the VBA macro name for a macro with the passed script URL.
- Parameter aScriptURL
- The script URL to be resolved to a VBA macro name. Must be a
document-local script.
- Returns
- The VBA macro name referring to a macro with the passed script URL.
- Throws
- ::com::sun::star::lang::IllegalArgumentException
if a macro with the passed name does not exist.
|
|
Top of Page
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.