BCGSoft Professional Editor for MFC

Detailed Description

The CBCGPOutlineBaseNode class is used with CBCGPEditCtrl and CBCGPOutlineParser classes.

It represents the data structure for outlining. The library keeps the hierarchy of the outlining with the class CBCGPOutlineNode that is derived from CBCGPOutlineBaseNode class.

See also
+ Inheritance diagram for CBCGPOutlineBaseNode:

Public Member Functions

 IsInRangeByOffsetCalled by the edit control when it needs to determine whether the collapsible is placed within some range.
 MoveCalled by the framework when it needs to move a collapsible node.
 SerializeSerializes a node.
 UpdateBlocksForDeletedRangeUpdates bounds of collapsible node when a text is deleted from the edit control.
 UpdateBlocksForInsertedTextUpdates bounds of collapsible node when a text is inserted to the edit control.

Public Attributes

 m_bCollapsedSpecifies whether the node is collapsed or not.
 m_dwFlagsUsed by the framework for auto-outlining.
 m_nBlockTypeSpecifies the type of block for this collapsible node.
 m_nEndSpecifies the end offset of the collapsible node hidden area.
 m_nNameOffsetKeyword offset.
 m_nStartSpecifies the start offset of the collapsible node hidden area.
 m_pDataA pointer to user-defined data.
 m_rectToolThe rect bounds for the symbol that is drawing in the edit control in place of hidden text. Used by the framework.
 m_strReplaceSpecifies the replace string that is shown when the node is collapsed. The default string is three dots ("...").

Static Public Attributes

 m_bCollapsedDefaultSpecifies whether the outline node is collapsed by default, or not.