Logo Search packages:      
Sourcecode: firefox-3.5 version File versions  Download package

DeleteRangeTxn Class Reference

#include <DeleteRangeTxn.h>

Inheritance diagram for DeleteRangeTxn:

EditAggregateTxn EditTxn nsISupports nsISupports

List of all members.

Detailed Description

A transaction that deletes an entire range in the content tree

Definition at line 59 of file DeleteRangeTxn.h.

Public Member Functions

NS_IMETHOD AppendChild (EditTxn *aTxn)
void doTransaction ()
NS_IMETHOD GetCount (PRUint32 *aCount)
NS_IMETHOD GetIsTransient (PRBool *aIsTransient)
NS_IMETHOD GetName (nsIAtom **aName)
NS_IMETHOD GetTxnAt (PRInt32 aIndex, EditTxn **aTxn)
NS_IMETHOD Init (nsIEditor *aEditor, nsIDOMRange *aRange, nsRangeUpdater *aRangeUpdater)
boolean merge (in nsITransaction aTransaction)
NS_IMETHOD Merge (nsITransaction *aTransaction, PRBool *aDidMerge)
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)
void redoTransaction ()
NS_IMETHOD SetName (nsIAtom *aName)
void undoTransaction ()
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0

Static Public Member Functions

static const nsIIDGetCID ()

Public Attributes

readonly attribute boolean isTransient
readonly attribute DOMString txnDescription

Protected Member Functions

NS_IMETHOD CreateTxnsToDeleteBetween (nsIDOMNode *aStartParent, PRUint32 aStartOffset, PRUint32 aEndOffset)
NS_IMETHOD CreateTxnsToDeleteContent (nsIDOMNode *aParent, PRUint32 aOffset, nsIEditor::EDirection aAction)
NS_IMETHOD CreateTxnsToDeleteNodesBetween ()

Protected Attributes

nsTArray< nsRefPtr< EditTxn > > mChildren
nsCOMPtr< nsIDOMNodemCommonParent
nsIEditor * mEditor
PRInt32 mEndOffset
nsCOMPtr< nsIDOMNodemEndParent
nsCOMPtr< nsIAtom > mName
nsCOMPtr< nsIDOMRangemRange
nsRangeUpdater * mRangeUpdater
PRInt32 mStartOffset
nsCOMPtr< nsIDOMNodemStartParent


class TransactionFactory

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

Generated by  Doxygen 1.6.0   Back to index