#include <node.hxx>
Inherits SmTextNode.
Inherited by SmGlyphSpecialNode, and SmMathSymbolNode.
Inheritance diagram for SmSpecialNode:
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) |
Definition at line 348 of file node.hxx.
SmSpecialNode::SmSpecialNode | ( | SmNodeType | eNodeType, | |
const SmToken & | rNodeToken, | |||
USHORT | _nFontDesc | |||
) | [inline, protected] |
SmSpecialNode::SmSpecialNode | ( | const SmToken & | rNodeToken | ) | [inline] |
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().