SmSpecialNode Class Reference

#include <node.hxx>

Inherits SmTextNode.

Inherited by SmGlyphSpecialNode, and SmMathSymbolNode.

Inheritance diagram for SmSpecialNode:

Inheritance graph
[legend]
Collaboration diagram for SmSpecialNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SmSpecialNode (const SmToken &rNodeToken)
virtual void Prepare (const SmFormat &rFormat, const SmDocShell &rDocShell)
virtual void Arrange (const OutputDevice &rDev, const SmFormat &rFormat)
virtual void Draw (OutputDevice &rDev, const Point &rPosition) const

Protected Member Functions

 SmSpecialNode (SmNodeType eNodeType, const SmToken &rNodeToken, USHORT _nFontDesc)

Detailed Description

Definition at line 348 of file node.hxx.


Constructor & Destructor Documentation

SmSpecialNode::SmSpecialNode ( SmNodeType  eNodeType,
const SmToken rNodeToken,
USHORT  _nFontDesc 
) [inline, protected]

Definition at line 351 of file node.hxx.

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

Definition at line 356 of file node.hxx.


Member Function Documentation

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

Reimplemented from SmTextNode.

Reimplemented in SmMathSymbolNode, SmPlaceNode, and SmErrorNode.

Definition at line 2821 of file node.cxx.

References SmTextNode::aText, ATTR_BOLD, ATTR_ITALIC, SmNode::Flags(), FLG_FONT, FNT_VARIABLE, SmSym::GetCharacter(), SmSym::GetFace(), SmFormat::GetFont(), SmNode::GetFont(), SmSymSetManager::GetSymbolByName(), SmModule::GetSymSetManager(), SmNode::GetToken(), IsBold(), IsItalic(), SmNode::Prepare(), SmNode::SetAttribut(), SmFace::SetSize(), SmTextNode::SetText(), and SM_MOD1.

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

Reimplemented from SmTextNode.

Reimplemented in SmGlyphSpecialNode, SmMathSymbolNode, SmPlaceNode, and SmErrorNode.

Definition at line 2857 of file node.cxx.

References SmRect::GetBorderWidth(), SmNode::GetFont(), SmTextNode::GetText(), SmRect::operator=(), SmNode::PrepareAttributes(), SmTmpDevice::SetFont(), and SmRect::SmRect().

void SmSpecialNode::Draw ( OutputDevice &  rDev,
const Point &  rPosition 
) const [virtual]

Reimplemented from SmTextNode.

Reimplemented in SmRootSymbolNode.

Definition at line 2868 of file node.cxx.

References SmTextNode::Draw().

Referenced by SmRootSymbolNode::Draw().


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