#include <config_features.h>
#include <filter/msfilter/msvbahelper.hxx>
#include <basic/sbstar.hxx>
#include <basic/basmgr.hxx>
#include <basic/sbmod.hxx>
#include <basic/sbmeth.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/script/vba/XVBACompatibility.hpp>
#include <com/sun/star/script/ModuleType.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <comphelper/servicehelper.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <tools/urlobj.hxx>
#include <osl/file.hxx>
#include <sal/log.hxx>
#include <unotools/pathoptions.hxx>
#include <rtl/character.hxx>
#include <sfx2/objsh.hxx>
#include <o3tl/string_view.hxx>
#include <svtools/acceleratorexecute.hxx>
#include <com/sun/star/ui/XUIConfigurationManagerSupplier.hpp>
#include <com/sun/star/ui/XUIConfigurationManager.hpp>
#include <frozen/bits/defines.h>
#include <frozen/bits/elsa_std.h>
#include <frozen/unordered_map.h>
Go to the source code of this file.
|
constexpr OUStringLiteral | ooo::vba::sUrlPart0 (u"vnd.sun.star.script:") |
|
constexpr OUStringLiteral | ooo::vba::sUrlPart1 (u"?language=Basic&location=document") |
|
OUString | ooo::vba::makeMacroURL (std::u16string_view sMacroName) |
|
OUString | ooo::vba::extractMacroName (std::u16string_view rMacroUrl) |
|
static std::u16string_view | ooo::vba::trimMacroName (std::u16string_view rMacroName) |
|
OUString | ooo::vba::resolveVBAMacro (SfxObjectShell const *pShell, const OUString &rLibName, const OUString &rModuleName, const OUString &rMacroName, bool bOnlyPublic, const OUString &sSkipModule) |
|
MacroResolvedInfo | ooo::vba::resolveVBAMacro (SfxObjectShell *pShell, const OUString &MacroName, bool bSearchGlobalTemplates) |
|
bool | ooo::vba::executeMacro (SfxObjectShell *pShell, const OUString &sMacroName, uno::Sequence< uno::Any > &aArgs, uno::Any &aRet, const uno::Any &) |
|
static bool | ooo::vba::getModifier (sal_Unicode c, sal_uInt16 &mod) |
|
static sal_uInt16 | ooo::vba::parseChar (sal_Unicode c) |
|
awt::KeyEvent | ooo::vba::parseKeyEvent (std::u16string_view Key) |
|
void | ooo::vba::applyShortCutKeyBinding (const uno::Reference< frame::XModel > &rxModel, const awt::KeyEvent &rKeyEvent, const OUString &rMacroName) |
|
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * | filter_VBAMacroResolver_get_implementation (css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &) |
|
◆ filter_VBAMacroResolver_get_implementation()
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * filter_VBAMacroResolver_get_implementation |
( |
css::uno::XComponentContext * |
, |
|
|
css::uno::Sequence< css::uno::Any > const & |
|
|
) |
| |