void CFormulaNode::getChildDimensions_Vertical( RealFde *destDim )
{
	CNode *padded = getSingleChild();
	if( padded && padded->getAlignmentType() == FBtnChildPos::MSPACE_Exact_HeightDepth )
	{
		if( padded->GetType() == NODE_FORMULA )
		{
			((CFormulaNode*)padded)->calculatePadded_Vertical( destDim );
			return;
		}
		else if( padded->GetType() == NODE_PLANETEXT )
		{
			destDim[ MML_MPADDED_UNITS_HEIGHT ] = padded->getMMLHeight();
			destDim[ MML_MPADDED_UNITS_DEPTH ]  = padded->getMMLDepth();
			return;
		}
	}

	RealFde ascent = ::calculateCurrentTextAscent( GetLevel() );
	destDim[ MML_MPADDED_UNITS_DEPTH ] = ::calculateCurrentDepth( GetLevel(), ascent );
	destDim[ MML_MPADDED_UNITS_HEIGHT ] = ::calculateCurrentHeight( GetChild( 0 ), 1, GetLevel(), ascent );
}