diff options
Diffstat (limited to 'starmath/source/node.cxx')
-rw-r--r-- | starmath/source/node.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index 7bc5932b80e9..bbac173f9b69 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -41,7 +41,7 @@ #include <float.h> -//////////////////////////////////////// + // SmTmpDevice // Allows for font and color changes. The original settings will be restored // in the destructor. @@ -49,7 +49,7 @@ // argument in the 'Arrange' functions and restore changes made in the 'Draw' // functions. // Usually a MapMode of 1/100th mm will be used. -// + class SmTmpDevice { @@ -121,7 +121,7 @@ void SmTmpDevice::SetFont(const Font &rNewFont) } -/////////////////////////////////////////////////////////////////////////// + SmNode::SmNode(SmNodeType eNodeType, const SmToken &rNodeToken) @@ -650,7 +650,7 @@ long SmNode::GetFormulaBaseline() const return 0; } -/////////////////////////////////////////////////////////////////////////// + SmStructureNode::SmStructureNode( const SmStructureNode &rNode ) : SmNode( rNode.GetType(), rNode.GetToken() ) @@ -759,7 +759,7 @@ void SmStructureNode::GetAccessibleText( OUStringBuffer &rText ) const } } -/////////////////////////////////////////////////////////////////////////// + bool SmVisibleNode::IsVisible() const @@ -780,14 +780,14 @@ SmNode * SmVisibleNode::GetSubNode(sal_uInt16 /*nIndex*/) } -/////////////////////////////////////////////////////////////////////////// + void SmGraphicNode::GetAccessibleText( OUStringBuffer &rText ) const { rText.append(GetToken().aText); } -/////////////////////////////////////////////////////////////////////////// + void SmExpressionNode::CreateTextFromNode(OUString &rText) @@ -815,7 +815,7 @@ void SmExpressionNode::CreateTextFromNode(OUString &rText) } -/////////////////////////////////////////////////////////////////////////// + void SmTableNode::Arrange(const OutputDevice &rDev, const SmFormat &rFormat) // arranges all subnodes in one column @@ -2928,7 +2928,7 @@ void SmSpecialNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell // Actually only WEIGHT_NORMAL and WEIGHT_BOLD should occur... However, the sms-file also // contains e.g. 'WEIGHT_ULTRALIGHT'. Consequently, compare here with '>' instead of '!='. // (In the long term the necessity for 'PrepareAttribut' and thus also for this here should be dropped) - // + //! see also SmFontStyles::GetStyleName if (IsItalic( GetFont() )) SetAttribut(ATTR_ITALIC); |