LibreOffice Module desktop (master) 1
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
dp_manager::ExtensionProperties Class Referencefinal

#include <dp_properties.hxx>

Public Member Functions

 ExtensionProperties (std::u16string_view urlExtension, css::uno::Reference< css::ucb::XCommandEnvironment > const &xCmdEnv, css::uno::Reference< css::uno::XComponentContext > const &xContext)
 
 ExtensionProperties (std::u16string_view urlExtension, css::uno::Sequence< css::beans::NamedValue > const &properties, css::uno::Reference< css::ucb::XCommandEnvironment > const &xCmdEnv, css::uno::Reference< css::uno::XComponentContext > const &xContext)
 
void write ()
 
bool isSuppressedLicense () const
 
bool isExtensionUpdate () const
 

Static Private Member Functions

static OUString getPropertyValue (css::beans::NamedValue const &v)
 

Private Attributes

OUString m_propFileUrl
 
const css::uno::Reference< css::ucb::XCommandEnvironment > m_xCmdEnv
 
const css::uno::Reference< css::uno::XComponentContext > m_xContext
 
::std::optional< OUString > m_prop_suppress_license
 
::std::optional< OUString > m_prop_extension_update
 

Detailed Description

Definition at line 30 of file dp_properties.hxx.

Constructor & Destructor Documentation

◆ ExtensionProperties() [1/2]

dp_manager::ExtensionProperties::ExtensionProperties ( std::u16string_view  urlExtension,
css::uno::Reference< css::ucb::XCommandEnvironment > const &  xCmdEnv,
css::uno::Reference< css::uno::XComponentContext > const &  xContext 
)

◆ ExtensionProperties() [2/2]

dp_manager::ExtensionProperties::ExtensionProperties ( std::u16string_view  urlExtension,
css::uno::Sequence< css::beans::NamedValue > const &  properties,
css::uno::Reference< css::ucb::XCommandEnvironment > const &  xCmdEnv,
css::uno::Reference< css::uno::XComponentContext > const &  xContext 
)

Member Function Documentation

◆ getPropertyValue()

OUString dp_manager::ExtensionProperties::getPropertyValue ( css::beans::NamedValue const &  v)
staticprivate

Definition at line 92 of file dp_properties.cxx.

References v, and value.

◆ isExtensionUpdate()

bool dp_manager::ExtensionProperties::isExtensionUpdate ( ) const

Definition at line 131 of file dp_properties.cxx.

References m_prop_extension_update.

◆ isSuppressedLicense()

bool dp_manager::ExtensionProperties::isSuppressedLicense ( ) const

Definition at line 120 of file dp_properties.cxx.

References m_prop_suppress_license.

◆ write()

void dp_manager::ExtensionProperties::write ( )

Member Data Documentation

◆ m_prop_extension_update

::std::optional<OUString> dp_manager::ExtensionProperties::m_prop_extension_update
private

Definition at line 36 of file dp_properties.hxx.

Referenced by isExtensionUpdate().

◆ m_prop_suppress_license

::std::optional<OUString> dp_manager::ExtensionProperties::m_prop_suppress_license
private

Definition at line 35 of file dp_properties.hxx.

Referenced by isSuppressedLicense(), and write().

◆ m_propFileUrl

OUString dp_manager::ExtensionProperties::m_propFileUrl
private

Definition at line 32 of file dp_properties.hxx.

Referenced by write().

◆ m_xCmdEnv

const css::uno::Reference<css::ucb::XCommandEnvironment> dp_manager::ExtensionProperties::m_xCmdEnv
private

Definition at line 33 of file dp_properties.hxx.

Referenced by write().

◆ m_xContext

const css::uno::Reference<css::uno::XComponentContext> dp_manager::ExtensionProperties::m_xContext
private

Definition at line 34 of file dp_properties.hxx.

Referenced by write().


The documentation for this class was generated from the following files: