LibreOffice Module package (master) 1
|
#include <owriteablestream.hxx>
Public Member Functions | |
OWriteStream_Impl (OStorage_Impl *pParent, const css::uno::Reference< css::packages::XDataSinkEncrSupport > &xPackageStream, const css::uno::Reference< css::lang::XSingleServiceFactory > &xPackage, css::uno::Reference< css::uno::XComponentContext > xContext, bool bForceEncrypted, sal_Int32 nStorageType, bool bDefaultCompress, css::uno::Reference< css::io::XInputStream > xRelInfoStream=css::uno::Reference< css::io::XInputStream >()) | |
~OWriteStream_Impl () | |
void | CleanCacheStream () |
bool | UsesCommonEncryption_Impl () const |
bool | HasTempFile_Impl () const |
bool | IsTransacted () |
bool | HasWriteOwner_Impl () const |
void | InsertIntoPackageFolder (const OUString &aName, const css::uno::Reference< css::container::XNameContainer > &xParentPackageFolder) |
void | SetToBeCommited () |
bool | HasCachedEncryptionData () const |
::comphelper::SequenceAsHashMap & | GetCachedEncryptionData () |
bool | IsModified () const |
bool | IsEncrypted () |
void | SetDecrypted () |
void | SetEncrypted (const ::comphelper::SequenceAsHashMap &aEncryptionData) |
void | DisposeWrappers () |
void | InsertStreamDirectly (const css::uno::Reference< css::io::XInputStream > &xInStream, const css::uno::Sequence< css::beans::PropertyValue > &aProps) |
void | Commit () |
void | Revert () |
css::uno::Sequence< css::beans::PropertyValue > const & | GetStreamProperties () |
css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > | GetAllRelationshipsIfAny () |
void | CopyInternallyTo_Impl (const css::uno::Reference< css::io::XStream > &xDestStream, const ::comphelper::SequenceAsHashMap &aEncryptionData) |
void | CopyInternallyTo_Impl (const css::uno::Reference< css::io::XStream > &xDestStream) |
css::uno::Reference< css::io::XStream > | GetStream (sal_Int32 nStreamMode, const ::comphelper::SequenceAsHashMap &aEncryptionData, bool bHierarchyAccess) |
css::uno::Reference< css::io::XStream > | GetStream (sal_Int32 nStreamMode, bool bHierarchyAccess) |
css::uno::Reference< css::io::XInputStream > | GetRawInStream () |
css::uno::Reference< css::io::XInputStream > | GetPlainRawInStream () |
void | InputStreamDisposed (OInputCompStream *pStream) |
void | CreateReadonlyCopyBasedOnData (const css::uno::Reference< css::io::XInputStream > &xDataToCopy, const css::uno::Sequence< css::beans::PropertyValue > &aProps, css::uno::Reference< css::io::XStream > &xTargetStream) |
void | GetCopyOfLastCommit (css::uno::Reference< css::io::XStream > &xTargetStream) |
void | GetCopyOfLastCommit (css::uno::Reference< css::io::XStream > &xTargetStream, const ::comphelper::SequenceAsHashMap &aEncryptionData) |
void | CommitStreamRelInfo (const css::uno::Reference< css::embed::XStorage > &xRelStorage, std::u16string_view aOrigStreamName, std::u16string_view aNewStreamName) |
void | ReadRelInfoIfNecessary () |
sal_Int32 | GetNewRelId () |
Public Attributes | |
rtl::Reference< comphelper::RefCountedMutex > | m_xMutex |
OWriteStream * | m_pAntiImpl |
std::optional< utl::TempFileFast > | m_oTempFile |
css::uno::Reference< css::io::XStream > | m_xCacheStream |
css::uno::Reference< css::io::XSeekable > | m_xCacheSeek |
std::vector< OInputCompStream * > | m_aInputStreamsVector |
bool | m_bHasDataToFlush |
bool | m_bFlushed |
css::uno::Reference< css::packages::XDataSinkEncrSupport > | m_xPackageStream |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
OStorage_Impl * | m_pParent |
css::uno::Sequence< css::beans::PropertyValue > | m_aProps |
bool | m_bForceEncrypted |
bool | m_bUseCommonEncryption |
bool | m_bHasCachedEncryptionData |
::comphelper::SequenceAsHashMap | m_aEncryptionData |
bool | m_bCompressedSetExplicit |
css::uno::Reference< css::lang::XSingleServiceFactory > | m_xPackage |
bool | m_bHasInsertedStreamOptimization |
sal_Int32 | m_nStorageType |
css::uno::Reference< css::io::XInputStream > | m_xOrigRelInfoStream |
css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > | m_aOrigRelInfo |
bool | m_bOrigRelInfoBroken |
css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > | m_aNewRelInfo |
css::uno::Reference< css::io::XInputStream > | m_xNewRelInfoStream |
sal_Int16 | m_nRelInfoStatus |
sal_Int32 | m_nRelId |
Private Member Functions | |
void | GetFilledTempFileIfNo (const css::uno::Reference< css::io::XInputStream > &xStream) |
void | FillTempGetFileName () |
css::uno::Reference< css::io::XStream > | GetTempFileAsStream () |
css::uno::Reference< css::io::XInputStream > | GetTempFileAsInputStream () |
css::uno::Reference< css::io::XStream > | GetStream_Impl (sal_Int32 nStreamMode, bool bHierarchyAccess) |
::comphelper::SequenceAsHashMap | GetCommonRootEncryptionData () |
css::uno::Sequence< css::beans::PropertyValue > | ReadPackageStreamProperties () |
css::uno::Sequence< css::beans::PropertyValue > | InsertOwnProps (const css::uno::Sequence< css::beans::PropertyValue > &aProps, bool bUseCommonEncryption) |
Friends | |
struct | OStorage_Impl |
class | OWriteStream |
class | OInputCompStream |
Definition at line 67 of file owriteablestream.hxx.
OWriteStream_Impl::OWriteStream_Impl | ( | OStorage_Impl * | pParent, |
const css::uno::Reference< css::packages::XDataSinkEncrSupport > & | xPackageStream, | ||
const css::uno::Reference< css::lang::XSingleServiceFactory > & | xPackage, | ||
css::uno::Reference< css::uno::XComponentContext > | xContext, | ||
bool | bForceEncrypted, | ||
sal_Int32 | nStorageType, | ||
bool | bDefaultCompress, | ||
css::uno::Reference< css::io::XInputStream > | xRelInfoStream = css::uno::Reference< css::io::XInputStream >() |
||
) |
Definition at line 231 of file owriteablestream.cxx.
References m_nStorageType, m_xContext, m_xContext, m_xOrigRelInfoStream, m_xPackage, PACKAGE, and SAL_WARN_IF.
OWriteStream_Impl::~OWriteStream_Impl | ( | ) |
Definition at line 265 of file owriteablestream.cxx.
References CleanCacheStream(), DisposeWrappers(), and m_oTempFile.
void OWriteStream_Impl::CleanCacheStream | ( | ) |
Definition at line 274 of file owriteablestream.cxx.
References m_xCacheSeek, and m_xCacheStream.
Referenced by GetFilledTempFileIfNo(), GetStream_Impl(), and ~OWriteStream_Impl().
void OWriteStream_Impl::Commit | ( | ) |
Definition at line 709 of file owriteablestream.cxx.
References aSeq, OWriteStream::DeInit(), comphelper::SequenceAsHashMap::getAsConstNamedValueList(), m_aEncryptionData, m_aProps, m_bFlushed, m_bHasCachedEncryptionData, m_bHasDataToFlush, m_bHasInsertedStreamOptimization, m_bUseCommonEncryption, m_nStorageType, m_oTempFile, m_pAntiImpl, m_xCacheSeek, m_xCacheStream, m_xContext, m_xMutex, m_xPackage, m_xPackageStream, OWriteStream::m_xSeekable, SAL_WARN_IF, STORAGE_ENCRYPTION_KEYS_PROPERTY, and TOOLS_WARN_EXCEPTION.
Referenced by OWriteStream::commit(), OWriteStream::dispose(), and OWriteStream::flush().
void OWriteStream_Impl::CommitStreamRelInfo | ( | const css::uno::Reference< css::embed::XStorage > & | xRelStorage, |
std::u16string_view | aOrigStreamName, | ||
std::u16string_view | aNewStreamName | ||
) |
Definition at line 1426 of file owriteablestream.cxx.
References comphelper::OStorageHelper::CopyInputToOutput(), m_aNewRelInfo, m_aOrigRelInfo, m_bOrigRelInfoBroken, m_nRelInfoStatus, m_nStorageType, m_xContext, m_xNewRelInfoStream, m_xOrigRelInfoStream, RELINFO_BROKEN, RELINFO_CHANGED, RELINFO_CHANGED_BROKEN, RELINFO_CHANGED_STREAM, RELINFO_CHANGED_STREAM_READ, RELINFO_NO_INIT, and RELINFO_READ.
void OWriteStream_Impl::CopyInternallyTo_Impl | ( | const css::uno::Reference< css::io::XStream > & | xDestStream | ) |
void OWriteStream_Impl::CopyInternallyTo_Impl | ( | const css::uno::Reference< css::io::XStream > & | xDestStream, |
const ::comphelper::SequenceAsHashMap & | aEncryptionData | ||
) |
void OWriteStream_Impl::CreateReadonlyCopyBasedOnData | ( | const css::uno::Reference< css::io::XInputStream > & | xDataToCopy, |
const css::uno::Sequence< css::beans::PropertyValue > & | aProps, | ||
css::uno::Reference< css::io::XStream > & | xTargetStream | ||
) |
Definition at line 1298 of file owriteablestream.cxx.
References comphelper::OStorageHelper::CopyInputToOutput(), InsertOwnProps(), m_bUseCommonEncryption, and m_nStorageType.
void OWriteStream_Impl::DisposeWrappers | ( | ) |
Definition at line 428 of file owriteablestream.cxx.
References OWriteStream::dispose(), m_aInputStreamsVector, m_pAntiImpl, m_pParent, m_xMutex, and TOOLS_INFO_EXCEPTION.
Referenced by ~OWriteStream_Impl().
|
private |
Definition at line 491 of file owriteablestream.cxx.
References aData, package::CopyInputToOutput(), m_oTempFile, m_xCacheSeek, m_xCacheStream, m_xContext, m_xPackageStream, MAX_STORCACHE_SIZE, SAL_WARN_IF, and SvStream::WriteBytes().
Referenced by GetTempFileAsInputStream(), GetTempFileAsStream(), SetDecrypted(), and SetEncrypted().
uno::Sequence< uno::Sequence< beans::StringPair > > OWriteStream_Impl::GetAllRelationshipsIfAny | ( | ) |
Definition at line 1040 of file owriteablestream.cxx.
References m_aNewRelInfo, m_aOrigRelInfo, m_nRelInfoStatus, m_nStorageType, ReadRelInfoIfNecessary(), RELINFO_CHANGED, RELINFO_CHANGED_STREAM_READ, and RELINFO_READ.
Referenced by OWriteStream::getAllRelationships().
|
inline |
Definition at line 164 of file owriteablestream.hxx.
References m_aEncryptionData.
|
private |
css::packages::NoEncryptionException |
Definition at line 1282 of file owriteablestream.cxx.
References OStorage_Impl::GetCommonRootEncryptionData(), m_nStorageType, m_pParent, and m_xMutex.
Referenced by GetStream().
void OWriteStream_Impl::GetCopyOfLastCommit | ( | css::uno::Reference< css::io::XStream > & | xTargetStream | ) |
void OWriteStream_Impl::GetCopyOfLastCommit | ( | css::uno::Reference< css::io::XStream > & | xTargetStream, |
const ::comphelper::SequenceAsHashMap & | aEncryptionData | ||
) |
|
private |
Definition at line 460 of file owriteablestream.cxx.
References CleanCacheStream(), package::CopyInputToOutput(), m_oTempFile, TOOLS_INFO_EXCEPTION, and xStream.
Referenced by OWriteStream::writeBytes().
|
inline |
Definition at line 220 of file owriteablestream.hxx.
References m_nRelId.
Referenced by OWriteStream::getPropertyValue().
uno::Reference< io::XInputStream > OWriteStream_Impl::GetPlainRawInStream | ( | ) |
Definition at line 1253 of file owriteablestream.cxx.
References m_xMutex, m_xPackageStream, and SAL_WARN_IF.
uno::Reference< io::XInputStream > OWriteStream_Impl::GetRawInStream | ( | ) |
Definition at line 1266 of file owriteablestream.cxx.
References IsEncrypted(), m_pAntiImpl, m_xMutex, m_xPackageStream, and SAL_WARN_IF.
uno::Reference< io::XStream > OWriteStream_Impl::GetStream | ( | sal_Int32 | nStreamMode, |
bool | bHierarchyAccess | ||
) |
Definition at line 1127 of file owriteablestream.cxx.
References GetCommonRootEncryptionData(), GetStream(), GetStream_Impl(), IsEncrypted(), m_pAntiImpl, m_xMutex, m_xPackageStream, SAL_WARN_IF, and TOOLS_INFO_EXCEPTION.
uno::Reference< io::XStream > OWriteStream_Impl::GetStream | ( | sal_Int32 | nStreamMode, |
const ::comphelper::SequenceAsHashMap & | aEncryptionData, | ||
bool | bHierarchyAccess | ||
) |
Definition at line 1073 of file owriteablestream.cxx.
References ex, GetStream_Impl(), IsEncrypted(), m_aEncryptionData, m_bHasCachedEncryptionData, m_bUseCommonEncryption, m_pAntiImpl, m_xMutex, m_xPackageStream, package::PackageEncryptionDataLessOrEqual(), SAL_WARN_IF, TOOLS_INFO_EXCEPTION, and TOOLS_WARN_EXCEPTION.
Referenced by GetStream().
|
private |
Definition at line 1159 of file owriteablestream.cxx.
References CleanCacheStream(), GetStreamProperties(), GetTempFileAsInputStream(), GetTempFileAsStream(), InsertOwnProps(), m_aInputStreamsVector, m_aProps, m_bHasDataToFlush, m_bHasInsertedStreamOptimization, OStorage_Impl::m_bIsModified, m_bUseCommonEncryption, m_nStorageType, m_oTempFile, m_pAntiImpl, m_pParent, m_xCacheSeek, m_xCacheStream, m_xContext, m_xMutex, m_xPackageStream, OInputCompStream, OWriteStream, ReadRelInfoIfNecessary(), and xStream.
Referenced by GetStream().
uno::Sequence< beans::PropertyValue > const & OWriteStream_Impl::GetStreamProperties | ( | ) |
Definition at line 859 of file owriteablestream.cxx.
References m_aProps, and ReadPackageStreamProperties().
Referenced by OWriteStream::getPropertyValue(), GetStream_Impl(), IsEncrypted(), SetDecrypted(), SetEncrypted(), and OWriteStream::setPropertyValue().
|
private |
Definition at line 590 of file owriteablestream.cxx.
References FillTempGetFileName(), m_oTempFile, m_xCacheStream, SvStream::Seek(), and TOOLS_INFO_EXCEPTION.
Referenced by GetStream_Impl().
|
private |
Definition at line 553 of file owriteablestream.cxx.
References FillTempGetFileName(), m_oTempFile, m_xCacheStream, SvStream::Seek(), and TOOLS_INFO_EXCEPTION.
Referenced by OWriteStream::CheckInitOnDemand(), GetStream_Impl(), and OWriteStream::writeBytes().
|
inline |
Definition at line 163 of file owriteablestream.hxx.
References m_bHasCachedEncryptionData.
|
inline |
Definition at line 152 of file owriteablestream.hxx.
References m_oTempFile.
|
inline |
Definition at line 155 of file owriteablestream.hxx.
References m_pAntiImpl.
void OWriteStream_Impl::InputStreamDisposed | ( | OInputCompStream * | pStream | ) |
Definition at line 1292 of file owriteablestream.cxx.
References m_aInputStreamsVector, and m_xMutex.
Referenced by OInputCompStream::dispose().
void OWriteStream_Impl::InsertIntoPackageFolder | ( | const OUString & | aName, |
const css::uno::Reference< css::container::XNameContainer > & | xParentPackageFolder | ||
) |
Definition at line 301 of file owriteablestream.cxx.
References aName, m_bFlushed, m_bHasInsertedStreamOptimization, m_xMutex, m_xPackageStream, and SAL_WARN_IF.
|
private |
Definition at line 867 of file owriteablestream.cxx.
References i, m_aNewRelInfo, m_aOrigRelInfo, m_nRelInfoStatus, m_nStorageType, Name, p, ReadRelInfoIfNecessary(), RELINFO_CHANGED, RELINFO_CHANGED_STREAM_READ, and RELINFO_READ.
Referenced by CreateReadonlyCopyBasedOnData(), and GetStream_Impl().
void OWriteStream_Impl::InsertStreamDirectly | ( | const css::uno::Reference< css::io::XInputStream > & | xInStream, |
const css::uno::Sequence< css::beans::PropertyValue > & | aProps | ||
) |
Definition at line 627 of file owriteablestream.cxx.
References m_aProps, m_bCompressedSetExplicit, m_bFlushed, m_bHasDataToFlush, m_bHasInsertedStreamOptimization, m_bUseCommonEncryption, m_nStorageType, m_oTempFile, m_xCacheStream, m_xMutex, m_xPackageStream, SAL_WARN_IF, and STORAGE_ENCRYPTION_KEYS_PROPERTY.
bool OWriteStream_Impl::IsEncrypted | ( | ) |
Definition at line 317 of file owriteablestream.cxx.
References GetStreamProperties(), m_aProps, m_bForceEncrypted, m_bHasCachedEncryptionData, m_bUseCommonEncryption, m_nStorageType, m_oTempFile, m_xCacheStream, m_xPackageStream, and SAL_WARN.
Referenced by GetRawInStream(), GetStream(), and OWriteStream::hasEncryptionData().
|
inline |
Definition at line 166 of file owriteablestream.hxx.
References m_bFlushed, and m_bHasDataToFlush.
bool OWriteStream_Impl::IsTransacted | ( | ) |
Definition at line 905 of file owriteablestream.cxx.
References OWriteStream::m_bTransacted, m_pAntiImpl, and m_xMutex.
|
private |
Definition at line 961 of file owriteablestream.cxx.
References m_nStorageType, m_xPackageStream, sMediaType, TOOLS_WARN_EXCEPTION, and u.
Referenced by GetStreamProperties().
void OWriteStream_Impl::ReadRelInfoIfNecessary | ( | ) |
Definition at line 911 of file owriteablestream.cxx.
References m_aNewRelInfo, m_aOrigRelInfo, m_bOrigRelInfoBroken, m_nRelInfoStatus, m_nStorageType, m_xContext, m_xNewRelInfoStream, m_xOrigRelInfoStream, RELINFO_BROKEN, RELINFO_CHANGED_BROKEN, RELINFO_CHANGED_STREAM, RELINFO_CHANGED_STREAM_READ, RELINFO_NO_INIT, RELINFO_READ, TOOLS_INFO_EXCEPTION, and u.
Referenced by GetAllRelationshipsIfAny(), GetStream_Impl(), and InsertOwnProps().
void OWriteStream_Impl::Revert | ( | ) |
Definition at line 809 of file owriteablestream.cxx.
References comphelper::SequenceAsHashMap::clear(), m_aEncryptionData, m_aNewRelInfo, m_aOrigRelInfo, m_aProps, m_bHasCachedEncryptionData, m_bHasDataToFlush, m_bOrigRelInfoBroken, m_bUseCommonEncryption, m_nRelInfoStatus, m_nStorageType, m_oTempFile, m_xCacheSeek, m_xCacheStream, m_xMutex, m_xNewRelInfoStream, m_xOrigRelInfoStream, RELINFO_BROKEN, RELINFO_NO_INIT, and RELINFO_READ.
Referenced by OWriteStream::dispose(), and OWriteStream::revert().
void OWriteStream_Impl::SetDecrypted | ( | ) |
Definition at line 376 of file owriteablestream.cxx.
References comphelper::SequenceAsHashMap::clear(), FillTempGetFileName(), GetStreamProperties(), m_aEncryptionData, m_aProps, m_bForceEncrypted, m_bHasCachedEncryptionData, m_bHasDataToFlush, m_nStorageType, and SAL_WARN_IF.
Referenced by OWriteStream::removeEncryption(), and OWriteStream::setPropertyValue().
void OWriteStream_Impl::SetEncrypted | ( | const ::comphelper::SequenceAsHashMap & | aEncryptionData | ) |
Definition at line 400 of file owriteablestream.cxx.
References FillTempGetFileName(), GetStreamProperties(), m_aEncryptionData, m_aProps, m_bHasCachedEncryptionData, m_bHasDataToFlush, m_bUseCommonEncryption, m_nStorageType, and SAL_WARN_IF.
Referenced by OWriteStream::setEncryptionData(), and OWriteStream::setEncryptionPassword().
|
inline |
Definition at line 161 of file owriteablestream.hxx.
References m_bFlushed.
|
inline |
Definition at line 151 of file owriteablestream.hxx.
References m_bUseCommonEncryption.
|
friend |
Definition at line 73 of file owriteablestream.hxx.
Referenced by GetStream_Impl().
|
friend |
Definition at line 71 of file owriteablestream.hxx.
|
friend |
Definition at line 72 of file owriteablestream.hxx.
Referenced by GetStream_Impl().
::comphelper::SequenceAsHashMap OWriteStream_Impl::m_aEncryptionData |
Definition at line 98 of file owriteablestream.hxx.
Referenced by Commit(), GetCachedEncryptionData(), GetStream(), Revert(), SetDecrypted(), and SetEncrypted().
std::vector< OInputCompStream* > OWriteStream_Impl::m_aInputStreamsVector |
Definition at line 81 of file owriteablestream.hxx.
Referenced by DisposeWrappers(), GetStream_Impl(), and InputStreamDisposed().
css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > OWriteStream_Impl::m_aNewRelInfo |
Definition at line 113 of file owriteablestream.hxx.
Referenced by OWriteStream::clearRelationships(), CommitStreamRelInfo(), GetAllRelationshipsIfAny(), InsertOwnProps(), OWriteStream::insertRelationshipByID(), ReadRelInfoIfNecessary(), OWriteStream::removeRelationshipByID(), Revert(), and OWriteStream::setPropertyValue().
css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > OWriteStream_Impl::m_aOrigRelInfo |
Definition at line 110 of file owriteablestream.hxx.
Referenced by CommitStreamRelInfo(), GetAllRelationshipsIfAny(), InsertOwnProps(), ReadRelInfoIfNecessary(), and Revert().
css::uno::Sequence< css::beans::PropertyValue > OWriteStream_Impl::m_aProps |
Definition at line 92 of file owriteablestream.hxx.
Referenced by OWriteStream::CloseOutput_Impl(), Commit(), OWriteStream::getPropertyValue(), GetStream_Impl(), GetStreamProperties(), InsertStreamDirectly(), IsEncrypted(), Revert(), SetDecrypted(), SetEncrypted(), and OWriteStream::setPropertyValue().
bool OWriteStream_Impl::m_bCompressedSetExplicit |
Definition at line 100 of file owriteablestream.hxx.
Referenced by InsertStreamDirectly(), and OWriteStream::setPropertyValue().
bool OWriteStream_Impl::m_bFlushed |
Definition at line 84 of file owriteablestream.hxx.
Referenced by Commit(), InsertIntoPackageFolder(), InsertStreamDirectly(), IsModified(), and SetToBeCommited().
bool OWriteStream_Impl::m_bForceEncrypted |
Definition at line 94 of file owriteablestream.hxx.
Referenced by IsEncrypted(), and SetDecrypted().
bool OWriteStream_Impl::m_bHasCachedEncryptionData |
Definition at line 97 of file owriteablestream.hxx.
Referenced by Commit(), GetStream(), HasCachedEncryptionData(), IsEncrypted(), Revert(), SetDecrypted(), and SetEncrypted().
bool OWriteStream_Impl::m_bHasDataToFlush |
Definition at line 83 of file owriteablestream.hxx.
Referenced by Commit(), GetStream_Impl(), InsertStreamDirectly(), IsModified(), Revert(), SetDecrypted(), SetEncrypted(), OWriteStream::setPropertyValue(), OWriteStream::truncate(), and OWriteStream::writeBytes().
bool OWriteStream_Impl::m_bHasInsertedStreamOptimization |
Definition at line 104 of file owriteablestream.hxx.
Referenced by Commit(), GetStream_Impl(), InsertIntoPackageFolder(), InsertStreamDirectly(), and OWriteStream::setPropertyValue().
bool OWriteStream_Impl::m_bOrigRelInfoBroken |
Definition at line 111 of file owriteablestream.hxx.
Referenced by CommitStreamRelInfo(), ReadRelInfoIfNecessary(), and Revert().
bool OWriteStream_Impl::m_bUseCommonEncryption |
Definition at line 96 of file owriteablestream.hxx.
Referenced by Commit(), CreateReadonlyCopyBasedOnData(), OWriteStream::getPropertyValue(), GetStream(), GetStream_Impl(), OWriteStream::hasEncryptionData(), InsertStreamDirectly(), IsEncrypted(), Revert(), SetEncrypted(), OWriteStream::setPropertyValue(), and UsesCommonEncryption_Impl().
sal_Int32 OWriteStream_Impl::m_nRelId |
Definition at line 116 of file owriteablestream.hxx.
Referenced by GetNewRelId(), and OWriteStream::setPropertyValue().
sal_Int16 OWriteStream_Impl::m_nRelInfoStatus |
Definition at line 115 of file owriteablestream.hxx.
Referenced by OWriteStream::clearRelationships(), CommitStreamRelInfo(), GetAllRelationshipsIfAny(), InsertOwnProps(), OWriteStream::insertRelationshipByID(), ReadRelInfoIfNecessary(), OWriteStream::removeRelationshipByID(), Revert(), and OWriteStream::setPropertyValue().
sal_Int32 OWriteStream_Impl::m_nStorageType |
Definition at line 106 of file owriteablestream.hxx.
Referenced by Commit(), CommitStreamRelInfo(), CreateReadonlyCopyBasedOnData(), GetAllRelationshipsIfAny(), GetCommonRootEncryptionData(), GetStream_Impl(), InsertOwnProps(), InsertStreamDirectly(), IsEncrypted(), OWriteStream_Impl(), ReadPackageStreamProperties(), ReadRelInfoIfNecessary(), Revert(), SetDecrypted(), and SetEncrypted().
std::optional<utl::TempFileFast> OWriteStream_Impl::m_oTempFile |
Definition at line 76 of file owriteablestream.hxx.
Referenced by Commit(), FillTempGetFileName(), GetFilledTempFileIfNo(), GetStream_Impl(), GetTempFileAsInputStream(), GetTempFileAsStream(), HasTempFile_Impl(), InsertStreamDirectly(), IsEncrypted(), Revert(), OWriteStream::writeBytes(), and ~OWriteStream_Impl().
OWriteStream* OWriteStream_Impl::m_pAntiImpl |
Definition at line 75 of file owriteablestream.hxx.
Referenced by Commit(), OWriteStream::dispose(), DisposeWrappers(), GetRawInStream(), GetStream(), GetStream_Impl(), HasWriteOwner_Impl(), and IsTransacted().
OStorage_Impl* OWriteStream_Impl::m_pParent |
Definition at line 90 of file owriteablestream.hxx.
Referenced by DisposeWrappers(), GetCommonRootEncryptionData(), GetStream_Impl(), OWriteStream::hasEncryptionData(), and OWriteStream::ModifyParentUnlockMutex_Impl().
css::uno::Reference< css::io::XSeekable > OWriteStream_Impl::m_xCacheSeek |
Definition at line 79 of file owriteablestream.hxx.
Referenced by CleanCacheStream(), Commit(), FillTempGetFileName(), GetStream_Impl(), and Revert().
css::uno::Reference< css::io::XStream > OWriteStream_Impl::m_xCacheStream |
Definition at line 78 of file owriteablestream.hxx.
Referenced by CleanCacheStream(), Commit(), FillTempGetFileName(), GetStream_Impl(), GetTempFileAsInputStream(), GetTempFileAsStream(), InsertStreamDirectly(), IsEncrypted(), Revert(), and OWriteStream::writeBytes().
css::uno::Reference< css::uno::XComponentContext > OWriteStream_Impl::m_xContext |
Definition at line 88 of file owriteablestream.hxx.
Referenced by Commit(), CommitStreamRelInfo(), FillTempGetFileName(), GetStream_Impl(), OWriteStream_Impl(), and ReadRelInfoIfNecessary().
rtl::Reference<comphelper::RefCountedMutex> OWriteStream_Impl::m_xMutex |
Definition at line 69 of file owriteablestream.hxx.
Referenced by Commit(), DisposeWrappers(), GetCommonRootEncryptionData(), GetPlainRawInStream(), GetRawInStream(), GetStream(), GetStream_Impl(), InputStreamDisposed(), InsertIntoPackageFolder(), InsertStreamDirectly(), IsTransacted(), and Revert().
css::uno::Reference< css::io::XInputStream > OWriteStream_Impl::m_xNewRelInfoStream |
Definition at line 114 of file owriteablestream.hxx.
Referenced by OWriteStream::clearRelationships(), CommitStreamRelInfo(), OWriteStream::insertRelationshipByID(), ReadRelInfoIfNecessary(), OWriteStream::removeRelationshipByID(), Revert(), and OWriteStream::setPropertyValue().
css::uno::Reference< css::io::XInputStream > OWriteStream_Impl::m_xOrigRelInfoStream |
Definition at line 109 of file owriteablestream.hxx.
Referenced by CommitStreamRelInfo(), OWriteStream_Impl(), ReadRelInfoIfNecessary(), and Revert().
css::uno::Reference< css::lang::XSingleServiceFactory > OWriteStream_Impl::m_xPackage |
Definition at line 102 of file owriteablestream.hxx.
Referenced by Commit().
css::uno::Reference< css::packages::XDataSinkEncrSupport > OWriteStream_Impl::m_xPackageStream |
Definition at line 86 of file owriteablestream.hxx.
Referenced by Commit(), FillTempGetFileName(), GetPlainRawInStream(), GetRawInStream(), GetStream(), GetStream_Impl(), InsertIntoPackageFolder(), InsertStreamDirectly(), IsEncrypted(), ReadPackageStreamProperties(), OWriteStream::removeEncryption(), OWriteStream::setEncryptionData(), and OWriteStream::setEncryptionPassword().