LibreOffice Module shell (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
COooFilter Class Reference

#include <ooofilt.hxx>

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

Public Member Functions

virtual HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, void **ppvObject) override
 
virtual ULONG STDMETHODCALLTYPE AddRef () override
 
virtual ULONG STDMETHODCALLTYPE Release () override
 
virtual SCODE STDMETHODCALLTYPE Init (ULONG grfFlags, ULONG cAttributes, FULLPROPSPEC const *aAttributes, ULONG *pFlags) override
 
virtual SCODE STDMETHODCALLTYPE GetChunk (STAT_CHUNK *pStat) override
 
virtual SCODE STDMETHODCALLTYPE GetText (ULONG *pcwcBuffer, WCHAR *awcBuffer) override
 
virtual SCODE STDMETHODCALLTYPE GetValue (PROPVARIANT **ppPropValue) override
 
virtual SCODE STDMETHODCALLTYPE BindRegion (FILTERREGION origPos, REFIID riid, void **ppunk) override
 
virtual HRESULT STDMETHODCALLTYPE GetClassID (CLSID *pClassID) override
 
virtual HRESULT STDMETHODCALLTYPE IsDirty () override
 
virtual HRESULT STDMETHODCALLTYPE Load (LPCOLESTR pszFileName, DWORD dwMode) override
 
virtual HRESULT STDMETHODCALLTYPE Save (LPCOLESTR pszFileName, BOOL fRemember) override
 
virtual HRESULT STDMETHODCALLTYPE SaveCompleted (LPCOLESTR pszFileName) override
 
virtual HRESULT STDMETHODCALLTYPE GetCurFile (LPOLESTR *ppszFileName) override
 
virtual HRESULT STDMETHODCALLTYPE Load (IStream *pStm) override
 
virtual HRESULT STDMETHODCALLTYPE Save (IStream *pStm, BOOL fClearDirty) override
 
virtual HRESULT STDMETHODCALLTYPE GetSizeMax (ULARGE_INTEGER *pcbSize) override
 

Private Member Functions

 COooFilter ()
 
virtual ~COooFilter ()
 

Private Attributes

LONG m_lRefs
 
CContentReaderm_pContentReader
 
CMetaInfoReaderm_pMetaInfoReader
 
FilterState m_eState
 
::std::wstring m_pwszFileName
 
ULONG m_ulUnicodeBufferLen
 
ULONG m_ulUnicodeCharsRead
 
ULONG m_ulPropertyNum
 
ULONG m_ulCurrentPropertyNum
 
ULONG m_ulChunkID
 
bool m_fContents
 
bool m_fEof
 
::std::wstring m_pwsBuffer
 
ULONG m_ChunkPosition
 
ULONG m_cAttributes
 
CFullPropSpecm_pAttributes
 
StreamInterfacem_pStream
 

Friends

class COooFilterCF
 

Detailed Description

Definition at line 72 of file ooofilt.hxx.

Constructor & Destructor Documentation

◆ COooFilter()

COooFilter::COooFilter ( )
private

Definition at line 77 of file ooofilt.cxx.

References FilteringContent, g_lInstances, and m_pStream.

◆ ~COooFilter()

COooFilter::~COooFilter ( )
privatevirtual

Definition at line 103 of file ooofilt.cxx.

References g_lInstances, m_pAttributes, m_pContentReader, m_pMetaInfoReader, and m_pStream.

Member Function Documentation

◆ AddRef()

ULONG STDMETHODCALLTYPE COooFilter::AddRef ( )
overridevirtual

Definition at line 154 of file ooofilt.cxx.

References m_lRefs.

◆ BindRegion()

SCODE STDMETHODCALLTYPE COooFilter::BindRegion ( FILTERREGION  origPos,
REFIID  riid,
void **  ppunk 
)
overridevirtual

Definition at line 505 of file ooofilt.cxx.

◆ GetChunk()

SCODE STDMETHODCALLTYPE COooFilter::GetChunk ( STAT_CHUNK *  pStat)
overridevirtual

◆ GetClassID()

HRESULT STDMETHODCALLTYPE COooFilter::GetClassID ( CLSID *  pClassID)
overridevirtual

Definition at line 523 of file ooofilt.cxx.

References CLSID_COooFilter.

◆ GetCurFile()

HRESULT STDMETHODCALLTYPE COooFilter::GetCurFile ( LPOLESTR *  ppszFileName)
overridevirtual

Definition at line 679 of file ooofilt.cxx.

References EMPTY_STRING, and m_pwszFileName.

◆ GetSizeMax()

HRESULT STDMETHODCALLTYPE COooFilter::GetSizeMax ( ULARGE_INTEGER *  pcbSize)
overridevirtual

Definition at line 644 of file ooofilt.cxx.

◆ GetText()

SCODE STDMETHODCALLTYPE COooFilter::GetText ( ULONG *  pcwcBuffer,
WCHAR *  awcBuffer 
)
overridevirtual

◆ GetValue()

SCODE STDMETHODCALLTYPE COooFilter::GetValue ( PROPVARIANT **  ppPropValue)
overridevirtual

◆ Init()

SCODE STDMETHODCALLTYPE COooFilter::Init ( ULONG  grfFlags,
ULONG  cAttributes,
FULLPROPSPEC const *  aAttributes,
ULONG *  pFlags 
)
overridevirtual

◆ IsDirty()

HRESULT STDMETHODCALLTYPE COooFilter::IsDirty ( )
overridevirtual

Definition at line 537 of file ooofilt.cxx.

◆ Load() [1/2]

HRESULT STDMETHODCALLTYPE COooFilter::Load ( IStream *  pStm)
overridevirtual

◆ Load() [2/2]

HRESULT STDMETHODCALLTYPE COooFilter::Load ( LPCOLESTR  pszFileName,
DWORD  dwMode 
)
overridevirtual

◆ QueryInterface()

HRESULT STDMETHODCALLTYPE COooFilter::QueryInterface ( REFIID  riid,
void **  ppvObject 
)
overridevirtual

Definition at line 124 of file ooofilt.cxx.

Referenced by COooFilterCF::CreateInstance().

◆ Release()

ULONG STDMETHODCALLTYPE COooFilter::Release ( )
overridevirtual

Definition at line 164 of file ooofilt.cxx.

References m_lRefs.

Referenced by COooFilterCF::CreateInstance().

◆ Save() [1/2]

HRESULT STDMETHODCALLTYPE COooFilter::Save ( IStream *  pStm,
BOOL  fClearDirty 
)
overridevirtual

Definition at line 658 of file ooofilt.cxx.

◆ Save() [2/2]

HRESULT STDMETHODCALLTYPE COooFilter::Save ( LPCOLESTR  pszFileName,
BOOL  fRemember 
)
overridevirtual

Definition at line 590 of file ooofilt.cxx.

◆ SaveCompleted()

HRESULT STDMETHODCALLTYPE COooFilter::SaveCompleted ( LPCOLESTR  pszFileName)
overridevirtual

Definition at line 604 of file ooofilt.cxx.

Friends And Related Function Documentation

◆ COooFilterCF

friend class COooFilterCF
friend

Definition at line 132 of file ooofilt.hxx.

Member Data Documentation

◆ m_cAttributes

ULONG COooFilter::m_cAttributes
private

Definition at line 151 of file ooofilt.hxx.

Referenced by GetChunk(), GetValue(), and Init().

◆ m_ChunkPosition

ULONG COooFilter::m_ChunkPosition
private

Definition at line 150 of file ooofilt.hxx.

Referenced by GetChunk(), and Init().

◆ m_eState

FilterState COooFilter::m_eState
private

Definition at line 140 of file ooofilt.hxx.

Referenced by GetChunk(), GetText(), GetValue(), and Init().

◆ m_fContents

bool COooFilter::m_fContents
private

Definition at line 147 of file ooofilt.hxx.

Referenced by GetChunk(), GetText(), and Init().

◆ m_fEof

bool COooFilter::m_fEof
private

Definition at line 148 of file ooofilt.hxx.

Referenced by GetChunk(), and Init().

◆ m_lRefs

LONG COooFilter::m_lRefs
private

Definition at line 137 of file ooofilt.hxx.

Referenced by AddRef(), and Release().

◆ m_pAttributes

CFullPropSpec* COooFilter::m_pAttributes
private

Definition at line 152 of file ooofilt.hxx.

Referenced by GetChunk(), GetValue(), Init(), and ~COooFilter().

◆ m_pContentReader

CContentReader* COooFilter::m_pContentReader
private

Definition at line 138 of file ooofilt.hxx.

Referenced by GetChunk(), Load(), and ~COooFilter().

◆ m_pMetaInfoReader

CMetaInfoReader* COooFilter::m_pMetaInfoReader
private

Definition at line 139 of file ooofilt.hxx.

Referenced by GetValue(), Load(), and ~COooFilter().

◆ m_pStream

StreamInterface* COooFilter::m_pStream
private

Definition at line 153 of file ooofilt.hxx.

Referenced by Load(), and ~COooFilter().

◆ m_pwsBuffer

::std::wstring COooFilter::m_pwsBuffer
private

Definition at line 149 of file ooofilt.hxx.

Referenced by GetChunk(), and GetText().

◆ m_pwszFileName

::std::wstring COooFilter::m_pwszFileName
private

Definition at line 141 of file ooofilt.hxx.

Referenced by GetCurFile(), and Load().

◆ m_ulChunkID

ULONG COooFilter::m_ulChunkID
private

Definition at line 146 of file ooofilt.hxx.

Referenced by GetChunk(), and Init().

◆ m_ulCurrentPropertyNum

ULONG COooFilter::m_ulCurrentPropertyNum
private

Definition at line 145 of file ooofilt.hxx.

Referenced by GetChunk(), GetValue(), and Init().

◆ m_ulPropertyNum

ULONG COooFilter::m_ulPropertyNum
private

Definition at line 144 of file ooofilt.hxx.

Referenced by GetChunk(), GetValue(), and Init().

◆ m_ulUnicodeBufferLen

ULONG COooFilter::m_ulUnicodeBufferLen
private

Definition at line 142 of file ooofilt.hxx.

Referenced by GetChunk(), and GetText().

◆ m_ulUnicodeCharsRead

ULONG COooFilter::m_ulUnicodeCharsRead
private

Definition at line 143 of file ooofilt.hxx.

Referenced by GetChunk(), GetText(), and Init().


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