Struct xpcom::interfaces::nsIInlineSpellChecker
[−]
[src]
#[repr(C)]pub struct nsIInlineSpellChecker { /* fields omitted */ }
interface nsIInlineSpellChecker : nsISupports
Methods
impl nsIInlineSpellChecker
[src]
pub fn coerce<T: nsIInlineSpellCheckerCoerce>(&self) -> &T
[src]
Cast this nsIInlineSpellChecker
to one of its base interfaces.
impl nsIInlineSpellChecker
[src]
pub unsafe fn GetSpellChecker(
&self,
aSpellChecker: *mut *const nsIEditorSpellCheck
) -> nsresult
[src]
&self,
aSpellChecker: *mut *const nsIEditorSpellCheck
) -> nsresult
readonly attribute nsIEditorSpellCheck spellChecker;
pub unsafe fn Init(&self, aEditor: *const nsIEditor) -> nsresult
[src]
void init (in nsIEditor aEditor);
pub unsafe fn Cleanup(&self, aDestroyingFrames: bool) -> nsresult
[src]
void cleanup (in boolean aDestroyingFrames);
pub unsafe fn GetEnableRealTimeSpell(
&self,
aEnableRealTimeSpell: *mut bool
) -> nsresult
[src]
&self,
aEnableRealTimeSpell: *mut bool
) -> nsresult
attribute boolean enableRealTimeSpell;
pub unsafe fn SetEnableRealTimeSpell(
&self,
aEnableRealTimeSpell: bool
) -> nsresult
[src]
&self,
aEnableRealTimeSpell: bool
) -> nsresult
attribute boolean enableRealTimeSpell;
pub unsafe fn SpellCheckRange(&self, aSelection: *const nsIDOMRange) -> nsresult
[src]
void spellCheckRange (in nsIDOMRange aSelection);
pub unsafe fn GetMisspelledWord(
&self,
aNode: *const nsIDOMNode,
aOffset: int32_t,
_retval: *mut *const nsIDOMRange
) -> nsresult
[src]
&self,
aNode: *const nsIDOMNode,
aOffset: int32_t,
_retval: *mut *const nsIDOMRange
) -> nsresult
nsIDOMRange getMisspelledWord (in nsIDOMNode aNode, in long aOffset);
pub unsafe fn ReplaceWord(
&self,
aNode: *const nsIDOMNode,
aOffset: int32_t,
aNewword: &nsAString
) -> nsresult
[src]
&self,
aNode: *const nsIDOMNode,
aOffset: int32_t,
aNewword: &nsAString
) -> nsresult
void replaceWord (in nsIDOMNode aNode, in long aOffset, in AString aNewword);
pub unsafe fn AddWordToDictionary(&self, aWord: &nsAString) -> nsresult
[src]
void addWordToDictionary (in AString aWord);
pub unsafe fn RemoveWordFromDictionary(&self, aWord: &nsAString) -> nsresult
[src]
void removeWordFromDictionary (in AString aWord);
pub unsafe fn IgnoreWord(&self, aWord: &nsAString) -> nsresult
[src]
void ignoreWord (in AString aWord);
pub unsafe fn IgnoreWords(
&self,
aWordsToIgnore: *mut *const int16_t,
aCount: uint32_t
) -> nsresult
[src]
&self,
aWordsToIgnore: *mut *const int16_t,
aCount: uint32_t
) -> nsresult
void ignoreWords ([array, size_is (aCount)] in wstring aWordsToIgnore, in unsigned long aCount);
pub unsafe fn UpdateCurrentDictionary(&self) -> nsresult
[src]
void updateCurrentDictionary ();
pub unsafe fn GetSpellCheckPending(
&self,
aSpellCheckPending: *mut bool
) -> nsresult
[src]
&self,
aSpellCheckPending: *mut bool
) -> nsresult
readonly attribute boolean spellCheckPending;
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIInlineSpellChecker
[src]
const IID: nsIID
IID: nsIID = nsID(3082266492, 16580, 16790, [176, 183, 176, 51, 130, 67, 179, 254])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[src]
Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more
impl RefCounted for nsIInlineSpellChecker
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIInlineSpellChecker
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.