#include <node.hxx>
Inherits SmStructureNode.
Inheritance diagram for SmMatrixNode:
Public Member Functions | |
SmMatrixNode (const SmToken &rNodeToken) | |
USHORT | GetNumRows () const |
USHORT | GetNumCols () const |
void | SetRowCol (USHORT nMatrixRows, USHORT nMatrixCols) |
virtual SmNode * | GetLeftMost () |
virtual void | Arrange (const OutputDevice &rDev, const SmFormat &rFormat) |
void | CreateTextFromNode (String &rText) |
Private Attributes | |
USHORT | nNumRows |
USHORT | nNumCols |
Definition at line 801 of file node.hxx.
SmMatrixNode::SmMatrixNode | ( | const SmToken & | rNodeToken | ) | [inline] |
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] |
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.
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().