LibreOffice Module starmath (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
SmNode Class Referenceabstract

#include <node.hxx>

Inheritance diagram for SmNode:
[legend]
Collaboration diagram for SmNode:
[legend]

Public Member Functions

 SmNode (const SmNode &)=delete
 
SmNodeoperator= (const SmNode &)=delete
 
virtual ~SmNode ()
 
virtual bool IsVisible () const =0
 Checks node visibility. More...
 
virtual size_t GetNumSubNodes () const =0
 Gets the number of subnodes. More...
 
virtual SmNodeGetSubNode (size_t nIndex)=0
 Gets the subnode of index nIndex. More...
 
const SmNodeGetSubNode (size_t nIndex) const
 
virtual const SmNodeGetLeftMost () const
 (this assumes the one with index 0 is always the leftmost subnode for the current node). More...
 
FontChangeMaskFlags ()
 Gets the FontChangeMask flags. More...
 
FontAttributeAttributes ()
 Gets the font attributes. More...
 
bool IsPhantom () const
 Checks if it is a visible node rendered invisible. More...
 
void SetPhantom (bool bIsPhantom)
 Sets the render visibility of a visible node to bIsPhantom. More...
 
void SetColor (const Color &rColor)
 Sets the font color. More...
 
void SetAttribute (FontAttribute nAttrib)
 Sets the font attribute nAttrib. More...
 
void ClearAttribute (FontAttribute nAttrib)
 Clears the font attribute nAttrib. More...
 
const SmFaceGetFont () const
 Gets the font. More...
 
SmFaceGetFont ()
 
void SetFont (const SmFace &rFace)
 Sets the font to rFace. More...
 
void SetFontSize (const Fraction &rRelSize, FontSizeType nType)
 Sets the font size to rRelSize with type nType. More...
 
void SetSize (const Fraction &rScale)
 Sets the font size to rRelSize with type FontSizeType::ABSOLUT. More...
 
virtual void Prepare (const SmFormat &rFormat, const SmDocShell &rDocShell, int nDepth)
 Prepare preliminary settings about font and text (e.g. More...
 
void PrepareAttributes ()
 Prepare preliminary font attributes Called on Prepare(...). More...
 
void SetRectHorAlign (RectHorAlign eHorAlign, bool bApplyToSubTree=true)
 Sets the alignment of the text. More...
 
RectHorAlign GetRectHorAlign () const
 Gets the alignment of the text. More...
 
const SmRectGetRect () const
 Parses itself to SmRect. More...
 
void Move (const Point &rVector)
 Moves the rectangle by rVector. More...
 
void MoveTo (const Point &rPoint)
 Moves the rectangle to rPoint, being the top left corner the origin. More...
 
virtual void Arrange (OutputDevice &rDev, const SmFormat &rFormat)=0
 Prepares the SmRect to render. More...
 
virtual void GetAccessibleText (OUStringBuffer &rText) const =0
 Appends to rText the node text. More...
 
sal_Int32 GetAccessibleIndex () const
 Gets the node accessible index. More...
 
void SetAccessibleIndex (sal_Int32 nAccIndex)
 Sets the node accessible index to nAccIndex. More...
 
const SmNodeFindNodeWithAccessibleIndex (sal_Int32 nAccIndex) const
 Finds the node with accessible index nAccIndex. More...
 
sal_uInt16 GetRow () const
 Gets the line in the text where the node is located. More...
 
sal_uInt16 GetColumn () const
 Gets the column of the line in the text where the node is located. More...
 
SmScaleMode GetScaleMode () const
 Gets the scale mode. More...
 
void SetScaleMode (SmScaleMode eMode)
 Sets the scale mode to eMode. More...
 
virtual void AdaptToX (OutputDevice &rDev, sal_uLong nWidth)
 
virtual void AdaptToY (OutputDevice &rDev, sal_uLong nHeight)
 
SmNodeType GetType () const
 Gets the node type. More...
 
const SmTokenGetToken () const
 Gets the token. More...
 
SmTokenGetToken ()
 
const ESelectionGetSelection () const
 Gets node position in input text. More...
 
void SetSelection (ESelection aESelection)
 Gets node position in input text. More...
 
const SmNodeFindTokenAt (sal_uInt16 nRow, sal_uInt16 nCol) const
 Finds the node from the position in the text. More...
 
const SmNodeFindRectClosestTo (const Point &rPoint) const
 Finds the closest rectangle in the screen. More...
 
virtual void Accept (SmVisitor *pVisitor)=0
 Accept a visitor. More...
 
bool IsSelected () const
 Checks if the node is selected. More...
 
void SetSelected (bool Selected)
 Sets the node to Selected. More...
 
const SmStructureNodeGetParent () const
 Gets the parent node of this node. More...
 
SmStructureNodeGetParent ()
 
void SetParent (SmStructureNode *parent)
 Sets the parent node. More...
 
void SetToken (SmToken const &token)
 Sets the token for this node. More...
 
- Public Member Functions inherited from SmRect
 SmRect ()
 
 SmRect (const OutputDevice &rDev, const SmFormat *pFormat, const OUString &rText, sal_uInt16 nBorderWidth)
 
 SmRect (tools::Long nWidth, tools::Long nHeight)
 
sal_uInt16 GetBorderWidth () const
 
void SetItalicSpaces (tools::Long nLeftSpace, tools::Long nRightSpace)
 
void SetWidth (sal_uLong nWidth)
 
void SetLeft (tools::Long nLeft)
 
void SetRight (tools::Long nRight)
 
void SetBottom (tools::Long nBottom)
 
void SetTop (tools::Long nTop)
 
const PointGetTopLeft () const
 
tools::Long GetTop () const
 
tools::Long GetLeft () const
 
tools::Long GetBottom () const
 
tools::Long GetRight () const
 
tools::Long GetCenterY () const
 
tools::Long GetWidth () const
 
tools::Long GetHeight () const
 
tools::Long GetItalicLeftSpace () const
 
tools::Long GetItalicRightSpace () const
 
tools::Long GetHiAttrFence () const
 
tools::Long GetLoAttrFence () const
 
tools::Long GetItalicLeft () const
 
tools::Long GetItalicCenterX () const
 
tools::Long GetItalicRight () const
 
tools::Long GetItalicWidth () const
 
bool HasBaseline () const
 
tools::Long GetBaseline () const
 
tools::Long GetBaselineOffset () const
 
tools::Long GetAlignT () const
 
tools::Long GetAlignM () const
 
tools::Long GetAlignB () const
 
const SizeGetSize () const
 
Size GetItalicSize () const
 
void Move (const Point &rPosition)
 
void MoveTo (const Point &rPosition)
 
bool IsEmpty () const
 
bool HasAlignInfo () const
 
Point AlignTo (const SmRect &rRect, RectPos ePos, RectHorAlign eHor, RectVerAlign eVer) const
 
SmRectExtendBy (const SmRect &rRect, RectCopyMBL eCopyMode)
 
void ExtendBy (const SmRect &rRect, RectCopyMBL eCopyMode, tools::Long nNewAlignM)
 
SmRectExtendBy (const SmRect &rRect, RectCopyMBL eCopyMode, bool bKeepVerAlignParams)
 
tools::Long OrientedDist (const Point &rPoint) const
 
bool IsInsideRect (const Point &rPoint) const
 
bool IsInsideItalicRect (const Point &rPoint) const
 
tools::Rectangle AsRectangle () const
 
SmRect AsGlyphRect () const
 

Protected Member Functions

 SmNode (SmNodeType eNodeType, SmToken aNodeToken)
 

Private Attributes

SmFace maFace
 
SmToken maNodeToken
 
ESelection m_aESelection
 
SmNodeType meType
 
SmScaleMode meScaleMode
 
RectHorAlign meRectHorAlign
 
FontChangeMask mnFlags
 
FontAttribute mnAttributes
 
bool mbIsPhantom
 
bool mbIsSelected
 
sal_Int32 mnAccIndex
 
SmStructureNodempParentNode
 

Detailed Description

Definition at line 124 of file node.hxx.

Constructor & Destructor Documentation

◆ SmNode() [1/2]

SmNode::SmNode ( SmNodeType  eNodeType,
SmToken  aNodeToken 
)
protected

Definition at line 48 of file node.cxx.

References Left, mbIsSelected, meType, mnFlags, and None.

◆ SmNode() [2/2]

SmNode::SmNode ( const SmNode )
delete

◆ ~SmNode()

SmNode::~SmNode ( )
virtual

Definition at line 62 of file node.cxx.

Member Function Documentation

◆ Accept()

virtual void SmNode::Accept ( SmVisitor pVisitor)
pure virtual

◆ AdaptToX()

void SmNode::AdaptToX ( OutputDevice rDev,
sal_uLong  nWidth 
)
virtual

Reimplemented in SmRootSymbolNode, SmRectangleNode, SmPolyLineNode, and SmMathSymbolNode.

Definition at line 241 of file node.cxx.

Referenced by SmAttributeNode::Arrange().

◆ AdaptToY()

void SmNode::AdaptToY ( OutputDevice rDev,
sal_uLong  nHeight 
)
virtual

Reimplemented in SmRectangleNode, SmPolyLineNode, SmMathSymbolNode, and SmRootSymbolNode.

Definition at line 246 of file node.cxx.

Referenced by SmBraceNode::Arrange(), and SmBracebodyNode::Arrange().

◆ Arrange()

virtual void SmNode::Arrange ( OutputDevice rDev,
const SmFormat rFormat 
)
pure virtual

◆ Attributes()

FontAttribute & SmNode::Attributes ( )
inline

Gets the font attributes.

Returns
font attributes

Definition at line 185 of file node.hxx.

References mnAttributes.

Referenced by SmTextNode::Prepare(), SmSpecialNode::Prepare(), and PrepareAttributes().

◆ ClearAttribute()

void SmNode::ClearAttribute ( FontAttribute  nAttrib)

Clears the font attribute nAttrib.

Check FontAttribute class.

Parameters
nAttrib
Returns

Definition at line 111 of file node.cxx.

References Bold, ClearAttribute(), Flags(), Italic, and mnAttributes.

Referenced by SmFontNode::Arrange(), and ClearAttribute().

◆ FindNodeWithAccessibleIndex()

const SmNode * SmNode::FindNodeWithAccessibleIndex ( sal_Int32  nAccIndex) const

Finds the node with accessible index nAccIndex.

Used for visual editing.

Parameters
nAccIndex
Returns
node with accessible index nAccIndex

Definition at line 322 of file node.cxx.

References FindNodeWithAccessibleIndex(), GetAccessibleIndex(), GetAccessibleText(), GetNumSubNodes(), GetSubNode(), and i.

Referenced by FindNodeWithAccessibleIndex(), and SmGraphicAccessible::getCharacterBounds().

◆ FindRectClosestTo()

const SmNode * SmNode::FindRectClosestTo ( const Point rPoint) const

Finds the closest rectangle in the screen.

Parameters
rPoint
Returns
the given node

Definition at line 280 of file node.cxx.

References FindRectClosestTo(), GetNumSubNodes(), GetSubNode(), i, SmRect::IsInsideRect(), IsVisible(), LONG_MAX, and SmRect::OrientedDist().

Referenced by FindRectClosestTo(), SmGraphicAccessible::getIndexAtPoint(), and SmGraphicWidget::MouseButtonDown().

◆ FindTokenAt()

const SmNode * SmNode::FindTokenAt ( sal_uInt16  nRow,
sal_uInt16  nCol 
) const

Finds the node from the position in the text.

(there should be exactly one such node if any)

It is used to do the visual <-> text correspondence.

Parameters
nRow
nCol
Returns
the given node

Definition at line 251 of file node.cxx.

References FindTokenAt(), GetSelection(), and i.

Referenced by FindTokenAt(), and SmGraphicWidget::SetCursorPos().

◆ Flags()

FontChangeMask & SmNode::Flags ( )
inline

◆ GetAccessibleIndex()

sal_Int32 SmNode::GetAccessibleIndex ( ) const
inline

Gets the node accessible index.

Used for visual editing.

Returns
node accessible index

Definition at line 326 of file node.hxx.

References mnAccIndex.

Referenced by FindNodeWithAccessibleIndex(), SmGraphicAccessible::getCharacterBounds(), and SmGraphicAccessible::getIndexAtPoint().

◆ GetAccessibleText()

virtual void SmNode::GetAccessibleText ( OUStringBuffer &  rText) const
pure virtual

◆ GetColumn()

sal_uInt16 SmNode::GetColumn ( ) const
inline

Gets the column of the line in the text where the node is located.

It is used to do the visual <-> text correspondence.

Returns
column

Definition at line 356 of file node.hxx.

References m_aESelection, and ESelection::nStartPos.

Referenced by SmViewShell::ShowError().

◆ GetFont() [1/2]

SmFace & SmNode::GetFont ( )
inline

Definition at line 228 of file node.hxx.

References maFace.

◆ GetFont() [2/2]

const SmFace & SmNode::GetFont ( ) const
inline

◆ GetLeftMost()

const SmNode * SmNode::GetLeftMost ( ) const
virtual

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

Reimplemented in SmTableNode, SmBinVerNode, and SmMatrixNode.

Definition at line 66 of file node.cxx.

References GetLeftMost(), GetNumSubNodes(), and GetSubNode().

Referenced by SmTableNode::Arrange(), SmExpressionNode::Arrange(), SmBinVerNode::Arrange(), SmMatrixNode::Arrange(), and GetLeftMost().

◆ GetNumSubNodes()

virtual size_t SmNode::GetNumSubNodes ( ) const
pure virtual

◆ GetParent() [1/2]

SmStructureNode * SmNode::GetParent ( )
inline

Definition at line 444 of file node.hxx.

References mpParentNode.

◆ GetParent() [2/2]

const SmStructureNode * SmNode::GetParent ( ) const
inline

◆ GetRect()

const SmRect & SmNode::GetRect ( ) const
inline

◆ GetRectHorAlign()

RectHorAlign SmNode::GetRectHorAlign ( ) const
inline

Gets the alignment of the text.

Returns
alignment of the text

Definition at line 284 of file node.hxx.

References meRectHorAlign.

Referenced by SmTableNode::Arrange(), SmExpressionNode::Arrange(), SmBinVerNode::Arrange(), and SmMatrixNode::Arrange().

◆ GetRow()

sal_uInt16 SmNode::GetRow ( ) const
inline

Gets the line in the text where the node is located.

It is used to do the visual <-> text correspondence.

Returns
line

Definition at line 349 of file node.hxx.

References m_aESelection, and ESelection::nStartPara.

Referenced by SmViewShell::ShowError().

◆ GetScaleMode()

SmScaleMode SmNode::GetScaleMode ( ) const
inline

◆ GetSelection()

const ESelection & SmNode::GetSelection ( ) const
inline

Gets node position in input text.

Returns
node position in input text

Definition at line 394 of file node.hxx.

References m_aESelection.

Referenced by SmGraphicWidget::MouseButtonDown(), and SmCloningVisitor::Visit().

◆ GetSubNode() [1/2]

const SmNode * SmNode::GetSubNode ( size_t  nIndex) const
inline

Definition at line 170 of file node.hxx.

References GetSubNode(), and nIndex.

◆ GetSubNode() [2/2]

virtual SmNode * SmNode::GetSubNode ( size_t  nIndex)
pure virtual

◆ GetToken() [1/2]

SmToken & SmNode::GetToken ( )
inline

Definition at line 388 of file node.hxx.

References maNodeToken.

◆ GetToken() [2/2]

const SmToken & SmNode::GetToken ( ) const
inline

Gets the token.

The token contains the data extracted from the text mode. Ej: text, type (sub, sup, int,...), row and column,...

Returns
node type

Definition at line 387 of file node.hxx.

References maNodeToken.

Referenced by SmTextNode::AdjustFontDesc(), SmPolyLineNode::Arrange(), SmUnHorNode::Arrange(), SmSubSupNode::Arrange(), SmBraceNode::Arrange(), SmVerticalBraceNode::Arrange(), SmOperNode::Arrange(), SmAlignNode::Arrange(), SmAttributeNode::Arrange(), SmFontNode::Arrange(), SmTextNode::ChangeText(), SmCursor::Copy(), SmXMLExport::ExportAttributes(), SmXMLExport::ExportBinaryDiagonal(), SmXMLExport::ExportBinaryHorizontal(), SmXMLExport::ExportBinaryVertical(), SmXMLExport::ExportBrace(), SmXMLExport::ExportFont(), SmXMLExport::ExportNodes(), SmXMLExport::ExportTable(), SmXMLExport::ExportText(), SmXMLExport::ExportVerticalBrace(), SmCursor::FindPositionInLineList(), SmGraphicNode::GetAccessibleText(), SmOoxmlExport::HandleAttribute(), SmRtfExport::HandleAttribute(), MathType::HandleAttributes(), SmWordExportBase::HandleBinaryOperation(), SmOoxmlExport::HandleBrace(), MathType::HandleBrace(), MathType::HandleLim(), MathType::HandleMAlign(), SmWordExportBase::HandleMath(), MathType::HandleMath(), MathType::HandleNodes(), SmOoxmlExport::HandleOperator(), SmRtfExport::HandleOperator(), MathType::HandleOperator(), SmOoxmlExport::HandleText(), SmRtfExport::HandleText(), SmWordExportBase::HandleUnaryOperation(), SmOoxmlExport::HandleVerticalBrace(), SmRtfExport::HandleVerticalBrace(), MathType::HandleVerticalBrace(), SmCursor::InsertRow(), SmCursor::IsAtTailOfBracket(), SmCursor::PatchLineList(), SmTextNode::Prepare(), SmSpecialNode::Prepare(), SmFontNode::Prepare(), SmMathSymbolNode::SmMathSymbolNode(), SmCursor::TakeSelectedNodesFromList(), SmCloningVisitor::Visit(), and SmNodeToTextVisitor::Visit().

◆ GetType()

SmNodeType SmNode::GetType ( ) const
inline

◆ IsPhantom()

bool SmNode::IsPhantom ( ) const
inline

Checks if it is a visible node rendered invisible.

Returns
rendered visibility

Definition at line 191 of file node.hxx.

References mbIsPhantom.

Referenced by SmDrawingVisitor::DrawChildren(), SmDrawingVisitor::DrawTextNode(), and SmDrawingVisitor::Visit().

◆ IsSelected()

bool SmNode::IsSelected ( ) const
inline

Checks if the node is selected.

Returns
the node is selected

Definition at line 430 of file node.hxx.

References mbIsSelected.

Referenced by SmSelectionRectanglesVisitor::DefaultVisit(), SmCursor::FindTopMostNodeInLine(), SmSetSelectionVisitor::SmSetSelectionVisitor(), and SmSelectionRectanglesVisitor::Visit().

◆ IsVisible()

virtual bool SmNode::IsVisible ( ) const
pure virtual

Checks node visibility.

Returns true if this is an instance of SmVisibleNode's subclass, false otherwise.

Returns
node visibility

Implemented in SmStructureNode, and SmVisibleNode.

Referenced by FindRectClosestTo(), SmStructureNode::GetAccessibleText(), and SmGraphicAccessible::getIndexAtPoint().

◆ Move()

void SmNode::Move ( const Point rVector)

Moves the rectangle by rVector.

Parameters
rVector
Returns

Definition at line 231 of file node.cxx.

References SmRect::Move(), Move(), Point::X(), and Point::Y().

Referenced by SmMatrixNode::Arrange(), Move(), and MoveTo().

◆ MoveTo()

void SmNode::MoveTo ( const Point rPoint)
inline

◆ operator=()

SmNode & SmNode::operator= ( const SmNode )
delete

◆ Prepare()

void SmNode::Prepare ( const SmFormat rFormat,
const SmDocShell rDocShell,
int  nDepth 
)
virtual

◆ PrepareAttributes()

void SmNode::PrepareAttributes ( )

◆ SetAccessibleIndex()

void SmNode::SetAccessibleIndex ( sal_Int32  nAccIndex)
inline

Sets the node accessible index to nAccIndex.

Used for visual editing.

Parameters
nAccIndex
Returns

Definition at line 334 of file node.hxx.

References mnAccIndex.

Referenced by SmStructureNode::GetAccessibleText().

◆ SetAttribute()

void SmNode::SetAttribute ( FontAttribute  nAttrib)

Sets the font attribute nAttrib.

Check FontAttribute class.

Parameters
nAttrib
Returns

Definition at line 97 of file node.cxx.

References Bold, Flags(), Italic, mnAttributes, and SetAttribute().

Referenced by SmFontNode::Arrange(), SmSpecialNode::Prepare(), and SetAttribute().

◆ SetColor()

void SmNode::SetColor ( const Color rColor)

Sets the font color.

Parameters
rColor
Returns

Definition at line 88 of file node.cxx.

References Color, Flags(), GetFont(), vcl::Font::SetColor(), and SetColor().

Referenced by SmFontNode::Arrange(), and SetColor().

◆ SetFont()

void SmNode::SetFont ( const SmFace rFace)

Sets the font to rFace.

Parameters
rFace
Returns

Definition at line 125 of file node.cxx.

References Face, Flags(), GetFont(), and SetFont().

Referenced by SmFontNode::Arrange(), SmFontNode::Prepare(), and SetFont().

◆ SetFontSize()

void SmNode::SetFontSize ( const Fraction rRelSize,
FontSizeType  nType 
)

Sets the font size to rRelSize with type nType.

'rSize' is in units of pts

Check FontSizeType for details.

Parameters
rRelSize
nType
Returns

Definition at line 133 of file node.cxx.

References ABSOLUT, Size::AdjustHeight(), conversionFract(), o3tl::convert(), DIVIDE, Flags(), GetFont(), vcl::Font::GetFontSize(), Size::Height(), MINUS, MULTIPLY, nType, PLUS, o3tl::pt, SetFontSize(), Size::setHeight(), SmFace::SetSize(), Size::setWidth(), Size, and SmO3tlLengthUnit().

Referenced by SmFontNode::Arrange(), and SetFontSize().

◆ SetParent()

void SmNode::SetParent ( SmStructureNode parent)
inline

Sets the parent node.

Parameters
parent
Returns

Definition at line 451 of file node.hxx.

References mpParentNode.

Referenced by SmStructureNode::ClaimPaternity(), and SmStructureNode::SetSubNode().

◆ SetPhantom()

void SmNode::SetPhantom ( bool  bIsPhantom)

Sets the render visibility of a visible node to bIsPhantom.

Parameters
bIsPhantom
Returns

Definition at line 78 of file node.cxx.

References Flags(), mbIsPhantom, Phantom, and SetPhantom().

Referenced by SmFontNode::Arrange(), and SetPhantom().

◆ SetRectHorAlign()

void SmNode::SetRectHorAlign ( RectHorAlign  eHorAlign,
bool  bApplyToSubTree = true 
)

Sets the alignment of the text.

Check RectHorAlign class for details. The subtrees will be affected if bApplyToSubTree.

Parameters
eHorAlign
bApplyToSubTree
Returns

Definition at line 191 of file node.cxx.

References meRectHorAlign, and SetRectHorAlign().

Referenced by SmExpressionNode::Arrange(), SmAlignNode::Arrange(), SmTextNode::Prepare(), and SetRectHorAlign().

◆ SetScaleMode()

void SmNode::SetScaleMode ( SmScaleMode  eMode)
inline

Sets the scale mode to eMode.

Parameters
eMode
Returns

Definition at line 369 of file node.hxx.

References eMode, and meScaleMode.

Referenced by SmCloningVisitor::CloneNodeAttr(), SmCursor::CreateBracket(), and SmCursor::InsertBrackets().

◆ SetSelected()

void SmNode::SetSelected ( bool  Selected)
inline

Sets the node to Selected.

Parameters
Selected
Returns

Definition at line 437 of file node.hxx.

References mbIsSelected, and Selected.

Referenced by SmSetSelectionVisitor::DefaultVisit(), SmSetSelectionVisitor::SetSelectedOnAll(), SmSetSelectionVisitor::Visit(), and SmSetSelectionVisitor::VisitCompositionNode().

◆ SetSelection()

void SmNode::SetSelection ( ESelection  aESelection)
inline

Gets node position in input text.

Parameters
aESelection

Definition at line 400 of file node.hxx.

References m_aESelection.

Referenced by SmParser5::DoBracebody(), SmParser5::DoError(), and SmCloningVisitor::Visit().

◆ SetSize()

void SmNode::SetSize ( const Fraction rScale)

Sets the font size to rRelSize with type FontSizeType::ABSOLUT.

Parameters
rScale
Returns

Definition at line 183 of file node.cxx.

References GetFont(), and SetSize().

Referenced by SmUnHorNode::Arrange(), SmRootNode::Arrange(), SmBinVerNode::Arrange(), SmSubSupNode::Arrange(), SmOperNode::Arrange(), and SetSize().

◆ SetToken()

void SmNode::SetToken ( SmToken const &  token)
inline

Sets the token for this node.

Parameters
token
Returns

Definition at line 458 of file node.hxx.

References maNodeToken.

Referenced by SmCursor::InsertRow().

Member Data Documentation

◆ m_aESelection

ESelection SmNode::m_aESelection
private

Definition at line 130 of file node.hxx.

Referenced by GetColumn(), GetRow(), GetSelection(), and SetSelection().

◆ maFace

SmFace SmNode::maFace
private

Definition at line 127 of file node.hxx.

Referenced by GetFont().

◆ maNodeToken

SmToken SmNode::maNodeToken
private

Definition at line 129 of file node.hxx.

Referenced by GetToken(), and SetToken().

◆ mbIsPhantom

bool SmNode::mbIsPhantom
private

Definition at line 137 of file node.hxx.

Referenced by IsPhantom(), Prepare(), and SetPhantom().

◆ mbIsSelected

bool SmNode::mbIsSelected
private

Definition at line 138 of file node.hxx.

Referenced by IsSelected(), and SetSelected().

◆ meRectHorAlign

RectHorAlign SmNode::meRectHorAlign
private

Definition at line 134 of file node.hxx.

Referenced by GetRectHorAlign(), Prepare(), and SetRectHorAlign().

◆ meScaleMode

SmScaleMode SmNode::meScaleMode
private

Definition at line 133 of file node.hxx.

Referenced by GetScaleMode(), and SetScaleMode().

◆ meType

SmNodeType SmNode::meType
private

Definition at line 132 of file node.hxx.

Referenced by GetType().

◆ mnAccIndex

sal_Int32 SmNode::mnAccIndex
private

Definition at line 140 of file node.hxx.

Referenced by GetAccessibleIndex(), and SetAccessibleIndex().

◆ mnAttributes

FontAttribute SmNode::mnAttributes
private

Definition at line 136 of file node.hxx.

Referenced by Attributes(), ClearAttribute(), Prepare(), and SetAttribute().

◆ mnFlags

FontChangeMask SmNode::mnFlags
private

Definition at line 135 of file node.hxx.

Referenced by Flags(), and Prepare().

◆ mpParentNode

SmStructureNode* SmNode::mpParentNode
private

Definition at line 461 of file node.hxx.

Referenced by GetParent(), and SetParent().


The documentation for this class was generated from the following files: