Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsMathMLmpaddedFrame.cpp File Reference
#include "nsCOMPtr.h"
#include "nsCRT.h"
#include "nsFrame.h"
#include "nsPresContext.h"
#include "nsUnitConversion.h"
#include "nsStyleContext.h"
#include "nsStyleConsts.h"
#include "nsIRenderingContext.h"
#include "nsIFontMetrics.h"
#include "nsMathMLmpaddedFrame.h"

Go to the source code of this file.

Defines

#define NS_MATHML_SIGN_INVALID   -1
#define NS_MATHML_SIGN_UNSPECIFIED   0
#define NS_MATHML_SIGN_MINUS   1
#define NS_MATHML_SIGN_PLUS   2
#define NS_MATHML_PSEUDO_UNIT_UNSPECIFIED   0
#define NS_MATHML_PSEUDO_UNIT_ITSELF   1
#define NS_MATHML_PSEUDO_UNIT_WIDTH   2
#define NS_MATHML_PSEUDO_UNIT_HEIGHT   3
#define NS_MATHML_PSEUDO_UNIT_DEPTH   4
#define NS_MATHML_PSEUDO_UNIT_LSPACE   5
#define NS_MATHML_PSEUDO_UNIT_NAMEDSPACE   6

Functions

nsresult NS_NewMathMLmpaddedFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)

Define Documentation

Definition at line 65 of file nsMathMLmpaddedFrame.cpp.

Definition at line 64 of file nsMathMLmpaddedFrame.cpp.

Definition at line 62 of file nsMathMLmpaddedFrame.cpp.

Definition at line 66 of file nsMathMLmpaddedFrame.cpp.

Definition at line 67 of file nsMathMLmpaddedFrame.cpp.

Definition at line 61 of file nsMathMLmpaddedFrame.cpp.

Definition at line 63 of file nsMathMLmpaddedFrame.cpp.

Definition at line 56 of file nsMathMLmpaddedFrame.cpp.

Definition at line 58 of file nsMathMLmpaddedFrame.cpp.

Definition at line 59 of file nsMathMLmpaddedFrame.cpp.

Definition at line 57 of file nsMathMLmpaddedFrame.cpp.


Function Documentation

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;
}