SmMatrixNode Class Reference

#include <node.hxx>

Inherits SmStructureNode.

Inheritance diagram for SmMatrixNode:

Inheritance graph
[legend]
Collaboration diagram for SmMatrixNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SmMatrixNode (const SmToken &rNodeToken)
USHORT GetNumRows () const
USHORT GetNumCols () const
void SetRowCol (USHORT nMatrixRows, USHORT nMatrixCols)
virtual SmNodeGetLeftMost ()
virtual void Arrange (const OutputDevice &rDev, const SmFormat &rFormat)
void CreateTextFromNode (String &rText)

Private Attributes

USHORT nNumRows
USHORT nNumCols

Detailed Description

Definition at line 801 of file node.hxx.


Constructor & Destructor Documentation

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

Definition at line 807 of file node.hxx.

References nNumCols, and nNumRows.


Member Function Documentation

USHORT SmMatrixNode::GetNumRows (  )  const [inline]

Definition at line 813 of file node.hxx.

References nNumRows.

Referenced by SmXMLExport::ExportMatrix(), and MathType::HandleSmMatrix().

USHORT SmMatrixNode::GetNumCols (  )  const [inline]

Definition at line 814 of file node.hxx.

References nNumCols.

Referenced by SmXMLExport::ExportMatrix(), and MathType::HandleSmMatrix().

void SmMatrixNode::SetRowCol ( USHORT  nMatrixRows,
USHORT  nMatrixCols 
)

Definition at line 2624 of file node.cxx.

References nNumCols, and nNumRows.

Referenced by SmXMLTableContext_Impl::EndElement(), and SmParser::Matrix().

SmNode * SmMatrixNode::GetLeftMost (  )  [virtual]

(this assumes the one with index 0 is always the leftmost subnode for the current node).

Reimplemented from SmNode.

Definition at line 2631 of file node.cxx.

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

Reimplemented from SmNode.

Definition at line 2523 of file node.cxx.

References SmRect::AlignTo(), SmNode::Arrange(), DIS_MATRIXCOL, DIS_MATRIXROW, SmRect::ExtendBy(), SmFormat::GetDistance(), SmNode::GetFont(), SmRect::GetItalicCenterX(), SmRect::GetItalicWidth(), SmRect::GetLeft(), SmStructureNode::GetNumSubNodes(), SmNode::GetRectHorAlign(), SmStructureNode::GetSubNode(), SmRect::GetTop(), SmNode::Move(), SmRect::Move(), nNumCols, nNumRows, SmRect::operator=(), RCP_NONE, RCP_XOR, RHA_CENTER, RHA_LEFT, RHA_RIGHT, RP_BOTTOM, RP_RIGHT, RVA_BASELINE, and SmRect::SmRect().

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

Reimplemented from SmNode.

Definition at line 2503 of file node.cxx.

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


Member Data Documentation

USHORT SmMatrixNode::nNumRows [private]

Definition at line 803 of file node.hxx.

Referenced by Arrange(), CreateTextFromNode(), GetNumRows(), SetRowCol(), and SmMatrixNode().

USHORT SmMatrixNode::nNumCols [private]

Definition at line 803 of file node.hxx.

Referenced by Arrange(), CreateTextFromNode(), GetNumCols(), SetRowCol(), and SmMatrixNode().


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