~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/layout/mathml/base/src/nsMathMLmunderFrame.h

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
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/
 
6
 * 
 
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.
 
11
 * 
 
12
 * The Original Code is Mozilla MathML Project.
 
13
 * 
 
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.
 
17
 * 
 
18
 * Contributor(s): 
 
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>
 
22
 */
 
23
 
 
24
#ifndef nsMathMLmunderFrame_h___
 
25
#define nsMathMLmunderFrame_h___
 
26
 
 
27
#include "nsCOMPtr.h"
 
28
#include "nsMathMLContainerFrame.h"
 
29
 
 
30
//
 
31
// <munder> -- attach an underscript to a base 
 
32
//
 
33
 
 
34
class nsMathMLmunderFrame : public nsMathMLContainerFrame {
 
35
public:
 
36
  friend nsresult NS_NewMathMLmunderFrame(nsIPresShell* aPresShell, nsIFrame** aNewFrame);
 
37
 
 
38
  NS_IMETHOD
 
39
  Place(nsIPresContext*      aPresContext,
 
40
        nsIRenderingContext& aRenderingContext,
 
41
        PRBool               aPlaceOrigin,
 
42
        nsHTMLReflowMetrics& aDesiredSize);
 
43
 
 
44
  NS_IMETHOD
 
45
  InheritAutomaticData(nsIPresContext* aPresContext,
 
46
                       nsIFrame*       aParent);
 
47
 
 
48
  NS_IMETHOD
 
49
  TransmitAutomaticData(nsIPresContext* aPresContext);
 
50
 
 
51
  NS_IMETHOD
 
52
  UpdatePresentationData(nsIPresContext* aPresContext,
 
53
                         PRInt32         aScriptLevelIncrement,
 
54
                         PRUint32        aFlagsValues,
 
55
                         PRUint32        aFlagsToUpdate);
 
56
 
 
57
  NS_IMETHOD
 
58
  UpdatePresentationDataFromChildAt(nsIPresContext* aPresContext,
 
59
                                    PRInt32         aFirstIndex,
 
60
                                    PRInt32         aLastIndex,
 
61
                                    PRInt32         aScriptLevelIncrement,
 
62
                                    PRUint32        aFlagsValues,
 
63
                                    PRUint32        aFlagsToUpdate);
 
64
 
 
65
  NS_IMETHOD
 
66
  AttributeChanged(nsIPresContext* aPresContext,
 
67
                   nsIContent*     aChild,
 
68
                   PRInt32         aNameSpaceID,
 
69
                   nsIAtom*        aAttribute,
 
70
                   PRInt32         aModType);
 
71
 
 
72
protected:
 
73
  nsMathMLmunderFrame();
 
74
  virtual ~nsMathMLmunderFrame();
 
75
  
 
76
  virtual PRIntn GetSkipSides() const { return 0; }
 
77
};
 
78
 
 
79
#endif /* nsMathMLmunderFrame_h___ */