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

#include <propsheets.hxx>

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

Public Member Functions

 CPropertySheet (LONG RefCnt=1)
 
virtual ~CPropertySheet ()
 
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 Initialize (LPCITEMIDLIST pidlFolder, IDataObject *lpdobj, HKEY hkeyProgID) override
 
virtual HRESULT STDMETHODCALLTYPE AddPages (LPFNSVADDPROPSHEETPAGE lpfnAddPage, LPARAM lParam) override
 
virtual HRESULT STDMETHODCALLTYPE ReplacePage (EXPPS uPageID, LPFNSVADDPROPSHEETPAGE lpfnReplaceWith, LPARAM lParam) override
 

Private Member Functions

void InitPropPageSummary (HWND hwnd, LPPROPSHEETPAGE lppsp)
 
void InitPropPageStatistics (HWND hwnd, LPPROPSHEETPAGE lppsp)
 

Static Private Member Functions

static UINT CALLBACK PropPageSummaryCallback (HWND hwnd, UINT uMsg, LPPROPSHEETPAGE ppsp)
 
static bool CALLBACK PropPageSummaryProc (HWND hwnd, UINT uiMsg, WPARAM wParam, LPARAM lParam)
 
static BOOL CALLBACK PropPageStatisticsProc (HWND hwnd, UINT uiMsg, WPARAM wParam, LPARAM lParam)
 

Private Attributes

LONG m_RefCnt
 
Filepath_char_t m_szFileName [MAX_PATH]
 

Detailed Description

Definition at line 30 of file propsheets.hxx.

Constructor & Destructor Documentation

◆ CPropertySheet()

CPropertySheet::CPropertySheet ( LONG  RefCnt = 1)

Definition at line 50 of file propsheets.cxx.

References g_DllRefCnt, m_RefCnt, and OutputDebugStringFormatW().

◆ ~CPropertySheet()

CPropertySheet::~CPropertySheet ( )
virtual

Definition at line 58 of file propsheets.cxx.

References g_DllRefCnt, m_RefCnt, and OutputDebugStringFormatW().

Member Function Documentation

◆ AddPages()

HRESULT STDMETHODCALLTYPE CPropertySheet::AddPages ( LPFNSVADDPROPSHEETPAGE  lpfnAddPage,
LPARAM  lParam 
)
overridevirtual

◆ AddRef()

ULONG STDMETHODCALLTYPE CPropertySheet::AddRef ( )
overridevirtual

Definition at line 93 of file propsheets.cxx.

References m_RefCnt, and OutputDebugStringFormatW().

Referenced by AddPages().

◆ Initialize()

HRESULT STDMETHODCALLTYPE CPropertySheet::Initialize ( LPCITEMIDLIST  pidlFolder,
IDataObject *  lpdobj,
HKEY  hkeyProgID 
)
overridevirtual

Definition at line 115 of file propsheets.cxx.

References getShortPathName(), hr, m_szFileName, medium, SAL_N_ELEMENTS, and size.

◆ InitPropPageStatistics()

void CPropertySheet::InitPropPageStatistics ( HWND  hwnd,
LPPROPSHEETPAGE  lppsp 
)
private

◆ InitPropPageSummary()

void CPropertySheet::InitPropPageSummary ( HWND  hwnd,
LPPROPSHEETPAGE  lppsp 
)
private

◆ PropPageStatisticsProc()

BOOL CALLBACK CPropertySheet::PropPageStatisticsProc ( HWND  hwnd,
UINT  uiMsg,
WPARAM  wParam,
LPARAM  lParam 
)
staticprivate

Definition at line 242 of file propsheets.cxx.

References CALLBACK, FALSE, InitPropPageStatistics(), and TRUE.

Referenced by AddPages().

◆ PropPageSummaryCallback()

UINT CALLBACK CPropertySheet::PropPageSummaryCallback ( HWND  hwnd,
UINT  uMsg,
LPPROPSHEETPAGE  ppsp 
)
staticprivate

Definition at line 209 of file propsheets.cxx.

References CALLBACK, Release(), and TRUE.

Referenced by AddPages().

◆ PropPageSummaryProc()

bool CALLBACK CPropertySheet::PropPageSummaryProc ( HWND  hwnd,
UINT  uiMsg,
WPARAM  wParam,
LPARAM  lParam 
)
staticprivate

Definition at line 225 of file propsheets.cxx.

References CALLBACK, and InitPropPageSummary().

◆ QueryInterface()

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

Definition at line 68 of file propsheets.cxx.

◆ Release()

ULONG STDMETHODCALLTYPE CPropertySheet::Release ( )
overridevirtual

Definition at line 100 of file propsheets.cxx.

References LONG, m_RefCnt, and OutputDebugStringFormatW().

Referenced by PropPageSummaryCallback().

◆ ReplacePage()

HRESULT STDMETHODCALLTYPE CPropertySheet::ReplacePage ( EXPPS  uPageID,
LPFNSVADDPROPSHEETPAGE  lpfnReplaceWith,
LPARAM  lParam 
)
overridevirtual

Definition at line 202 of file propsheets.cxx.

Member Data Documentation

◆ m_RefCnt

LONG CPropertySheet::m_RefCnt
private

Definition at line 77 of file propsheets.hxx.

Referenced by AddRef(), CPropertySheet(), Release(), and ~CPropertySheet().

◆ m_szFileName

Filepath_char_t CPropertySheet::m_szFileName[MAX_PATH]
private

Definition at line 78 of file propsheets.hxx.

Referenced by Initialize(), InitPropPageStatistics(), and InitPropPageSummary().


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