2
* The contents of this file are subject to the Mozilla Public
3
* License Version 1.1 (the "License"); you may not use this file
4
* except in compliance with the License. You may obtain a copy of
5
* the License at http://www.mozilla.org/MPL/
7
* Software distributed under the License is distributed on an "AS
8
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
* implied. See the License for the specific language governing
10
* rights and limitations under the License.
12
* The Original Code is Mozilla MathML Project.
14
* The Initial Developer of the Original Code is The University Of
15
* Queensland. Portions created by The University Of Queensland are
16
* Copyright (C) 1999 The University Of Queensland. All Rights Reserved.
19
* Roger B. Sidje <rbs@maths.uq.edu.au>
20
* David J. Fiddes <D.J.Fiddes@hw.ac.uk>
21
* Shyjan Mahamud <mahamud@cs.cmu.edu>
24
#ifndef nsMathMLmunderFrame_h___
25
#define nsMathMLmunderFrame_h___
28
#include "nsMathMLContainerFrame.h"
31
// <munder> -- attach an underscript to a base
34
class nsMathMLmunderFrame : public nsMathMLContainerFrame {
36
friend nsresult NS_NewMathMLmunderFrame(nsIPresShell* aPresShell, nsIFrame** aNewFrame);
39
Place(nsIPresContext* aPresContext,
40
nsIRenderingContext& aRenderingContext,
42
nsHTMLReflowMetrics& aDesiredSize);
45
InheritAutomaticData(nsIPresContext* aPresContext,
49
TransmitAutomaticData(nsIPresContext* aPresContext);
52
UpdatePresentationData(nsIPresContext* aPresContext,
53
PRInt32 aScriptLevelIncrement,
54
PRUint32 aFlagsValues,
55
PRUint32 aFlagsToUpdate);
58
UpdatePresentationDataFromChildAt(nsIPresContext* aPresContext,
61
PRInt32 aScriptLevelIncrement,
62
PRUint32 aFlagsValues,
63
PRUint32 aFlagsToUpdate);
66
AttributeChanged(nsIPresContext* aPresContext,
73
nsMathMLmunderFrame();
74
virtual ~nsMathMLmunderFrame();
76
virtual PRIntn GetSkipSides() const { return 0; }
79
#endif /* nsMathMLmunderFrame_h___ */