LibreOffice Module svl (master) 1
Public Member Functions | Private Attributes | List of all members
FSStorageFactory Class Referencefinal

#include <fsfactory.hxx>

Inheritance diagram for FSStorageFactory:
[legend]
Collaboration diagram for FSStorageFactory:
[legend]

Public Member Functions

 FSStorageFactory (const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance () override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments (const css::uno::Sequence< css::uno::Any > &aArguments) override
 The request for storage can be done with up to three arguments. More...
 
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
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_xContext
 

Detailed Description

Definition at line 29 of file fsfactory.hxx.

Constructor & Destructor Documentation

◆ FSStorageFactory()

FSStorageFactory::FSStorageFactory ( const css::uno::Reference< css::uno::XComponentContext > &  xContext)
inline

Definition at line 35 of file fsfactory.hxx.

Member Function Documentation

◆ createInstance()

uno::Reference< uno::XInterface > SAL_CALL FSStorageFactory::createInstance ( )
overridevirtual

Definition at line 38 of file fsfactory.cxx.

References comphelper::getProcessComponentContext(), and m_xContext.

Referenced by createInstanceWithArguments().

◆ createInstanceWithArguments()

uno::Reference< uno::XInterface > SAL_CALL FSStorageFactory::createInstanceWithArguments ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overridevirtual

The request for storage can be done with up to three arguments.

The first argument specifies a source for the storage it must be URL. The second value is a mode the storage should be open in. The third value is a media descriptor.

Definition at line 60 of file fsfactory.cxx.

References aArguments, aURL, createInstance(), comphelper::getProcessComponentContext(), FStatHelper::IsDocument(), FStatHelper::IsFolder(), m_xContext, and FSStorage::MakeFolderNoUI().

◆ getImplementationName()

OUString SAL_CALL FSStorageFactory::getImplementationName ( )
overridevirtual

Definition at line 130 of file fsfactory.cxx.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL FSStorageFactory::getSupportedServiceNames ( )
overridevirtual

Definition at line 140 of file fsfactory.cxx.

◆ supportsService()

sal_Bool SAL_CALL FSStorageFactory::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 135 of file fsfactory.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > FSStorageFactory::m_xContext
private

Definition at line 32 of file fsfactory.hxx.

Referenced by createInstance(), and createInstanceWithArguments().


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