LibreOffice Module scripting (master) 1
Classes | Typedefs | Functions | Variables
func_provider Namespace Reference

Classes

class  ActiveMSPList
 
class  MasterScriptProvider
 
class  MasterScriptProviderFactory
 
class  NonDocMSPCreator
 
class  ProviderCache
 
struct  ProviderDetails
 
class  ScriptingFrameworkURIHelper
 

Typedefs

typedef std::map< css::uno::Reference< css::uno::XInterface >, css::uno::Reference< css::script::provider::XScriptProvider > > ScriptComponent_map
 
typedef std::unordered_map< OUString, css::uno::Reference< css::script::provider::XScriptProvider > > Msp_hash
 
typedef ::cppu::WeakImplHelper< css::script::provider::XScriptProvider, css::script::browse::XBrowseNode, css::lang::XServiceInfo, css::lang::XInitialization, css::container::XNameContainer > t_helper
 
typedef std::unordered_map< OUString, ProviderDetailsProviderDetails_hash
 

Functions

static bool endsWith (std::u16string_view target, std::u16string_view item)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * scripting_MasterScriptProvider_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * scripting_ScriptingFrameworkURIHelper_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
 

Variables

constexpr OUStringLiteral SHARE = u"share"
 
constexpr OUStringLiteral SHARE_UNO_PACKAGES_URI
 
constexpr OUStringLiteral USER = u"user"
 
constexpr OUStringLiteral USER_URI
 

Typedef Documentation

◆ Msp_hash

typedef std::unordered_map< OUString, css::uno::Reference< css::script::provider::XScriptProvider > > func_provider::Msp_hash

Definition at line 43 of file ActiveMSPList.hxx.

◆ ProviderDetails_hash

typedef std::unordered_map< OUString, ProviderDetails > func_provider::ProviderDetails_hash

Definition at line 43 of file ProviderCache.hxx.

◆ ScriptComponent_map

typedef std::map< css::uno::Reference< css::uno::XInterface > , css::uno::Reference< css::script::provider::XScriptProvider > > func_provider::ScriptComponent_map

Definition at line 40 of file ActiveMSPList.hxx.

◆ t_helper

typedef ::cppu::WeakImplHelper< css::script::provider::XScriptProvider, css::script::browse::XBrowseNode, css::lang::XServiceInfo, css::lang::XInitialization, css::container::XNameContainer > func_provider::t_helper

Definition at line 47 of file MasterScriptProvider.hxx.

Function Documentation

◆ endsWith()

static bool func_provider::endsWith ( std::u16string_view  target,
std::u16string_view  item 
)
static

Definition at line 54 of file MasterScriptProvider.cxx.

References index.

Referenced by func_provider::MasterScriptProvider::getScript().

◆ scripting_MasterScriptProvider_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * func_provider::scripting_MasterScriptProvider_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 667 of file MasterScriptProvider.cxx.

◆ scripting_ScriptingFrameworkURIHelper_get_implementation()

SAL_DLLPUBLIC_EXPORT css::uno::XInterface * func_provider::scripting_ScriptingFrameworkURIHelper_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &   
)

Definition at line 247 of file URIHelper.cxx.

Variable Documentation

◆ SHARE

constexpr OUStringLiteral func_provider::SHARE = u"share"
constexpr

◆ SHARE_UNO_PACKAGES_URI

constexpr OUStringLiteral func_provider::SHARE_UNO_PACKAGES_URI
constexpr
Initial value:
=
u"vnd.sun.star.expand:$UNO_SHARED_PACKAGES_CACHE"
float u

Definition at line 39 of file URIHelper.cxx.

Referenced by func_provider::ScriptingFrameworkURIHelper::initBaseURI().

◆ USER

constexpr OUStringLiteral func_provider::USER = u"user"
constexpr

◆ USER_URI

constexpr OUStringLiteral func_provider::USER_URI
constexpr
Initial value:
=
u"vnd.sun.star.expand:${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE( "bootstrap") "::UserInstallation}"
#define SAL_CONFIGFILE(name)

Definition at line 43 of file URIHelper.cxx.

Referenced by func_provider::ScriptingFrameworkURIHelper::initBaseURI().