1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef nsMathMLParts_h___
8 #define nsMathMLParts_h___
11 #include "nsISupports.h"
17 } // namespace mozilla
19 // Factory methods for creating MathML objects
20 nsIFrame
* NS_NewMathMLTokenFrame(mozilla::PresShell
* aPresShell
,
21 mozilla::ComputedStyle
* aStyle
);
22 nsIFrame
* NS_NewMathMLmoFrame(mozilla::PresShell
* aPresShell
,
23 mozilla::ComputedStyle
* aStyle
);
24 nsIFrame
* NS_NewMathMLmrowFrame(mozilla::PresShell
* aPresShell
,
25 mozilla::ComputedStyle
* aStyle
);
26 nsIFrame
* NS_NewMathMLmpaddedFrame(mozilla::PresShell
* aPresShell
,
27 mozilla::ComputedStyle
* aStyle
);
28 nsIFrame
* NS_NewMathMLmspaceFrame(mozilla::PresShell
* aPresShell
,
29 mozilla::ComputedStyle
* aStyle
);
30 nsIFrame
* NS_NewMathMLmsFrame(mozilla::PresShell
* aPresShell
,
31 mozilla::ComputedStyle
* aStyle
);
32 nsIFrame
* NS_NewMathMLmfracFrame(mozilla::PresShell
* aPresShell
,
33 mozilla::ComputedStyle
* aStyle
);
34 nsIFrame
* NS_NewMathMLmsubFrame(mozilla::PresShell
* aPresShell
,
35 mozilla::ComputedStyle
* aStyle
);
36 nsIFrame
* NS_NewMathMLmsupFrame(mozilla::PresShell
* aPresShell
,
37 mozilla::ComputedStyle
* aStyle
);
38 nsIFrame
* NS_NewMathMLmsubsupFrame(mozilla::PresShell
* aPresShell
,
39 mozilla::ComputedStyle
* aStyle
);
40 nsIFrame
* NS_NewMathMLmunderoverFrame(mozilla::PresShell
* aPresShell
,
41 mozilla::ComputedStyle
* aStyle
);
42 nsIFrame
* NS_NewMathMLmmultiscriptsFrame(mozilla::PresShell
* aPresShell
,
43 mozilla::ComputedStyle
* aStyle
);
44 nsContainerFrame
* NS_NewMathMLmtableOuterFrame(mozilla::PresShell
* aPresShell
,
45 mozilla::ComputedStyle
* aStyle
);
46 nsContainerFrame
* NS_NewMathMLmtableFrame(mozilla::PresShell
* aPresShell
,
47 mozilla::ComputedStyle
* aStyle
);
48 nsContainerFrame
* NS_NewMathMLmtrFrame(mozilla::PresShell
* aPresShell
,
49 mozilla::ComputedStyle
* aStyle
);
50 nsContainerFrame
* NS_NewMathMLmtdFrame(mozilla::PresShell
* aPresShell
,
51 mozilla::ComputedStyle
* aStyle
,
52 nsTableFrame
* aTableFrame
);
53 nsContainerFrame
* NS_NewMathMLmtdInnerFrame(mozilla::PresShell
* aPresShell
,
54 mozilla::ComputedStyle
* aStyle
);
55 nsIFrame
* NS_NewMathMLmrootFrame(mozilla::PresShell
* aPresShell
,
56 mozilla::ComputedStyle
* aStyle
);
57 nsIFrame
* NS_NewMathMLmencloseFrame(mozilla::PresShell
* aPresShell
,
58 mozilla::ComputedStyle
* aStyle
);
60 nsContainerFrame
* NS_NewMathMLmathBlockFrame(mozilla::PresShell
* aPresShell
,
61 mozilla::ComputedStyle
* aStyle
);
62 nsContainerFrame
* NS_NewMathMLmathInlineFrame(mozilla::PresShell
* aPresShell
,
63 mozilla::ComputedStyle
* aStyle
);
64 #endif /* nsMathMLParts_h___ */