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/. */ 6 7 #ifndef nsMathMLParts_h___ 8 #define nsMathMLParts_h___ 9 10 #include "nscore.h" 11 #include "nsISupports.h" 12 13 class nsTableFrame; 14 15 namespace mozilla { 16 class PresShell; 17 } // namespace mozilla 18 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_NewMathMLmsqrtFrame(mozilla::PresShell* aPresShell, 56 mozilla::ComputedStyle* aStyle); 57 nsIFrame* NS_NewMathMLmrootFrame(mozilla::PresShell* aPresShell, 58 mozilla::ComputedStyle* aStyle); 59 nsIFrame* NS_NewMathMLmactionFrame(mozilla::PresShell* aPresShell, 60 mozilla::ComputedStyle* aStyle); 61 nsIFrame* NS_NewMathMLmencloseFrame(mozilla::PresShell* aPresShell, 62 mozilla::ComputedStyle* aStyle); 63 nsIFrame* NS_NewMathMLsemanticsFrame(mozilla::PresShell* aPresShell, 64 mozilla::ComputedStyle* aStyle); 65 66 nsContainerFrame* NS_NewMathMLmathBlockFrame(mozilla::PresShell* aPresShell, 67 mozilla::ComputedStyle* aStyle); 68 nsContainerFrame* NS_NewMathMLmathInlineFrame(mozilla::PresShell* aPresShell, 69 mozilla::ComputedStyle* aStyle); 70 #endif /* nsMathMLParts_h___ */ 71