CXFTreeDlg Class Reference

#include <cxftree.h>

Inheritance diagram for CXFTreeDlg:

DialogOp Operation MessageHandler ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 CXFTreeDlg ()
 ~CXFTreeDlg ()
MsgResult Message (Msg *Message)
void Do (OpDescriptor *)
 This function should be over-ridden to perform an operation without passing a parameter.
BOOL Create ()
 The create method reserves everything needed to guarantee that the dialog will appear. It returns FALSE if it fails. If any dialog merging was specified (by providing a non-zero value for SubDialogID in the call to the DialogOp constructor) then it will be carried out when this function is called.
void SetFileName (String_256 &FileName)
void SetEndOfFile (BOOL b)
void AddNode (CXFNode *pNode)
void ShowFile (TCHAR *pFileName)
void GetTagText (UINT32 Tag, String_256 &Str)

Static Public Member Functions

static CDlgResID IDD ()
static BOOL Init ()
 Declares a preference that allows you to clear memory in delete().
static OpState GetState (String_256 *, OpDescriptor *)
static CXFTreeDlgGetCurrentCXFTreeDlg ()

Private Member Functions

void DeInit ()
void CreateTree ()
void Delete (CXFNode *pNode)
INT32 AddDisplayNode (CXFNode *pNode, INT32 Index, INT32 Depth, BOOL ExpandAll)
void ShowNodeDebugInfoForNode (CXFNode *pNode)
CXaraFileRecordHandlerFindHandler (UINT32 Tag)
void GetTagText (CXFNode *pNode, String_256 &Str)
CTreeItemID AddOneItem (CTreeItemID hParent, const StringBase &str, CTreeItemID hInsAfter, INT32 iImage, CXFNode *pNode)
CTreeItemID AddItemToNewTreeControl (CTreeItemID hParentItem, CTreeItemID hInsAfterItem, CXFNode *pNode, BOOL bAddChildren)
BOOL InitialiseNewTreeControl (void)
INT32 GetImageForNode (CXFNode *pNode)
BOOL GetInfoFromTreeItem (CTreeItemID hItem, CXFNode **pNode, INT32 *pChildren)
void ExpandNewTree ()

Private Attributes

CXFNodepRoot
CXFNodepContextNode
BOOL AddNextAsChild
INT32 Level
INT32 MaxIndex
String_256 FileName
BOOL EndOfFile
StringBaseEditStr
CXFNodeTypeStatisticsList ListOfNodeTypeStats
INT32 m_idxGeneralTag
INT32 m_idxDefineBitmap
INT32 m_idxDefineColour
INT32 m_idxCompression
INT32 m_idxDown
INT32 m_idxUp
INT32 m_idxGroup
INT32 m_idxPage
INT32 m_idxAttribute
INT32 m_idxShape
INT32 m_idxSentinelNode
INT32 m_idxSetProperty

Static Private Attributes

static CXFTreeDlgpCurrentCXFTreeDlg
static BOOL s_bExpandClicked

Detailed Description

Definition at line 254 of file cxftree.h.


Constructor & Destructor Documentation

CXFTreeDlg::CXFTreeDlg  ) 
 

CXFTreeDlg::~CXFTreeDlg  ) 
 


Member Function Documentation

INT32 CXFTreeDlg::AddDisplayNode CXFNode pNode,
INT32  Index,
INT32  Depth,
BOOL  ExpandAll
[private]
 

CTreeItemID CXFTreeDlg::AddItemToNewTreeControl CTreeItemID  hParentItem,
CTreeItemID  hInsAfterItem,
CXFNode pNode,
BOOL  bAddChildren
[private]
 

void CXFTreeDlg::AddNode CXFNode pNode  ) 
 

CTreeItemID CXFTreeDlg::AddOneItem CTreeItemID  hParent,
const StringBase str,
CTreeItemID  hInsAfter,
INT32  iImage,
CXFNode pNode
[private]
 

BOOL CXFTreeDlg::Create void   )  [virtual]
 

The create method reserves everything needed to guarantee that the dialog will appear. It returns FALSE if it fails. If any dialog merging was specified (by providing a non-zero value for SubDialogID in the call to the DialogOp constructor) then it will be carried out when this function is called.

Author:
Simon_Maneggio (Xara Group Ltd) <camelotdev@xara.com>
Date:
13/8/93
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
TRUE if all resources to create the dialog can be successfully allocated. FALSE otherwise

Errors: If the resources cannot be allocated then ERRORIF is called with a Dialog creation failed error message.

See also:
-

Reimplemented from DialogOp.

void CXFTreeDlg::CreateTree  )  [private]
 

void CXFTreeDlg::DeInit  )  [private]
 

void CXFTreeDlg::Delete CXFNode pNode  )  [private]
 

void CXFTreeDlg::Do OpDescriptor  )  [virtual]
 

This function should be over-ridden to perform an operation without passing a parameter.

Author:
Simon_Maneggio (Xara Group Ltd) <camelotdev@xara.com>
Date:
9/6/94
Parameters:
OpDesc,: A pointer to the OpDescriptor which invoked the operation [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: -

See also:
Operation::DoWithParam

Reimplemented from Operation.

void CXFTreeDlg::ExpandNewTree  )  [private]
 

CXaraFileRecordHandler* CXFTreeDlg::FindHandler UINT32  Tag  )  [private]
 

static CXFTreeDlg* CXFTreeDlg::GetCurrentCXFTreeDlg  )  [inline, static]
 

Definition at line 270 of file cxftree.h.

00270 { return pCurrentCXFTreeDlg; }

INT32 CXFTreeDlg::GetImageForNode CXFNode pNode  )  [private]
 

BOOL CXFTreeDlg::GetInfoFromTreeItem CTreeItemID  hItem,
CXFNode **  pNode,
INT32 *  pChildren
[private]
 

static OpState CXFTreeDlg::GetState String_256 ,
OpDescriptor
[static]
 

void CXFTreeDlg::GetTagText CXFNode pNode,
String_256 Str
[private]
 

void CXFTreeDlg::GetTagText UINT32  Tag,
String_256 Str
 

static CDlgResID CXFTreeDlg::IDD  )  [inline, static]
 

Definition at line 266 of file cxftree.h.

00266 {return _R(IDD_NEWDEBUGTREE);}

static BOOL CXFTreeDlg::Init void   )  [static]
 

Declares a preference that allows you to clear memory in delete().

Author:
Rik_Heywood (Xara Group Ltd) <camelotdev@xara.com>
Date:
19/4/94
Returns:
TRUE if it worked OK, FALSE if not

Reimplemented from SimpleCCObject.

BOOL CXFTreeDlg::InitialiseNewTreeControl void   )  [private]
 

MsgResult CXFTreeDlg::Message Msg Message  )  [virtual]
 

if (IS_OUR_DIALOG_MSG(Message)) { DialogMsg* Msg = (DialogMsg*)Message; Handle Msg here }

Pass message on to base class for rest of handling. return <BaseClass>Message(Message);

This Pure virtual function will ENSURE

Returns:
Errors: -
See also:
MessageHandler

IS_OUR_DIALOG_MSG

Reimplemented from DialogOp.

void CXFTreeDlg::SetEndOfFile BOOL  b  )  [inline]
 

Definition at line 274 of file cxftree.h.

00274 { EndOfFile = b; }

void CXFTreeDlg::SetFileName String_256 FileName  ) 
 

void CXFTreeDlg::ShowFile TCHAR pFileName  ) 
 

void CXFTreeDlg::ShowNodeDebugInfoForNode CXFNode pNode  )  [private]
 


Member Data Documentation

BOOL CXFTreeDlg::AddNextAsChild [private]
 

Definition at line 295 of file cxftree.h.

StringBase* CXFTreeDlg::EditStr [private]
 

Definition at line 302 of file cxftree.h.

BOOL CXFTreeDlg::EndOfFile [private]
 

Definition at line 300 of file cxftree.h.

String_256 CXFTreeDlg::FileName [private]
 

Definition at line 299 of file cxftree.h.

INT32 CXFTreeDlg::Level [private]
 

Definition at line 296 of file cxftree.h.

CXFNodeTypeStatisticsList CXFTreeDlg::ListOfNodeTypeStats [private]
 

Definition at line 304 of file cxftree.h.

INT32 CXFTreeDlg::m_idxAttribute [private]
 

Definition at line 326 of file cxftree.h.

INT32 CXFTreeDlg::m_idxCompression [private]
 

Definition at line 321 of file cxftree.h.

INT32 CXFTreeDlg::m_idxDefineBitmap [private]
 

Definition at line 319 of file cxftree.h.

INT32 CXFTreeDlg::m_idxDefineColour [private]
 

Definition at line 320 of file cxftree.h.

INT32 CXFTreeDlg::m_idxDown [private]
 

Definition at line 322 of file cxftree.h.

INT32 CXFTreeDlg::m_idxGeneralTag [private]
 

Definition at line 318 of file cxftree.h.

INT32 CXFTreeDlg::m_idxGroup [private]
 

Definition at line 324 of file cxftree.h.

INT32 CXFTreeDlg::m_idxPage [private]
 

Definition at line 325 of file cxftree.h.

INT32 CXFTreeDlg::m_idxSentinelNode [private]
 

Definition at line 328 of file cxftree.h.

INT32 CXFTreeDlg::m_idxSetProperty [private]
 

Definition at line 329 of file cxftree.h.

INT32 CXFTreeDlg::m_idxShape [private]
 

Definition at line 327 of file cxftree.h.

INT32 CXFTreeDlg::m_idxUp [private]
 

Definition at line 323 of file cxftree.h.

INT32 CXFTreeDlg::MaxIndex [private]
 

Definition at line 297 of file cxftree.h.

CXFNode* CXFTreeDlg::pContextNode [private]
 

Definition at line 294 of file cxftree.h.

CXFTreeDlg* CXFTreeDlg::pCurrentCXFTreeDlg [static, private]
 

Definition at line 306 of file cxftree.h.

CXFNode* CXFTreeDlg::pRoot [private]
 

Definition at line 293 of file cxftree.h.

BOOL CXFTreeDlg::s_bExpandClicked [static, private]
 

Definition at line 307 of file cxftree.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 10 03:53:27 2007 for Camelot by  doxygen 1.4.4