Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Functions
nsHTMLCSSUtils.h File Reference
#include "nsCOMPtr.h"
#include "nsString.h"
#include "nsIDOMViewCSS.h"
#include "nsIDOMNode.h"
#include "nsIDOMElement.h"
#include "nsIHTMLEditor.h"
#include "ChangeCSSInlineStyleTxn.h"
#include "nsEditProperty.h"
#include "nsIDOMCSSStyleDeclaration.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsHTMLCSSUtils
struct  nsHTMLCSSUtils::CSSEquivTable

Defines

#define SPECIFIED_STYLE_TYPE   1
#define COMPUTED_STYLE_TYPE   2
#define NS_EDITOR_INDENT_INCREMENT_IN   0.4134f
#define NS_EDITOR_INDENT_INCREMENT_CM   1.05f
#define NS_EDITOR_INDENT_INCREMENT_MM   10.5f
#define NS_EDITOR_INDENT_INCREMENT_PT   29.76f
#define NS_EDITOR_INDENT_INCREMENT_PC   2.48f
#define NS_EDITOR_INDENT_INCREMENT_EM   3
#define NS_EDITOR_INDENT_INCREMENT_EX   6
#define NS_EDITOR_INDENT_INCREMENT_PX   40
#define NS_EDITOR_INDENT_INCREMENT_PERCENT   4

Typedefs

typedef void(* nsProcessValueFunc )(const nsAString *aInputString, nsAString &aOutputString, const char *aDefaultValueString, const char *aPrependString, const char *aAppendString)

Functions

nsresult NS_NewHTMLCSSUtils (nsHTMLCSSUtils **aInstancePtrResult)

Class Documentation

struct nsHTMLCSSUtils::CSSEquivTable

Definition at line 91 of file nsHTMLCSSUtils.h.

Class Members
const char * appendValue
PRBool caseSensitiveValue
nsCSSEditableProperty cssProperty
const char * defaultValue
PRBool gettable
const char * prependValue
nsProcessValueFunc processValueFunctor

Define Documentation

Definition at line 53 of file nsHTMLCSSUtils.h.

Definition at line 408 of file nsHTMLCSSUtils.h.

Definition at line 412 of file nsHTMLCSSUtils.h.

Definition at line 413 of file nsHTMLCSSUtils.h.

Definition at line 407 of file nsHTMLCSSUtils.h.

Definition at line 409 of file nsHTMLCSSUtils.h.

Definition at line 411 of file nsHTMLCSSUtils.h.

Definition at line 415 of file nsHTMLCSSUtils.h.

Definition at line 410 of file nsHTMLCSSUtils.h.

Definition at line 414 of file nsHTMLCSSUtils.h.

Definition at line 52 of file nsHTMLCSSUtils.h.


Typedef Documentation

typedef void(* nsProcessValueFunc)(const nsAString *aInputString, nsAString &aOutputString, const char *aDefaultValueString, const char *aPrependString, const char *aAppendString)

Definition at line 57 of file nsHTMLCSSUtils.h.


Function Documentation

nsresult NS_NewHTMLCSSUtils ( nsHTMLCSSUtils **  aInstancePtrResult)

Definition at line 628 of file nsHTMLCSSUtils.cpp.

{
  nsHTMLCSSUtils * rules = new nsHTMLCSSUtils();
  if (rules) {
    *aInstancePtrResult = rules;
    return NS_OK;
  }

  *aInstancePtrResult = nsnull;
  return NS_ERROR_OUT_OF_MEMORY;
}

Here is the caller graph for this function: