SmRootNode Class Reference

#include <node.hxx>

Inherits SmStructureNode.

Inheritance diagram for SmRootNode:

Inheritance graph
[legend]
Collaboration diagram for SmRootNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SmRootNode (const SmToken &rNodeToken)
virtual void Arrange (const OutputDevice &rDev, const SmFormat &rFormat)
void CreateTextFromNode (String &rText)

Protected Member Functions

void GetHeightVerOffset (const SmRect &rRect, long &rHeight, long &rVerOffset) const
Point GetExtraPos (const SmRect &rRootSymbol, const SmRect &rExtra) const

Detailed Description

Definition at line 531 of file node.hxx.


Constructor & Destructor Documentation

SmRootNode::SmRootNode ( const SmToken rNodeToken  )  [inline]

Definition at line 539 of file node.hxx.

References SmStructureNode::SetNumSubNodes().


Member Function Documentation

void SmRootNode::GetHeightVerOffset ( const SmRect rRect,
long &  rHeight,
long &  rVerOffset 
) const [protected]

Definition at line 938 of file node.cxx.

Referenced by Arrange().

Point SmRootNode::GetExtraPos ( const SmRect rRootSymbol,
const SmRect rExtra 
) const [protected]

Definition at line 950 of file node.cxx.

References SmRect::GetHeight(), SmRect::GetItalicRightSpace(), SmRect::GetLeft(), SmRect::GetSize(), SmRect::GetTopLeft(), and SmRect::GetWidth().

Referenced by Arrange().

void SmRootNode::Arrange ( const OutputDevice &  rDev,
const SmFormat rFormat 
) [virtual]

Reimplemented from SmNode.

Definition at line 973 of file node.cxx.

References SmNode::Arrange(), DIS_ROOT, SmRect::ExtendBy(), SmFormat::GetDistance(), GetExtraPos(), SmNode::GetFont(), GetHeightVerOffset(), SmFormat::GetRelSize(), SmStructureNode::GetSubNode(), SmNode::MoveTo(), SmRect::operator=(), RCP_THIS, RHA_CENTER, RP_LEFT, RVA_BASELINE, SmNode::SetSize(), and SIZ_INDEX.

void SmRootNode::CreateTextFromNode ( String &  rText  )  [virtual]

Reimplemented from SmNode.

Definition at line 1020 of file node.cxx.

References APPEND, SmNode::CreateTextFromNode(), and SmStructureNode::GetSubNode().


The documentation for this class was generated from the following files:
Generated on Wed Feb 20 17:23:31 2008 for maths by  doxygen 1.5.1