LibreOffice Module scripting (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
stringresource::StringResourceWithLocationImpl Class Reference

#include <stringresource.hxx>

Inheritance diagram for stringresource::StringResourceWithLocationImpl:
[legend]
Collaboration diagram for stringresource::StringResourceWithLocationImpl:
[legend]

Public Member Functions

 StringResourceWithLocationImpl (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
virtual ~StringResourceWithLocationImpl () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
virtual void SAL_CALL addModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override
 
virtual void SAL_CALL removeModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override
 
virtual OUString SAL_CALL resolveString (const OUString &ResourceID) override
 
virtual OUString SAL_CALL resolveStringForLocale (const OUString &ResourceID, const css::lang::Locale &locale) override
 
virtual sal_Bool SAL_CALL hasEntryForId (const OUString &ResourceID) override
 
virtual sal_Bool SAL_CALL hasEntryForIdAndLocale (const OUString &ResourceID, const css::lang::Locale &locale) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getResourceIDs () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getResourceIDsForLocale (const css::lang::Locale &locale) override
 
virtual css::lang::Locale SAL_CALL getCurrentLocale () override
 
virtual css::lang::Locale SAL_CALL getDefaultLocale () override
 
virtual css::uno::Sequence< css::lang::Locale > SAL_CALL getLocales () override
 
virtual sal_Bool SAL_CALL isReadOnly () override
 
virtual void SAL_CALL setCurrentLocale (const css::lang::Locale &locale, sal_Bool FindClosestMatch) override
 
virtual void SAL_CALL setDefaultLocale (const css::lang::Locale &locale) override
 
virtual void SAL_CALL setString (const OUString &ResourceID, const OUString &Str) override
 
virtual void SAL_CALL setStringForLocale (const OUString &ResourceID, const OUString &Str, const css::lang::Locale &locale) override
 
virtual void SAL_CALL removeId (const OUString &ResourceID) override
 
virtual void SAL_CALL removeIdForLocale (const OUString &ResourceID, const css::lang::Locale &locale) override
 
virtual void SAL_CALL newLocale (const css::lang::Locale &locale) override
 
virtual void SAL_CALL removeLocale (const css::lang::Locale &locale) override
 
virtual ::sal_Int32 SAL_CALL getUniqueNumericId () override
 
virtual void SAL_CALL store () override
 
virtual sal_Bool SAL_CALL isModified () override
 
virtual void SAL_CALL setComment (const OUString &Comment) override
 
virtual void SAL_CALL storeToStorage (const css::uno::Reference< css::embed::XStorage > &Storage, const OUString &NameBase, const OUString &Comment) override
 
virtual void SAL_CALL storeToURL (const OUString &URL, const OUString &NameBase, const OUString &Comment, const css::uno::Reference< css::task::XInteractionHandler > &Handler) override
 
virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL exportBinary () override
 
virtual void SAL_CALL importBinary (const css::uno::Sequence< ::sal_Int8 > &Data) override
 
virtual void SAL_CALL storeAsURL (const OUString &URL) override
 
virtual void SAL_CALL setURL (const OUString &URL) override
 

Private Member Functions

const css::uno::Reference< css::ucb::XSimpleFileAccess3 > & getFileAccessImpl ()
 
virtual void implScanLocales () override
 
virtual bool implLoadLocale (LocaleItem *pLocaleItem) override
 

Private Attributes

OUString m_aLocation
 
bool m_bLocationChanged
 
css::uno::Reference< css::ucb::XSimpleFileAccess3 > m_xSFI
 
css::uno::Reference< css::task::XInteractionHandler > m_xInteractionHandler
 

Detailed Description

Definition at line 409 of file stringresource.hxx.

Constructor & Destructor Documentation

◆ StringResourceWithLocationImpl()

stringresource::StringResourceWithLocationImpl::StringResourceWithLocationImpl ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext)
explicit

Definition at line 2284 of file stringresource.cxx.

◆ ~StringResourceWithLocationImpl()

stringresource::StringResourceWithLocationImpl::~StringResourceWithLocationImpl ( )
overridevirtual

Definition at line 2291 of file stringresource.cxx.

Member Function Documentation

◆ addModifyListener()

void stringresource::StringResourceWithLocationImpl::addModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  aListener)
overridevirtual

◆ exportBinary()

Sequence<::sal_Int8 > stringresource::StringResourceWithLocationImpl::exportBinary ( )
overridevirtual

◆ getCurrentLocale()

Locale stringresource::StringResourceWithLocationImpl::getCurrentLocale ( )
overridevirtual

◆ getDefaultLocale()

Locale stringresource::StringResourceWithLocationImpl::getDefaultLocale ( )
overridevirtual

◆ getFileAccessImpl()

const Reference< ucb::XSimpleFileAccess3 > & stringresource::StringResourceWithLocationImpl::getFileAccessImpl ( )
private

Definition at line 2570 of file stringresource.cxx.

References m_xContext, m_xInteractionHandler, and m_xSFI.

Referenced by implLoadLocale(), implScanLocales(), setURL(), and store().

◆ getImplementationName()

OUString stringresource::StringResourceWithLocationImpl::getImplementationName ( )
overridevirtual

Definition at line 2299 of file stringresource.cxx.

◆ getLocales()

Sequence< Locale > stringresource::StringResourceWithLocationImpl::getLocales ( )
overridevirtual

◆ getResourceIDs()

Sequence< OUString > stringresource::StringResourceWithLocationImpl::getResourceIDs ( )
overridevirtual

◆ getResourceIDsForLocale()

Sequence< OUString > stringresource::StringResourceWithLocationImpl::getResourceIDsForLocale ( const css::lang::Locale &  locale)
overridevirtual

◆ getSupportedServiceNames()

Sequence< OUString > stringresource::StringResourceWithLocationImpl::getSupportedServiceNames ( )
overridevirtual

Definition at line 2309 of file stringresource.cxx.

◆ getUniqueNumericId()

sal_Int32 stringresource::StringResourceWithLocationImpl::getUniqueNumericId ( )
override

◆ hasEntryForId()

sal_Bool stringresource::StringResourceWithLocationImpl::hasEntryForId ( const OUString &  ResourceID)
overridevirtual

◆ hasEntryForIdAndLocale()

sal_Bool stringresource::StringResourceWithLocationImpl::hasEntryForIdAndLocale ( const OUString &  ResourceID,
const css::lang::Locale &  locale 
)
overridevirtual

◆ implLoadLocale()

bool stringresource::StringResourceWithLocationImpl::implLoadLocale ( LocaleItem pLocaleItem)
overrideprivatevirtual

◆ implScanLocales()

void stringresource::StringResourceWithLocationImpl::implScanLocales ( )
overrideprivatevirtual

Definition at line 2532 of file stringresource.cxx.

References getFileAccessImpl(), and m_aLocation.

◆ importBinary()

void stringresource::StringResourceWithLocationImpl::importBinary ( const css::uno::Sequence< ::sal_Int8 > &  Data)
overridevirtual

◆ initialize()

void stringresource::StringResourceWithLocationImpl::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual

Definition at line 2318 of file stringresource.cxx.

References aArguments, m_aLocation, m_aMutex, and m_xInteractionHandler.

◆ isModified()

sal_Bool stringresource::StringResourceWithLocationImpl::isModified ( )
overridevirtual

◆ isReadOnly()

sal_Bool stringresource::StringResourceWithLocationImpl::isReadOnly ( )
overridevirtual

◆ newLocale()

void stringresource::StringResourceWithLocationImpl::newLocale ( const css::lang::Locale &  locale)
overridevirtual

◆ removeId()

void stringresource::StringResourceWithLocationImpl::removeId ( const OUString &  ResourceID)
overridevirtual

◆ removeIdForLocale()

void stringresource::StringResourceWithLocationImpl::removeIdForLocale ( const OUString &  ResourceID,
const css::lang::Locale &  locale 
)
overridevirtual

◆ removeLocale()

void stringresource::StringResourceWithLocationImpl::removeLocale ( const css::lang::Locale &  locale)
overridevirtual

◆ removeModifyListener()

void stringresource::StringResourceWithLocationImpl::removeModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  aListener)
overridevirtual

◆ resolveString()

OUString stringresource::StringResourceWithLocationImpl::resolveString ( const OUString &  ResourceID)
overridevirtual

◆ resolveStringForLocale()

OUString stringresource::StringResourceWithLocationImpl::resolveStringForLocale ( const OUString &  ResourceID,
const css::lang::Locale &  locale 
)
overridevirtual

◆ setComment()

void stringresource::StringResourceWithLocationImpl::setComment ( const OUString &  Comment)
overridevirtual

◆ setCurrentLocale()

void stringresource::StringResourceWithLocationImpl::setCurrentLocale ( const css::lang::Locale &  locale,
sal_Bool  FindClosestMatch 
)
overridevirtual

◆ setDefaultLocale()

void stringresource::StringResourceWithLocationImpl::setDefaultLocale ( const css::lang::Locale &  locale)
overridevirtual

◆ setString()

void stringresource::StringResourceWithLocationImpl::setString ( const OUString &  ResourceID,
const OUString &  Str 
)
overridevirtual

◆ setStringForLocale()

void stringresource::StringResourceWithLocationImpl::setStringForLocale ( const OUString &  ResourceID,
const OUString &  Str,
const css::lang::Locale &  locale 
)
overridevirtual

◆ setURL()

void stringresource::StringResourceWithLocationImpl::setURL ( const OUString &  URL)
overridevirtual

Definition at line 2506 of file stringresource.cxx.

References getFileAccessImpl(), m_aLocation, m_aMutex, m_bLocationChanged, and URL.

Referenced by storeAsURL().

◆ store()

void stringresource::StringResourceWithLocationImpl::store ( )
overridevirtual

Definition at line 2452 of file stringresource.cxx.

References getFileAccessImpl(), m_aLocation, m_aMutex, and m_bLocationChanged.

Referenced by storeAsURL().

◆ storeAsURL()

void stringresource::StringResourceWithLocationImpl::storeAsURL ( const OUString &  URL)
overridevirtual

Definition at line 2500 of file stringresource.cxx.

References setURL(), store(), and URL.

◆ storeToStorage()

void stringresource::StringResourceWithLocationImpl::storeToStorage ( const css::uno::Reference< css::embed::XStorage > &  Storage,
const OUString &  NameBase,
const OUString &  Comment 
)
overridevirtual

◆ storeToURL()

void stringresource::StringResourceWithLocationImpl::storeToURL ( const OUString &  URL,
const OUString &  NameBase,
const OUString &  Comment,
const css::uno::Reference< css::task::XInteractionHandler > &  Handler 
)
overridevirtual

◆ supportsService()

sal_Bool stringresource::StringResourceWithLocationImpl::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 2304 of file stringresource.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_aLocation

OUString stringresource::StringResourceWithLocationImpl::m_aLocation
private

Definition at line 411 of file stringresource.hxx.

Referenced by implLoadLocale(), implScanLocales(), initialize(), setURL(), and store().

◆ m_bLocationChanged

bool stringresource::StringResourceWithLocationImpl::m_bLocationChanged
private

Definition at line 412 of file stringresource.hxx.

Referenced by setURL(), and store().

◆ m_xInteractionHandler

css::uno::Reference< css::task::XInteractionHandler > stringresource::StringResourceWithLocationImpl::m_xInteractionHandler
private

Definition at line 414 of file stringresource.hxx.

Referenced by getFileAccessImpl(), and initialize().

◆ m_xSFI

css::uno::Reference< css::ucb::XSimpleFileAccess3 > stringresource::StringResourceWithLocationImpl::m_xSFI
private

Definition at line 413 of file stringresource.hxx.

Referenced by getFileAccessImpl().


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