Rise
The Vieneo Province
Loading...
Searching...
No Matches
CUniBuffer Class Reference

#include <Controls.h>

Collaboration diagram for CUniBuffer:
[legend]

Public Member Functions

 CUniBuffer (int nInitialSize=1)
 ~CUniBuffer ()
int GetBufferSize ()
bool SetBufferSize (int nSize)
int GetTextSize ()
const WCHAR * GetBuffer ()
const WCHAR & operator[] (int n) const
WCHAR & operator[] (int n)
UIFontNode * GetFontNode ()
void SetFontNode (UIFontNode *pFontNode)
void Clear ()
bool InsertChar (int nIndex, WCHAR wChar)
bool RemoveChar (int nIndex)
bool InsertString (int nIndex, const WCHAR *pStr, int nCount=-1)
bool SetText (LPCWSTR wszText)
HRESULT CPtoX (int nCP, BOOL bTrail, int *pX)
HRESULT XtoCP (int nX, int *pCP, int *pnTrail)
void GetPriorItemPos (int nCP, int *pPrior)
void GetNextItemPos (int nCP, int *pPrior)

Static Public Member Functions

static void WINAPI Initialize ()
static void WINAPI Uninitialize ()

Private Member Functions

HRESULT Analyse ()

Static Private Member Functions

static HRESULT WINAPI Dummy_ScriptApplyDigitSubstitution (const SCRIPT_DIGITSUBSTITUTE *, SCRIPT_CONTROL *, SCRIPT_STATE *)
static HRESULT WINAPI Dummy_ScriptStringAnalyse (HDC, const void *, int, int, int, DWORD, int, SCRIPT_CONTROL *, SCRIPT_STATE *, const int *, SCRIPT_TABDEF *, const BYTE *, SCRIPT_STRING_ANALYSIS *)
static HRESULT WINAPI Dummy_ScriptStringCPtoX (SCRIPT_STRING_ANALYSIS, int, BOOL, int *)
static HRESULT WINAPI Dummy_ScriptStringXtoCP (SCRIPT_STRING_ANALYSIS, int, int *, int *)
static HRESULT WINAPI Dummy_ScriptStringFree (SCRIPT_STRING_ANALYSIS *)
static const SCRIPT_LOGATTR *WINAPI Dummy_ScriptString_pLogAttr (SCRIPT_STRING_ANALYSIS)
static const int *WINAPI Dummy_ScriptString_pcOutChars (SCRIPT_STRING_ANALYSIS)
static HRESULT (WINAPI *_ScriptApplyDigitSubstitution)(const SCRIPT_DIGITSUBSTITUTE *
static SCRIPT_CONTROL SCRIPT_STATE *static HRESULT (WINAPI *_ScriptStringAnalyse)(HDC
static SCRIPT_CONTROL SCRIPT_STATE *static const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS *static HRESULT (WINAPI *_ScriptStringCPtoX)(SCRIPT_STRING_ANALYSIS
static SCRIPT_CONTROL SCRIPT_STATE *static const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS *static int *static HRESULT (WINAPI *_ScriptStringXtoCP)(SCRIPT_STRING_ANALYSIS
static SCRIPT_CONTROL SCRIPT_STATE *static const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS *static int *static int int *static HRESULT (WINAPI *_ScriptStringFree)(SCRIPT_STRING_ANALYSIS *)
static const SCRIPT_LOGATTR *WINAPI * _ScriptString_pLogAttr (SCRIPT_STRING_ANALYSIS)
static const int *WINAPI * _ScriptString_pcOutChars (SCRIPT_STRING_ANALYSIS)

Private Attributes

WCHAR * m_pwszBuffer
int m_nBufferSize
UIFontNode * m_pFontNode
bool m_bAnalyseRequired
SCRIPT_STRING_ANALYSIS m_Analysis
static SCRIPT_CONTROL SCRIPT_STATE *static const void int
static SCRIPT_CONTROL SCRIPT_STATE *static const void DWORD
static SCRIPT_CONTROL SCRIPT_STATE *static const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS *static int
static SCRIPT_CONTROL SCRIPT_STATE *static const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS *static BOOL
static SCRIPT_CONTROL SCRIPT_STATE *static const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS *static int *static int

Static Private Attributes

static HINSTANCE s_hDll = NULL

Detailed Description

Definition at line 1138 of file Controls.h.

Constructor & Destructor Documentation

◆ CUniBuffer()

CUniBuffer::CUniBuffer ( int nInitialSize = 1)

Definition at line 5933 of file Controls.cpp.

Here is the call graph for this function:

◆ ~CUniBuffer()

CUniBuffer::~CUniBuffer ( )

Definition at line 5949 of file Controls.cpp.

Member Function Documentation

◆ _ScriptString_pcOutChars()

const int *WINAPI * CUniBuffer::_ScriptString_pcOutChars ( SCRIPT_STRING_ANALYSIS )
staticprivate
Initial value:
=
static const int *WINAPI Dummy_ScriptString_pcOutChars(SCRIPT_STRING_ANALYSIS)
Definition Controls.h:1226
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _ScriptString_pLogAttr()

const SCRIPT_LOGATTR *WINAPI * CUniBuffer::_ScriptString_pLogAttr ( SCRIPT_STRING_ANALYSIS )
staticprivate
Initial value:
=
static const SCRIPT_LOGATTR *WINAPI Dummy_ScriptString_pLogAttr(SCRIPT_STRING_ANALYSIS)
Definition Controls.h:1222
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Analyse()

HRESULT CUniBuffer::Analyse ( )
private

Definition at line 5898 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Clear()

void CUniBuffer::Clear ( )

Definition at line 5969 of file Controls.cpp.

Here is the caller graph for this function:

◆ CPtoX()

HRESULT CUniBuffer::CPtoX ( int nCP,
BOOL bTrail,
int * pX )

Definition at line 6096 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Dummy_ScriptApplyDigitSubstitution()

HRESULT WINAPI CUniBuffer::Dummy_ScriptApplyDigitSubstitution ( const SCRIPT_DIGITSUBSTITUTE * ,
SCRIPT_CONTROL * ,
SCRIPT_STATE *  )
inlinestaticprivate

Definition at line 1199 of file Controls.h.

Here is the call graph for this function:

◆ Dummy_ScriptString_pcOutChars()

const int *WINAPI CUniBuffer::Dummy_ScriptString_pcOutChars ( SCRIPT_STRING_ANALYSIS )
inlinestaticprivate

Definition at line 1226 of file Controls.h.

◆ Dummy_ScriptString_pLogAttr()

const SCRIPT_LOGATTR *WINAPI CUniBuffer::Dummy_ScriptString_pLogAttr ( SCRIPT_STRING_ANALYSIS )
inlinestaticprivate

Definition at line 1222 of file Controls.h.

◆ Dummy_ScriptStringAnalyse()

HRESULT WINAPI CUniBuffer::Dummy_ScriptStringAnalyse ( HDC ,
const void * ,
int ,
int ,
int ,
DWORD ,
int ,
SCRIPT_CONTROL * ,
SCRIPT_STATE * ,
const int * ,
SCRIPT_TABDEF * ,
const BYTE * ,
SCRIPT_STRING_ANALYSIS *  )
inlinestaticprivate

Definition at line 1204 of file Controls.h.

Here is the call graph for this function:

◆ Dummy_ScriptStringCPtoX()

HRESULT WINAPI CUniBuffer::Dummy_ScriptStringCPtoX ( SCRIPT_STRING_ANALYSIS ,
int ,
BOOL ,
int *  )
inlinestaticprivate

Definition at line 1210 of file Controls.h.

Here is the call graph for this function:

◆ Dummy_ScriptStringFree()

HRESULT WINAPI CUniBuffer::Dummy_ScriptStringFree ( SCRIPT_STRING_ANALYSIS * )
inlinestaticprivate

Definition at line 1218 of file Controls.h.

Here is the call graph for this function:

◆ Dummy_ScriptStringXtoCP()

HRESULT WINAPI CUniBuffer::Dummy_ScriptStringXtoCP ( SCRIPT_STRING_ANALYSIS ,
int ,
int * ,
int *  )
inlinestaticprivate

Definition at line 1214 of file Controls.h.

Here is the call graph for this function:

◆ GetBuffer()

const WCHAR * CUniBuffer::GetBuffer ( )
inline

Definition at line 1156 of file Controls.h.

Here is the caller graph for this function:

◆ GetBufferSize()

int CUniBuffer::GetBufferSize ( )
inline

Definition at line 1147 of file Controls.h.

Here is the caller graph for this function:

◆ GetFontNode()

UIFontNode * CUniBuffer::GetFontNode ( )
inline

Definition at line 1165 of file Controls.h.

◆ GetNextItemPos()

void CUniBuffer::GetNextItemPos ( int nCP,
int * pPrior )

Definition at line 6173 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetPriorItemPos()

void CUniBuffer::GetPriorItemPos ( int nCP,
int * pPrior )

Definition at line 6142 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTextSize()

int CUniBuffer::GetTextSize ( )
inline

Definition at line 1152 of file Controls.h.

Here is the caller graph for this function:

◆ HRESULT() [1/5]

CUniBuffer::HRESULT ( WINAPI * _ScriptApplyDigitSubstitution) const
staticprivate
Here is the caller graph for this function:

◆ HRESULT() [2/5]

SCRIPT_CONTROL SCRIPT_STATE *static CUniBuffer::HRESULT ( WINAPI * _ScriptStringAnalyse)
staticprivate

◆ HRESULT() [3/5]

SCRIPT_CONTROL SCRIPT_STATE *static const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS *static CUniBuffer::HRESULT ( WINAPI * _ScriptStringCPtoX)
staticprivate

◆ HRESULT() [4/5]

SCRIPT_CONTROL SCRIPT_STATE *static const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS *static int *static int int *static CUniBuffer::HRESULT ( WINAPI * _ScriptStringFree)
staticprivate

◆ HRESULT() [5/5]

SCRIPT_CONTROL SCRIPT_STATE *static const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS *static int *static CUniBuffer::HRESULT ( WINAPI * _ScriptStringXtoCP)
staticprivate

◆ Initialize()

void CUniBuffer::Initialize ( )
static

Definition at line 5823 of file Controls.cpp.

Here is the caller graph for this function:

◆ InsertChar()

bool CUniBuffer::InsertChar ( int nIndex,
WCHAR wChar )

Definition at line 5980 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InsertString()

bool CUniBuffer::InsertString ( int nIndex,
const WCHAR * pStr,
int nCount = -1 )

Definition at line 6038 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator[]() [1/2]

WCHAR & CUniBuffer::operator[] ( int n)

Definition at line 5958 of file Controls.cpp.

◆ operator[]() [2/2]

const WCHAR & CUniBuffer::operator[] ( int n) const
inline

Definition at line 1160 of file Controls.h.

◆ RemoveChar()

bool CUniBuffer::RemoveChar ( int nIndex)

Definition at line 6021 of file Controls.cpp.

Here is the caller graph for this function:

◆ SetBufferSize()

bool CUniBuffer::SetBufferSize ( int nSize)

Definition at line 5863 of file Controls.cpp.

Here is the caller graph for this function:

◆ SetFontNode()

void CUniBuffer::SetFontNode ( UIFontNode * pFontNode)
inline

Definition at line 1169 of file Controls.h.

Here is the caller graph for this function:

◆ SetText()

bool CUniBuffer::SetText ( LPCWSTR wszText)

Definition at line 6070 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Uninitialize()

void CUniBuffer::Uninitialize ( )
static

Definition at line 5844 of file Controls.cpp.

Here is the caller graph for this function:

◆ XtoCP()

HRESULT CUniBuffer::XtoCP ( int nX,
int * pCP,
int * pnTrail )

Definition at line 6113 of file Controls.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ BOOL

SCRIPT_CONTROL SCRIPT_STATE *static const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS *static CUniBuffer::BOOL
private

Definition at line 1238 of file Controls.h.

◆ DWORD

SCRIPT_CONTROL SCRIPT_STATE *static const void CUniBuffer::DWORD
private

Definition at line 1234 of file Controls.h.

◆ int [1/3]

SCRIPT_CONTROL SCRIPT_STATE *static const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS *static int *static CUniBuffer::int
private

Definition at line 1239 of file Controls.h.

◆ int [2/3]

SCRIPT_CONTROL SCRIPT_STATE *static const void SCRIPT_CONTROL SCRIPT_STATE const int SCRIPT_TABDEF const BYTE SCRIPT_STRING_ANALYSIS *static CUniBuffer::int
private

Definition at line 1238 of file Controls.h.

◆ int [3/3]

SCRIPT_CONTROL SCRIPT_STATE *static const void CUniBuffer::int
private

Definition at line 1234 of file Controls.h.

◆ m_Analysis

SCRIPT_STRING_ANALYSIS CUniBuffer::m_Analysis
private

Definition at line 1195 of file Controls.h.

◆ m_bAnalyseRequired

bool CUniBuffer::m_bAnalyseRequired
private

Definition at line 1194 of file Controls.h.

◆ m_nBufferSize

int CUniBuffer::m_nBufferSize
private

Definition at line 1190 of file Controls.h.

◆ m_pFontNode

UIFontNode* CUniBuffer::m_pFontNode
private

Definition at line 1193 of file Controls.h.

◆ m_pwszBuffer

WCHAR* CUniBuffer::m_pwszBuffer
private

Definition at line 1189 of file Controls.h.

◆ s_hDll

HINSTANCE CUniBuffer::s_hDll = NULL
staticprivate

Definition at line 1244 of file Controls.h.


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