LibreOffice Module sfx2 (master) 1
|
#include <DocumentMetadataAccess.hxx>
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 | |
DocumentMetadataAccess & | operator= (const DocumentMetadataAccess &)=delete |
Private Attributes | |
std::unique_ptr< DocumentMetadataAccess_Impl > | m_pImpl |
Definition at line 75 of file DocumentMetadataAccess.hxx.
|
privatedelete |
|
explicit |
|
explicit |
|
overridevirtual |
Definition at line 849 of file DocumentMetadataAccess.cxx.
|
overridevirtual |
Definition at line 1031 of file DocumentMetadataAccess.cxx.
References sfx2::addContentOrStylesFileImpl(), sfx2::isFileNameValid(), and m_pImpl.
|
overridevirtual |
Definition at line 932 of file DocumentMetadataAccess.cxx.
References sfx2::addMetadataFileImpl(), cppu::getCaughtException(), sfx2::getURIForStream(), sfx2::isFileNameValid(), sfx2::isReservedFile(), and m_pImpl.
|
overridevirtual |
Definition at line 883 of file DocumentMetadataAccess.cxx.
References sfx2::IXmlIdRegistry::GetElementByMetadataReference(), and m_pImpl.
|
overridevirtual |
Definition at line 896 of file DocumentMetadataAccess.cxx.
References m_pImpl, name, and sfx2::splitXmlId().
|
overridevirtual |
Definition at line 876 of file DocumentMetadataAccess.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 919 of file DocumentMetadataAccess.cxx.
References sfx2::getAllParts(), and m_pImpl.
|
overridevirtual |
Definition at line 870 of file DocumentMetadataAccess.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 855 of file DocumentMetadataAccess.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 863 of file DocumentMetadataAccess.cxx.
References m_pImpl.
|
overridevirtual |
Definition at line 970 of file DocumentMetadataAccess.cxx.
References sfx2::addMetadataFileImpl(), cppu::getCaughtException(), sfx2::getURIForStream(), sfx2::isFileNameValid(), sfx2::isReservedFile(), and m_pImpl.
|
overridevirtual |
Definition at line 1257 of file DocumentMetadataAccess.cxx.
References sfx2::createBaseURI(), cppu::getCaughtException(), comphelper::OStorageHelper::GetStorageFromInputStream(), comphelper::OStorageHelper::GetStorageFromURL2(), m_pImpl, md(), utl::MediaDescriptor::PROP_DOCUMENTBASEURL, utl::MediaDescriptor::PROP_INPUTSTREAM, utl::MediaDescriptor::PROP_INTERACTIONHANDLER, utl::MediaDescriptor::PROP_URL, and URL.
|
overridevirtual |
Definition at line 1086 of file DocumentMetadataAccess.cxx.
References sfx2::addContentOrStylesFileImpl(), sfx2::collectFilesFromStorage(), sfx2::getAllParts(), cppu::getCaughtException(), sfx2::getURIForStream(), sfx2::importFile(), sfx2::initLoading(), sfx2::isContentFile(), sfx2::isPartOfType(), sfx2::isReservedFile(), sfx2::isStylesFile(), m_pImpl, name, sfx2::s_manifest, and SAL_WARN.
|
privatedelete |
|
overridevirtual |
Definition at line 1049 of file DocumentMetadataAccess.cxx.
References cppu::getCaughtException(), sfx2::getURIForStream(), sfx2::isFileNameValid(), m_pImpl, and sfx2::removeFile().
|
overridevirtual |
Definition at line 1013 of file DocumentMetadataAccess.cxx.
References cppu::getCaughtException(), m_pImpl, and sfx2::removeFile().
|
overridevirtual |
Definition at line 1315 of file DocumentMetadataAccess.cxx.
References SfxMedium::Close(), SfxMedium::Commit(), ERRCODE_IO_GENERAL, ERRCODE_NONE, ex, SfxMedium::GetError(), SfxMedium::GetOutputStorage(), comphelper::OStorageHelper::GetStorageFromURL2(), m_pImpl, md(), utl::MediaDescriptor::PROP_MEDIATYPE, utl::MediaDescriptor::PROP_URL, ErrCode::toString(), and URL.
|
overridevirtual |
Definition at line 1187 of file DocumentMetadataAccess.cxx.
References cppu::getCaughtException(), sfx2::getURIForStream(), sfx2::isFileNameValid(), sfx2::isReservedFile(), m_pImpl, name, sfx2::s_manifest, SAL_WARN, and sfx2::writeStream().
|
private |
Definition at line 145 of file DocumentMetadataAccess.hxx.