SmMathSymbolNode Class Reference

#include <node.hxx>

Inherits SmSpecialNode.

Inherited by SmErrorNode, SmPlaceNode, and SmRootSymbolNode.

Inheritance diagram for SmMathSymbolNode:

Inheritance graph
[legend]
Collaboration diagram for SmMathSymbolNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SmMathSymbolNode (const SmToken &rNodeToken)
virtual void AdaptToX (const OutputDevice &rDev, ULONG nWidth)
virtual void AdaptToY (const OutputDevice &rDev, ULONG nHeight)
virtual void Prepare (const SmFormat &rFormat, const SmDocShell &rDocShell)
virtual void Arrange (const OutputDevice &rDev, const SmFormat &rFormat)
void CreateTextFromNode (String &rText)

Protected Member Functions

 SmMathSymbolNode (SmNodeType eNodeType, const SmToken &rNodeToken)

Detailed Description

Definition at line 384 of file node.hxx.


Constructor & Destructor Documentation

SmMathSymbolNode::SmMathSymbolNode ( SmNodeType  eNodeType,
const SmToken rNodeToken 
) [inline, protected]

Definition at line 387 of file node.hxx.

References SmToken::cMathChar, SmNode::GetToken(), and SmTextNode::SetText().

SmMathSymbolNode::SmMathSymbolNode ( const SmToken rNodeToken  ) 

Definition at line 2640 of file node.cxx.

References SmToken::cMathChar, SmNode::GetToken(), and SmTextNode::SetText().


Member Function Documentation

void SmMathSymbolNode::AdaptToX ( const OutputDevice &  rDev,
ULONG  nWidth 
) [virtual]

Reimplemented from SmNode.

Reimplemented in SmRootSymbolNode.

Definition at line 2648 of file node.cxx.

References SmFace::GetBorderWidth(), SmNode::GetFont(), SmRect::GetSize(), SmTextNode::GetText(), SmTmpDevice::SetFont(), SmFace::SetSize(), and SmRect::SmRect().

void SmMathSymbolNode::AdaptToY ( const OutputDevice &  rDev,
ULONG  nHeight 
) [virtual]

Reimplemented from SmNode.

Reimplemented in SmRootSymbolNode.

Definition at line 2671 of file node.cxx.

References SmFace::FreezeBorderWidth(), SmFace::GetBorderWidth(), SmNode::GetFont(), SmRect::GetSize(), SmTextNode::GetText(), SmTmpDevice::SetFont(), SmFace::SetSize(), and SmRect::SmRect().

Referenced by SmRootSymbolNode::AdaptToY().

void SmMathSymbolNode::Prepare ( const SmFormat rFormat,
const SmDocShell rDocShell 
) [virtual]

Reimplemented from SmSpecialNode.

Reimplemented in SmPlaceNode, and SmErrorNode.

Definition at line 2708 of file node.cxx.

References SmNode::Flags(), FLG_FONT, FLG_ITALIC, SmNode::GetFont(), and SmNode::Prepare().

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

Reimplemented from SmSpecialNode.

Reimplemented in SmPlaceNode, and SmErrorNode.

Definition at line 2720 of file node.cxx.

References SmRect::GetBorderWidth(), SmNode::GetFont(), SmFormat::GetRelSize(), SmTextNode::GetText(), SmRect::operator=(), SmNode::PrepareAttributes(), SIZ_TEXT, and SmRect::SmRect().

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

Reimplemented from SmTextNode.

Definition at line 2739 of file node.cxx.

References SmNode::GetToken(), and MathType::LookupChar().


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