Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsLineBox.h File Reference
#include "nsVoidArray.h"
#include "nsPlaceholderFrame.h"
#include "nsILineIterator.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  nsFloatCache
class  nsFloatCacheList
class  nsFloatCacheFreeList
class  nsLineLink
 Users must have the class that is to be part of the list inherit from nsLineLink. More...
class  nsLineBox
 The nsLineBox class represents a horizontal line of frames. More...
struct  nsLineBox::FlagBits
struct  nsLineBox::ExtraData
struct  nsLineBox::ExtraBlockData
struct  nsLineBox::ExtraInlineData
class  nsLineList_iterator
 A linked list type where the items in the list must inherit from a link type to fuse allocations. More...
class  nsLineList_reverse_iterator
class  nsLineList_const_iterator
class  nsLineList_const_reverse_iterator
class  nsLineList
class  nsLineIterator


#define LINE_MAX_BREAK_TYPE   ((1 << 4) - 1)
#define LINE_MAX_CHILD_COUNT   ((1 << 20) - 1)
#define ASSIGN_FROM(other_)


nsLineBoxNS_NewLineBox (nsIPresShell *aPresShell, nsIFrame *aFrame, PRInt32 aCount, PRBool aIsBlock)

Class Documentation

struct nsLineBox::FlagBits

Definition at line 458 of file nsLineBox.h.

Class Members
PRUint32 mBlock: 1
PRUint32 mBreakType: 4
PRUint32 mChildCount: 18
PRUint32 mDirty: 1
PRUint32 mEmptyCacheState: 1
PRUint32 mEmptyCacheValid: 1
PRUint32 mHasClearance: 1
PRUint32 mHasPercentageChild: 1
PRUint32 mImpactedByFloat: 1
PRUint32 mLineWrapped: 1
PRUint32 mPreviousMarginDirty: 1
PRUint32 mResizeReflowOptimizationDisabled: 1

Define Documentation

#define ASSIGN_FROM (   other_)
mCurrent = other_.mCurrent;        \
  return *this;

Definition at line 1380 of file nsLineBox.h.

#define LINE_MAX_BREAK_TYPE   ((1 << 4) - 1)

Definition at line 155 of file nsLineBox.h.

#define LINE_MAX_CHILD_COUNT   ((1 << 20) - 1)

Definition at line 156 of file nsLineBox.h.

Function Documentation

nsLineBox* NS_NewLineBox ( nsIPresShell aPresShell,
nsIFrame aFrame,
PRInt32  aCount,
PRBool  aIsBlock 

Definition at line 90 of file nsLineBox.cpp.

  return new (aPresShell)nsLineBox(aFrame, aCount, aIsBlock);

Here is the caller graph for this function: