LibreOffice Module sfx2 (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sfx2::DocumentMetadataAccess Class Referencefinal

#include <DocumentMetadataAccess.hxx>

Inheritance diagram for sfx2::DocumentMetadataAccess:
[legend]
Collaboration diagram for sfx2::DocumentMetadataAccess:
[legend]

Public Member Functions

 DocumentMetadataAccess (css::uno::Reference< css::uno::XComponentContext > const &i_xContext, SfxObjectShell const &i_rRegistrySupplier, OUString const &i_rBaseURI)
 
 DocumentMetadataAccess (css::uno::Reference< css::uno::XComponentContext > const &i_xContext, SfxObjectShell const &i_rRegistrySupplier)
 
virtual ~DocumentMetadataAccess () override
 
virtual OUString SAL_CALL getStringValue () override
 
virtual OUString SAL_CALL getNamespace () override
 
virtual OUString SAL_CALL getLocalName () override
 
virtual css::uno::Reference< css::rdf::XRepository > SAL_CALL getRDFRepository () override
 
virtual css::uno::Reference< css::rdf::XMetadatable > SAL_CALL getElementByMetadataReference (const css::beans::StringPair &i_rReference) override
 
virtual css::uno::Reference< css::rdf::XMetadatable > SAL_CALL getElementByURI (const css::uno::Reference< css::rdf::XURI > &i_xURI) override
 
virtual css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > SAL_CALL getMetadataGraphsWithType (const css::uno::Reference< css::rdf::XURI > &i_xType) override
 
virtual css::uno::Reference< css::rdf::XURI > SAL_CALL addMetadataFile (const OUString &i_rFileName, const css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > &i_rTypes) override
 
virtual css::uno::Reference< css::rdf::XURI > SAL_CALL importMetadataFile (::sal_Int16 i_Format, const css::uno::Reference< css::io::XInputStream > &i_xInStream, const OUString &i_rFileName, const css::uno::Reference< css::rdf::XURI > &i_xBaseURI, const css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > &i_rTypes) override
 
virtual void SAL_CALL removeMetadataFile (const css::uno::Reference< css::rdf::XURI > &i_xGraphName) override
 
virtual void SAL_CALL addContentOrStylesFile (const OUString &i_rFileName) override
 
virtual void SAL_CALL removeContentOrStylesFile (const OUString &i_rFileName) override
 
virtual void SAL_CALL loadMetadataFromStorage (const css::uno::Reference< css::embed::XStorage > &i_xStorage, const css::uno::Reference< css::rdf::XURI > &i_xBaseURI, const css::uno::Reference< css::task::XInteractionHandler > &i_xHandler) override
 
virtual void SAL_CALL storeMetadataToStorage (const css::uno::Reference< css::embed::XStorage > &i_xStorage) override
 
virtual void SAL_CALL loadMetadataFromMedium (const css::uno::Sequence< css::beans::PropertyValue > &i_rMedium) override
 
virtual void SAL_CALL storeMetadataToMedium (const css::uno::Sequence< css::beans::PropertyValue > &i_rMedium) override
 

Private Member Functions

 DocumentMetadataAccess (const DocumentMetadataAccess &)=delete
 
DocumentMetadataAccessoperator= (const DocumentMetadataAccess &)=delete
 

Private Attributes

std::unique_ptr< DocumentMetadataAccess_Implm_pImpl
 

Detailed Description

Definition at line 75 of file DocumentMetadataAccess.hxx.

Constructor & Destructor Documentation

◆ DocumentMetadataAccess() [1/3]

sfx2::DocumentMetadataAccess::DocumentMetadataAccess ( const DocumentMetadataAccess )
privatedelete

◆ DocumentMetadataAccess() [2/3]

sfx2::DocumentMetadataAccess::DocumentMetadataAccess ( css::uno::Reference< css::uno::XComponentContext > const &  i_xContext,
SfxObjectShell const &  i_rRegistrySupplier,
OUString const &  i_rBaseURI 
)
explicit

◆ DocumentMetadataAccess() [3/3]

sfx2::DocumentMetadataAccess::DocumentMetadataAccess ( css::uno::Reference< css::uno::XComponentContext > const &  i_xContext,
SfxObjectShell const &  i_rRegistrySupplier 
)
explicit

◆ ~DocumentMetadataAccess()

sfx2::DocumentMetadataAccess::~DocumentMetadataAccess ( )
overridevirtual

Definition at line 849 of file DocumentMetadataAccess.cxx.

Member Function Documentation

◆ addContentOrStylesFile()

void SAL_CALL sfx2::DocumentMetadataAccess::addContentOrStylesFile ( const OUString &  i_rFileName)
overridevirtual

◆ addMetadataFile()

uno::Reference< rdf::XURI > SAL_CALL sfx2::DocumentMetadataAccess::addMetadataFile ( const OUString &  i_rFileName,
const css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > &  i_rTypes 
)
overridevirtual

◆ getElementByMetadataReference()

uno::Reference< rdf::XMetadatable > SAL_CALL sfx2::DocumentMetadataAccess::getElementByMetadataReference ( const css::beans::StringPair &  i_rReference)
overridevirtual

◆ getElementByURI()

uno::Reference< rdf::XMetadatable > SAL_CALL sfx2::DocumentMetadataAccess::getElementByURI ( const css::uno::Reference< css::rdf::XURI > &  i_xURI)
overridevirtual

Definition at line 896 of file DocumentMetadataAccess.cxx.

References m_pImpl, name, and sfx2::splitXmlId().

◆ getLocalName()

OUString SAL_CALL sfx2::DocumentMetadataAccess::getLocalName ( )
overridevirtual

Definition at line 876 of file DocumentMetadataAccess.cxx.

References m_pImpl.

◆ getMetadataGraphsWithType()

uno::Sequence< uno::Reference< rdf::XURI > > SAL_CALL sfx2::DocumentMetadataAccess::getMetadataGraphsWithType ( const css::uno::Reference< css::rdf::XURI > &  i_xType)
overridevirtual

Definition at line 919 of file DocumentMetadataAccess.cxx.

References sfx2::getAllParts(), and m_pImpl.

◆ getNamespace()

OUString SAL_CALL sfx2::DocumentMetadataAccess::getNamespace ( )
overridevirtual

Definition at line 870 of file DocumentMetadataAccess.cxx.

References m_pImpl.

◆ getRDFRepository()

uno::Reference< rdf::XRepository > SAL_CALL sfx2::DocumentMetadataAccess::getRDFRepository ( )
overridevirtual

Definition at line 855 of file DocumentMetadataAccess.cxx.

References m_pImpl.

◆ getStringValue()

OUString SAL_CALL sfx2::DocumentMetadataAccess::getStringValue ( )
overridevirtual

Definition at line 863 of file DocumentMetadataAccess.cxx.

References m_pImpl.

◆ importMetadataFile()

uno::Reference< rdf::XURI > SAL_CALL sfx2::DocumentMetadataAccess::importMetadataFile ( ::sal_Int16  i_Format,
const css::uno::Reference< css::io::XInputStream > &  i_xInStream,
const OUString &  i_rFileName,
const css::uno::Reference< css::rdf::XURI > &  i_xBaseURI,
const css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > &  i_rTypes 
)
overridevirtual

◆ loadMetadataFromMedium()

void SAL_CALL sfx2::DocumentMetadataAccess::loadMetadataFromMedium ( const css::uno::Sequence< css::beans::PropertyValue > &  i_rMedium)
overridevirtual

◆ loadMetadataFromStorage()

void SAL_CALL sfx2::DocumentMetadataAccess::loadMetadataFromStorage ( const css::uno::Reference< css::embed::XStorage > &  i_xStorage,
const css::uno::Reference< css::rdf::XURI > &  i_xBaseURI,
const css::uno::Reference< css::task::XInteractionHandler > &  i_xHandler 
)
overridevirtual

◆ operator=()

DocumentMetadataAccess & sfx2::DocumentMetadataAccess::operator= ( const DocumentMetadataAccess )
privatedelete

◆ removeContentOrStylesFile()

void SAL_CALL sfx2::DocumentMetadataAccess::removeContentOrStylesFile ( const OUString &  i_rFileName)
overridevirtual

◆ removeMetadataFile()

void SAL_CALL sfx2::DocumentMetadataAccess::removeMetadataFile ( const css::uno::Reference< css::rdf::XURI > &  i_xGraphName)
overridevirtual

◆ storeMetadataToMedium()

void SAL_CALL sfx2::DocumentMetadataAccess::storeMetadataToMedium ( const css::uno::Sequence< css::beans::PropertyValue > &  i_rMedium)
overridevirtual

◆ storeMetadataToStorage()

void SAL_CALL sfx2::DocumentMetadataAccess::storeMetadataToStorage ( const css::uno::Reference< css::embed::XStorage > &  i_xStorage)
overridevirtual

Member Data Documentation

◆ m_pImpl

std::unique_ptr<DocumentMetadataAccess_Impl> sfx2::DocumentMetadataAccess::m_pImpl
private

Definition at line 145 of file DocumentMetadataAccess.hxx.


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