27#include <com/sun/star/frame/XTransientDocumentsDocumentContentFactory.hpp>
28#include <com/sun/star/frame/XTransientDocumentsDocumentContentIdentifierFactory.hpp>
61typedef cppu::ImplInheritanceHelper<
63 css::frame::XTransientDocumentsDocumentContentIdentifierFactory,
68 explicit ContentProvider(
const css::uno::Reference< css::uno::XComponentContext >& rxContext );
77 virtual css::uno::Reference< css::ucb::XContent > SAL_CALL
78 queryContent(
const css::uno::Reference< css::ucb::XContentIdentifier >& Identifier )
override;
81 virtual css::uno::Reference<css::ucb::XContentIdentifier> SAL_CALL
83 css::uno::Reference<css::frame::XModel>
const& xModel)
override;
86 virtual css::uno::Reference< css::ucb::XContent > SAL_CALL
88 css::frame::XModel >& Model )
override;
91 css::uno::Reference< css::embed::XStorage >
94 css::uno::Reference< css::embed::XStorage >
99 css::uno::Reference< css::io::XInputStream >
101 const OUString & rPassword )
const;
105 css::uno::Reference< css::io::XOutputStream >
107 const OUString & rPassword,
108 bool bTruncate )
const;
112 css::uno::Reference< css::io::XStream >
114 const OUString & rPassword,
115 bool bTruncate )
const;
118 const OUString & rUri,
119 css::uno::Sequence< OUString > & rNames )
const;
124 css::uno::Reference< css::frame::XModel >
void notifyDocumentOpened(std::u16string_view rDocId)
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
ContentProvider(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
css::util::DateTime queryStreamDateModified(OUString const &uri) const
void notifyDocumentClosed(std::u16string_view rDocId)
virtual OUString SAL_CALL getImplementationName() override
OUString queryStorageTitle(const OUString &rUri) const
css::uno::Reference< css::io::XOutputStream > queryOutputStream(const OUString &rUri, const OUString &rPassword, bool bTruncate) const
virtual css::uno::Reference< css::ucb::XContent > SAL_CALL createDocumentContent(const css::uno::Reference< css::frame::XModel > &Model) override
rtl::Reference< StorageElementFactory > m_xStgElemFac
css::uno::Reference< css::io::XInputStream > queryInputStream(const OUString &rUri, const OUString &rPassword) const
virtual css::uno::Reference< css::ucb::XContentIdentifier > SAL_CALL createDocumentContentIdentifier(css::uno::Reference< css::frame::XModel > const &xModel) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
css::uno::Reference< css::embed::XStorage > queryStorageClone(const OUString &rUri) const
rtl::Reference< OfficeDocumentsManager > m_xDocsMgr
virtual ~ContentProvider() override
bool queryNamesOfChildren(const OUString &rUri, css::uno::Sequence< OUString > &rNames) const
css::uno::Reference< css::frame::XModel > queryDocumentModel(const OUString &rUri) const
virtual css::uno::Reference< css::ucb::XContent > SAL_CALL queryContent(const css::uno::Reference< css::ucb::XContentIdentifier > &Identifier) override
css::uno::Reference< css::io::XStream > queryStream(const OUString &rUri, const OUString &rPassword, bool bTruncate) const
css::uno::Reference< css::embed::XStorage > queryStorage(const OUString &rUri, StorageAccessMode eMode) const
constexpr OUStringLiteral TDOC_ROOT_CONTENT_TYPE
cppu::ImplInheritanceHelper< ::ucbhelper::ContentProviderImplHelper, css::frame::XTransientDocumentsDocumentContentIdentifierFactory, css::frame::XTransientDocumentsDocumentContentFactory > ContentProvider_Base
constexpr OUStringLiteral TDOC_STREAM_CONTENT_TYPE
constexpr OUStringLiteral TDOC_DOCUMENT_CONTENT_TYPE
constexpr OUStringLiteral TDOC_FOLDER_CONTENT_TYPE