Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsStyleText Struct Reference

#include <nsStyleStruct.h>

Inheritance diagram for nsStyleText:
Inheritance graph
[legend]
Collaboration diagram for nsStyleText:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsStyleText (void)
 nsStyleText (const nsStyleText &aOther)
 ~nsStyleText (void)
voidoperator new (size_t sz, nsPresContext *aContext) CPP_THROW_NEW
void Destroy (nsPresContext *aContext)
nsChangeHint CalcDifference (const nsStyleText &aOther) const
PRBool WhiteSpaceIsSignificant () const

Public Attributes

PRUint8 mTextAlign
PRUint8 mTextTransform
PRUint8 mWhiteSpace
nsStyleCoord mLetterSpacing
nsStyleCoord mLineHeight
nsStyleCoord mTextIndent
nsStyleCoord mWordSpacing

Detailed Description

Definition at line 712 of file nsStyleStruct.h.


Constructor & Destructor Documentation

Definition at line 1583 of file nsStyleStruct.cpp.

{ 
  memcpy((nsStyleText*)this, &aSource, sizeof(nsStyleText));
}

Here is the call graph for this function:

Definition at line 1588 of file nsStyleStruct.cpp.

{ }

Here is the caller graph for this function:


Member Function Documentation

Definition at line 1590 of file nsStyleStruct.cpp.

{
  if ((mTextAlign == aOther.mTextAlign) &&
      (mTextTransform == aOther.mTextTransform) &&
      (mWhiteSpace == aOther.mWhiteSpace) &&
      (mLetterSpacing == aOther.mLetterSpacing) &&
      (mLineHeight == aOther.mLineHeight) &&
      (mTextIndent == aOther.mTextIndent) &&
      (mWordSpacing == aOther.mWordSpacing))
    return NS_STYLE_HINT_NONE;
  return NS_STYLE_HINT_REFLOW;
}
void nsStyleText::Destroy ( nsPresContext aContext) [inline]

Definition at line 722 of file nsStyleStruct.h.

                                        {
    this->~nsStyleText();
    aContext->FreeToShell(sizeof(nsStyleText), this);
  };

Here is the call graph for this function:

Here is the caller graph for this function:

void* nsStyleText::operator new ( size_t  sz,
nsPresContext aContext 
) [inline]

Definition at line 719 of file nsStyleStruct.h.

                                                                       {
    return aContext->AllocateFromShell(sz);
  }

Member Data Documentation

Definition at line 736 of file nsStyleStruct.h.

Definition at line 737 of file nsStyleStruct.h.

Definition at line 732 of file nsStyleStruct.h.

Definition at line 738 of file nsStyleStruct.h.

Definition at line 733 of file nsStyleStruct.h.

Definition at line 734 of file nsStyleStruct.h.

Definition at line 739 of file nsStyleStruct.h.


The documentation for this struct was generated from the following files: