Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsMathMLParts.h File Reference
#include "nscore.h"
#include "nsISupports.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nsresult NS_NewMathMLForeignFrameWrapper (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLTokenFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmoFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmrowFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmphantomFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmpaddedFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmspaceFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmsFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmfencedFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmfracFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmsubFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmsupFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmsubsupFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmunderFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmoverFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmunderoverFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmmultiscriptsFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmstyleFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmtableOuterFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmtableFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmtrFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmtdFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmtdInnerFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmsqrtFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmrootFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmactionFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmathBlockFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmathInlineFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)
nsresult NS_NewMathMLmathFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame, PRBool aIsBlock)

Function Documentation

nsresult NS_NewMathMLForeignFrameWrapper ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 63 of file nsMathMLForeignFrameWrapper.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLForeignFrameWrapper* it = new (aPresShell) nsMathMLForeignFrameWrapper;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmactionFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 80 of file nsMathMLmactionFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmactionFrame* it = new (aPresShell) nsMathMLmactionFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmathBlockFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 1476 of file nsMathMLContainerFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmathBlockFrame* it = new (aPresShell) nsMathMLmathBlockFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}

Here is the caller graph for this function:

nsresult NS_NewMathMLmathFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame,
PRBool  aIsBlock 
) [inline]

Definition at line 111 of file nsMathMLParts.h.

{
  return (aIsBlock)
    ? NS_NewMathMLmathBlockFrame(aPresShell, aNewFrame)
    : NS_NewMathMLmathInlineFrame(aPresShell, aNewFrame);
}

Here is the call graph for this function:

nsresult NS_NewMathMLmathInlineFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 1493 of file nsMathMLContainerFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmathInlineFrame* it = new (aPresShell) nsMathMLmathInlineFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}

Here is the caller graph for this function:

nsresult NS_NewMathMLmfencedFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 57 of file nsMathMLmfencedFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmfencedFrame* it = new (aPresShell) nsMathMLmfencedFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;  
  return NS_OK;
}
nsresult NS_NewMathMLmfracFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 74 of file nsMathMLmfracFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmfracFrame* it = new (aPresShell) nsMathMLmfracFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmmultiscriptsFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 57 of file nsMathMLmmultiscriptsFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmmultiscriptsFrame* it = new (aPresShell) nsMathMLmmultiscriptsFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmoFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 62 of file nsMathMLmoFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmoFrame* it = new (aPresShell) nsMathMLmoFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmoverFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 60 of file nsMathMLmoverFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmoverFrame* it = new (aPresShell) nsMathMLmoverFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmpaddedFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 70 of file nsMathMLmpaddedFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmpaddedFrame* it = new (aPresShell) nsMathMLmpaddedFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmphantomFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 55 of file nsMathMLmphantomFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmphantomFrame* it = new (aPresShell) nsMathMLmphantomFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmrootFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 72 of file nsMathMLmrootFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmrootFrame* it = new (aPresShell) nsMathMLmrootFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmrowFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 56 of file nsMathMLmrowFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmrowFrame* it = new (aPresShell) nsMathMLmrowFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;  
  return NS_OK;
}
nsresult NS_NewMathMLmsFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)
nsresult NS_NewMathMLmspaceFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 56 of file nsMathMLmspaceFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmspaceFrame* it = new (aPresShell) nsMathMLmspaceFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmsqrtFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 72 of file nsMathMLmsqrtFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmsqrtFrame* it = new (aPresShell) nsMathMLmsqrtFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmstyleFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 57 of file nsMathMLmstyleFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmstyleFrame* it = new (aPresShell) nsMathMLmstyleFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;  
  return NS_OK;
}
nsresult NS_NewMathMLmsubFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 57 of file nsMathMLmsubFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmsubFrame* it = new (aPresShell) nsMathMLmsubFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmsubsupFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 57 of file nsMathMLmsubsupFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmsubsupFrame* it = new (aPresShell) nsMathMLmsubsupFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmsupFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 56 of file nsMathMLmsupFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmsupFrame* it = new (aPresShell) nsMathMLmsupFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmtableFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
) [inline]

Definition at line 86 of file nsMathMLParts.h.

{
  return NS_NewTableFrame(aPresShell, aNewFrame);
}

Here is the call graph for this function:

nsresult NS_NewMathMLmtableOuterFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 366 of file nsMathMLmtableFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmtableOuterFrame* it = new (aPresShell) nsMathMLmtableOuterFrame;
  if (!it)
    return NS_ERROR_OUT_OF_MEMORY;

  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmtdFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 602 of file nsMathMLmtableFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmtdFrame* it = new (aPresShell) nsMathMLmtdFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmtdInnerFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 669 of file nsMathMLmtableFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmtdInnerFrame* it = new (aPresShell) nsMathMLmtdInnerFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmtrFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
) [inline]

Definition at line 91 of file nsMathMLParts.h.

{
  return NS_NewTableRowFrame(aPresShell, aNewFrame);
}

Here is the call graph for this function:

nsresult NS_NewMathMLmunderFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 60 of file nsMathMLmunderFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmunderFrame* it = new (aPresShell) nsMathMLmunderFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLmunderoverFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 60 of file nsMathMLmunderoverFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLmunderoverFrame* it = new (aPresShell) nsMathMLmunderoverFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}
nsresult NS_NewMathMLTokenFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 58 of file nsMathMLTokenFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsMathMLTokenFrame* it = new (aPresShell) nsMathMLTokenFrame;
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;  
  return NS_OK;
}