Struct xpcom::interfaces::mozISpellI18NUtil [] [src]

#[repr(C)]
pub struct mozISpellI18NUtil { /* fields omitted */ }

interface mozISpellI18NUtil : nsISupports

/**
 * This interface contains various I18N related code used in various places by the spell checker.
 */

Methods

impl mozISpellI18NUtil
[src]

[src]

Cast this mozISpellI18NUtil to one of its base interfaces.

impl mozISpellI18NUtil
[src]

kCheck: i64 = 0

kSuggest: i64 = 1

[src]

/**
    * The language being used to check spelling
    */

readonly attribute wstring language;

[src]

/**
    * Given a word return a list of possible root forms of that word
    */

void getRootForm (in wstring word, in uint32_t type, [array, size_is (count)] out wstring words, out uint32_t count);

[src]

/**
    * Given a word return a list of possible root forms of that word
    */

void fromRootForm (in wstring word, [array, size_is (icount)] in wstring iwords, in uint32_t icount, [array, size_is (ocount)] out wstring owords, out uint32_t ocount);

[src]

/**
     * Given a unicode string and an offset, find the beginning and end of the
     * next word. begin and end are -1 if there are no words remaining in the
     * string. This should really be folded into the Line/WordBreaker.
     */

void findNextWord (in wstring word, in uint32_t length, in uint32_t offset, out int32_t begin, out int32_t end);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for mozISpellI18NUtil
[src]

IID: nsIID = nsID(2960512476, 7665, 17434, [190, 191, 104, 13, 140, 170, 161, 156])

[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 mozISpellI18NUtil
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for mozISpellI18NUtil
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.