Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIEditRules Class Reference

#include <nsEditRules.h>

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

List of all members.

Public Member Functions

NS_IMETHOD Init (nsPlaintextEditor *aEditor, PRUint32 aFlags)=0
NS_IMETHOD BeforeEdit (PRInt32 action, nsIEditor::EDirection aDirection)=0
NS_IMETHOD AfterEdit (PRInt32 action, nsIEditor::EDirection aDirection)=0
NS_IMETHOD WillDoAction (nsISelection *aSelection, nsRulesInfo *aInfo, PRBool *aCancel, PRBool *aHandled)=0
NS_IMETHOD DidDoAction (nsISelection *aSelection, nsRulesInfo *aInfo, nsresult aResult)=0
NS_IMETHOD GetFlags (PRUint32 *aFlags)=0
NS_IMETHOD SetFlags (PRUint32 aFlags)=0
NS_IMETHOD DocumentIsEmpty (PRBool *aDocumentIsEmpty)=0

Detailed Description

Definition at line 67 of file nsEditRules.h.


Member Function Documentation

NS_IMETHOD nsIEditRules::AfterEdit ( PRInt32  action,
nsIEditor::EDirection  aDirection 
) [pure virtual]

Implemented in nsHTMLEditRules, and nsTextEditRules.

NS_IMETHOD nsIEditRules::BeforeEdit ( PRInt32  action,
nsIEditor::EDirection  aDirection 
) [pure virtual]

Implemented in nsHTMLEditRules, and nsTextEditRules.

NS_IMETHOD nsIEditRules::DidDoAction ( nsISelection aSelection,
nsRulesInfo aInfo,
nsresult  aResult 
) [pure virtual]

Implemented in nsHTMLEditRules, and nsTextEditRules.

NS_IMETHOD nsIEditRules::DocumentIsEmpty ( PRBool aDocumentIsEmpty) [pure virtual]

Implemented in nsTextEditRules.

NS_IMETHOD nsIEditRules::GetFlags ( PRUint32 aFlags) [pure virtual]

Implemented in nsTextEditRules.

NS_IMETHOD nsIEditRules::Init ( nsPlaintextEditor aEditor,
PRUint32  aFlags 
) [pure virtual]

Implemented in nsHTMLEditRules, and nsTextEditRules.

NS_IMETHOD nsIEditRules::SetFlags ( PRUint32  aFlags) [pure virtual]

Implemented in nsTextEditRules.

NS_IMETHOD nsIEditRules::WillDoAction ( nsISelection aSelection,
nsRulesInfo aInfo,
PRBool aCancel,
PRBool aHandled 
) [pure virtual]

Implemented in nsHTMLEditRules, and nsTextEditRules.


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