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

#include <thumbviewer.hxx>

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

Public Member Functions

 CThumbviewer (LONG RefCnt=1)
 
virtual ~CThumbviewer ()
 
virtual HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject) override
 
virtual ULONG STDMETHODCALLTYPE AddRef () override
 
virtual ULONG STDMETHODCALLTYPE Release () override
 
virtual HRESULT STDMETHODCALLTYPE Extract (HBITMAP *phBmpImage) override
 
virtual HRESULT STDMETHODCALLTYPE GetLocation (LPWSTR pszPathBuffer, DWORD cchMax, DWORD *pdwPriority, const SIZE *prgSize, DWORD dwRecClrDepth, DWORD *pdwFlags) 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 __RPC_FAR *ppszFileName) override
 

Private Attributes

LONG ref_count_
 
std::wstring filename_
 
SIZE thumbnail_size_
 
DWORD color_depth_
 
ULONG_PTR gdiplus_token_
 
Gdiplus::Bitmap * signet_
 

Detailed Description

Definition at line 30 of file thumbviewer.hxx.

Constructor & Destructor Documentation

◆ CThumbviewer()

CThumbviewer::CThumbviewer ( LONG  RefCnt = 1)

◆ ~CThumbviewer()

CThumbviewer::~CThumbviewer ( )
virtual

Definition at line 289 of file thumbviewer.cxx.

References g_DllRefCnt, gdiplus_token_, and signet_.

Member Function Documentation

◆ AddRef()

ULONG STDMETHODCALLTYPE CThumbviewer::AddRef ( )
overridevirtual

Definition at line 320 of file thumbviewer.cxx.

References ref_count_.

◆ Extract()

HRESULT STDMETHODCALLTYPE CThumbviewer::Extract ( HBITMAP *  phBmpImage)
overridevirtual

◆ GetClassID()

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

Definition at line 471 of file thumbviewer.cxx.

References CLSID_THUMBVIEWER_HANDLER.

◆ GetCurFile()

HRESULT STDMETHODCALLTYPE CThumbviewer::GetCurFile ( LPOLESTR __RPC_FAR *  ppszFileName)
overridevirtual

Definition at line 494 of file thumbviewer.cxx.

◆ GetLocation()

HRESULT STDMETHODCALLTYPE CThumbviewer::GetLocation ( LPWSTR  pszPathBuffer,
DWORD  cchMax,
DWORD *  pdwPriority,
const SIZE prgSize,
DWORD  dwRecClrDepth,
DWORD *  pdwFlags 
)
overridevirtual

Definition at line 453 of file thumbviewer.cxx.

References color_depth_, filename_, and thumbnail_size_.

◆ IsDirty()

HRESULT STDMETHODCALLTYPE CThumbviewer::IsDirty ( )
overridevirtual

Definition at line 485 of file thumbviewer.cxx.

◆ Load()

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

Definition at line 479 of file thumbviewer.cxx.

References filename_.

◆ QueryInterface()

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

Definition at line 298 of file thumbviewer.cxx.

◆ Release()

ULONG STDMETHODCALLTYPE CThumbviewer::Release ( )
overridevirtual

Definition at line 325 of file thumbviewer.cxx.

References LONG, and ref_count_.

◆ Save()

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

Definition at line 488 of file thumbviewer.cxx.

◆ SaveCompleted()

HRESULT STDMETHODCALLTYPE CThumbviewer::SaveCompleted ( LPCOLESTR  pszFileName)
overridevirtual

Definition at line 491 of file thumbviewer.cxx.

Member Data Documentation

◆ color_depth_

DWORD CThumbviewer::color_depth_
private

Definition at line 92 of file thumbviewer.hxx.

Referenced by Extract(), and GetLocation().

◆ filename_

std::wstring CThumbviewer::filename_
private

Definition at line 90 of file thumbviewer.hxx.

Referenced by Extract(), GetLocation(), and Load().

◆ gdiplus_token_

ULONG_PTR CThumbviewer::gdiplus_token_
private

Definition at line 93 of file thumbviewer.hxx.

Referenced by CThumbviewer(), and ~CThumbviewer().

◆ ref_count_

LONG CThumbviewer::ref_count_
private

Definition at line 89 of file thumbviewer.hxx.

Referenced by AddRef(), and Release().

◆ signet_

Gdiplus::Bitmap* CThumbviewer::signet_
private

Definition at line 94 of file thumbviewer.hxx.

Referenced by CThumbviewer(), Extract(), and ~CThumbviewer().

◆ thumbnail_size_

SIZE CThumbviewer::thumbnail_size_
private

Definition at line 91 of file thumbviewer.hxx.

Referenced by CThumbviewer(), Extract(), and GetLocation().


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