Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
EditorFrame.cpp File Reference
#include "global.h"
#include "nsIWebNavigation.h"
#include "nsIDOMDocument.h"
#include "nsIDOMHTMLDocument.h"
#include "nsIDOMWindow.h"
#include "nsIEditingSession.h"
#include "EditorFrame.h"

Go to the source code of this file.

Functions

static nsresult MakeCommandParams (nsICommandParams **aParams)

Variables

static const char kCmdBold [] = "cmd_bold"
static const char kCmdItalic [] = "cmd_italic"
static const char kCmdUnderline [] = "cmd_underline"
static const char kCmdIndent [] = "cmd_indent"
static const char kCmdOutdent [] = "cmd_outdent"
static const char kCmdAlign [] = "cmd_align"
const char kAlignLeft [] = "left"
const char kAlignRight [] = "right"
const char kAlignCenter [] = "center"
const char kStateAll [] = "state_all"
const char kStateMixed [] = "state_mixed"
const char kStateAttribute [] = "state_attribute"
const char kStateEnabled [] = "state_enabled"

Function Documentation

static nsresult MakeCommandParams ( nsICommandParams **  aParams) [static]

Definition at line 127 of file EditorFrame.cpp.

{
    nsresult rv;
    nsCOMPtr<nsICommandParams> params = do_CreateInstance(NS_COMMAND_PARAMS_CONTRACTID,&rv);
    if (NS_FAILED(rv))
        return rv;
    if (!params)
        return NS_ERROR_FAILURE;
    *aParams = params;
    NS_ADDREF(*aParams);
    return rv;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

const char kAlignCenter[] = "center"

Definition at line 174 of file EditorFrame.cpp.

const char kAlignLeft[] = "left"

Definition at line 172 of file EditorFrame.cpp.

const char kAlignRight[] = "right"

Definition at line 173 of file EditorFrame.cpp.

const char kCmdAlign[] = "cmd_align" [static]

Definition at line 145 of file EditorFrame.cpp.

const char kCmdBold[] = "cmd_bold" [static]

Definition at line 140 of file EditorFrame.cpp.

const char kCmdIndent[] = "cmd_indent" [static]

Definition at line 143 of file EditorFrame.cpp.

const char kCmdItalic[] = "cmd_italic" [static]

Definition at line 141 of file EditorFrame.cpp.

const char kCmdOutdent[] = "cmd_outdent" [static]

Definition at line 144 of file EditorFrame.cpp.

const char kCmdUnderline[] = "cmd_underline" [static]

Definition at line 142 of file EditorFrame.cpp.

const char kStateAll[] = "state_all"

Definition at line 192 of file EditorFrame.cpp.

const char kStateAttribute[] = "state_attribute"

Definition at line 194 of file EditorFrame.cpp.

const char kStateEnabled[] = "state_enabled"

Definition at line 195 of file EditorFrame.cpp.

const char kStateMixed[] = "state_mixed"

Definition at line 193 of file EditorFrame.cpp.