Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Enumerations
nsTableFrame.h File Reference
#include "nscore.h"
#include "nsVoidArray.h"
#include "nsHTMLContainerFrame.h"
#include "nsStyleCoord.h"
#include "nsStyleConsts.h"
#include "nsITableLayout.h"
#include "nsTableColFrame.h"
#include "nsTableColGroupFrame.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsTableFrame
 nsTableFrame maps the inner portion of a table (everything except captions.) Used as a pseudo-frame within nsTableOuterFrame, it may also be used stand-alone as the top-level frame. More...
struct  nsTableFrame::TableBits
class  nsTableIterator

Defines

#define NS_TABLE_FRAME_COLGROUP_LIST_INDEX   0
 Child list name indices.
#define NS_TABLE_FRAME_OVERFLOW_LIST_INDEX   1
#define NS_TABLE_FRAME_LAST_LIST_INDEX   NS_TABLE_FRAME_OVERFLOW_LIST_INDEX
#define ABORT0()
#define ABORT1(aReturn)
#define GET_PIXELS_TO_TWIPS(presContext, var)   float var = (presContext)->ScaledPixelsToTwips();
#define GET_TWIPS_TO_PIXELS(presContext, var)

Enumerations

enum  nsPixelRound { eAlwaysRoundUp = 0, eAlwaysRoundDown, eRoundUpIfHalfOrMore }
enum  nsTableIteration { eTableLTR = 0, eTableRTL = 1, eTableDIR = 2 }

Class Documentation

struct nsTableFrame::TableBits

Definition at line 887 of file nsTableFrame.h.

Class Members
PRUint32 __pad0__:9
PRUint32 mCellSpansPctCol:1
PRUint32 mDidResizeReflow:1
PRUint32 mHadInitialReflow:1
PRUint32 mHasPctCol:1
PRUint32 mHaveReflowedColGroups:1
PRUint32 mInitiatedSpecialReflow:1
PRUint32 mIsBorderCollapse:1
PRUint32 mLeftContBCBorder:8
PRUint32 mNeedSpecialReflow:1
PRUint32 mNeedStrategyBalance:1
PRUint32 mNeedStrategyInit:1
PRUint32 mNeedToCalcBCBorders:1
PRUint32 mNeedToCollapseColumns:1
PRUint32 mNeedToCollapseRows:1
PRUint32 mNeedToInitiateSpecialReflow:1
PRUint32 mRowInserted:1

Define Documentation

#define ABORT0 ( )
Value:
{NS_ASSERTION(PR_FALSE, "CellIterator program error"); \
return;}

Definition at line 1121 of file nsTableFrame.h.

#define ABORT1 (   aReturn)
Value:
{NS_ASSERTION(PR_FALSE, "CellIterator program error"); \
return aReturn;}

Definition at line 1125 of file nsTableFrame.h.

#define GET_PIXELS_TO_TWIPS (   presContext,
  var 
)    float var = (presContext)->ScaledPixelsToTwips();

Definition at line 1129 of file nsTableFrame.h.

#define GET_TWIPS_TO_PIXELS (   presContext,
  var 
)
Value:
float var = (presContext)->ScaledPixelsToTwips(); \
  var = 1.0f / var;

Definition at line 1132 of file nsTableFrame.h.

Child list name indices.

See also:
#GetAdditionalChildListName()

Definition at line 159 of file nsTableFrame.h.

Definition at line 161 of file nsTableFrame.h.

Definition at line 160 of file nsTableFrame.h.


Enumeration Type Documentation

Enumerator:
eAlwaysRoundUp 
eAlwaysRoundDown 
eRoundUpIfHalfOrMore 

Definition at line 62 of file nsTableFrame.h.

Enumerator:
eTableLTR 
eTableRTL 
eTableDIR 

Definition at line 1093 of file nsTableFrame.h.

                      {
  eTableLTR = 0,
  eTableRTL = 1,
  eTableDIR = 2
};