Search completed in 0.95 seconds.
8 results for "nsMsgSearchOpValue":
nsMsgSearchOpValue
nsmsgsearchopvalue defined in comm-central/ mailnews/ base/ search/ public/ nsmsgsearchcore.idl 146 typedef long
nsmsgsearchopvalue; 147 148 [scriptable, uuid(9160b196-6fcb-4eba-aaaf-6c806c4ee420)] 149 interface nsmsgsearchop { 150 const
nsmsgsearchopvalue contains = 0; /* for text attributes */ 151 const
nsmsgsearchopvalue doesntcontain = 1; 152 const
nsmsgsearchopvalue is = 2; /* is and isn't also apply to some non-text attrs */ 153 const
nsmsgsearchopvalue isnt = 3; 154 const
nsmsgsearchopvalue isempty = 4; 155 156 const
nsmsgsearchopvalue isbefore = 5; /* for date attributes */ 157 const
nsmsgsearchopvalue isafter = 6; 158 159 const
nsmsgsearchopvalue ishigherthan = 7; /* for priority.
... is also applies */ 160 const
nsmsgsearchopvalue islowerthan = 8; 161 162 const
nsmsgsearchopvalue beginswith = 9; 163 const
nsmsgsearchopvalue endswith = 10; 164 165 const
nsmsgsearchopvalue soundslike = 11; /* for ldap phoenetic matching */ 166 const
nsmsgsearchopvalue ldapdwim = 12; /* do what i mean for simple search */ 167 168 const
nsmsgsearchopvalue isgreaterthan = 13; 169 const
nsmsgsearchopvalue islessthan = 14; 170 171 const
nsmsgsearchopvalue namecompletion = 15; /* name completion operator...as the name implies =) */ 172 const
nsmsgsearchopvalue isinab = 16; 173 const
nsmsgsearchopvalue isntinab = 17; 174 const
nsmsgsearchopvalue isntempty = 18; /* primarily for tags */ 175 const
nsmsgsearchopvalue matches = 19; /* generic term for use by cus...
...tom terms */ 176 const
nsmsgsearchopvalue doesntmatch = 20; /* generic term for use by custom terms */ 177 const
nsmsgsearchopvalue knummsgsearchoperators = 21; /* must be last operator */ 178 }; ...
nsIMsgSearchCustomTerm
* * @return true if enabled */ boolean getenabled(in nsmsgsearchscopevalue scope, in
nsmsgsearchopvalue op); getavailable /** * is this custom term available?
... * * @return true if available */ boolean getavailable(in nsmsgsearchscopevalue scope, in
nsmsgsearchopvalue op); getavailableoperators /** * list the valid operators for this term.
... * * @param scope search scope (nsmsgsearchscope) * @param length object to hold array length * * @return array of operators */ void getavailableoperators(in nsmsgsearchscopevalue scope, out unsigned long length, [retval, array, size_is(length)] out
nsmsgsearchopvalue operators); match /** * apply the custom search term to a message * * @param msghdr header database reference representing the message * @param searchvalue user-set value to use in the search * @param searchop search operator (contains, ishigherthan, etc.) * * @return true if the term matches the message, else false */ boolean match(in nsi...
...msgdbhdr msghdr, in autf8string searchvalue, in
nsmsgsearchopvalue searchop); ...
nsIMsgSearchSession
cope.offlinemail, afolder); var searchterm = searchsession.createterm(); var value = searchterm.value; value.str = avalue; searchterm.value = value; searchterm.op = searchsession.booleanor; searchterm.booleanand = false; searchsession.appendterm(searchterm); searchsession.search(null); inherits from: nsisupports method overview void addsearchterm(in nsmsgsearchattribvalue attrib, in
nsmsgsearchopvalue op, in nsimsgsearchvalue value, in boolean booleanand, in string arbitraryheader); nsimsgsearchterm createterm(); void appendterm(in nsimsgsearchterm term); void registerlistener(in nsimsgsearchnotify listener); void unregisterlistener(in nsimsgsearchnotify listener); void getnthsearchterm(in long whichterm, in nsmsgsearchattribvalue attrib, in nsmsgse...
... voidptr not scriptable and readonly: searchtype nsmsgsearchtype readonly: numresults long readonly: window nsimsgwindow constants name value description booleanor 0 booleanand 1 methods addsearchterm() void addsearchterm(in nsmsgsearchattribvalue attrib, in
nsmsgsearchopvalue op, in nsimsgsearchvalue value, in boolean booleanand, in string arbitraryheader); parameters attrib attribute for this term.
... void unregisterlistener (in nsimsgsearchnotify listener); parameters listener getnthsearchterm() void getnthsearchterm(in long whichterm, in nsmsgsearchattribvalue attrib, in
nsmsgsearchopvalue op, in nsimsgsearchvalue value); parameters whichterm attrib op value note: this parameter should be an out.
nsMsgSearchOp
defined in comm-central/ mailnews/ base/ search/ public/ nsmsgsearchcore.idl typedef long
nsmsgsearchopvalue; [scriptable, uuid(9160b196-6fcb-4eba-aaaf-6c806c4ee420)] interface nsmsgsearchop { const
nsmsgsearchopvalue contains = 0; /* for text attributes */ const
nsmsgsearchopvalue doesntcontain = 1; const
nsmsgsearchopvalue is = 2; /* is and isn't also apply to some non-text attrs */ const
nsmsgsearchopvalue isnt = 3; const
nsmsgsearchopvalue isempty = 4; const
nsmsgsearchopvalue isbefore = 5; /* for date attributes */ const
nsmsgsearchopvalue isafter = 6; const
nsmsgsearchopvalue ishigherthan = 7; /* for priority.
... is also applies */ const
nsmsgsearchopvalue islowerthan = 8; const
nsmsgsearchopvalue beginswith = 9; const
nsmsgsearchopvalue endswith = 10; const
nsmsgsearchopvalue soundslike = 11; /* for ldap phoenetic matching */ const
nsmsgsearchopvalue ldapdwim = 12; /* do what i mean for simple search */ const
nsmsgsearchopvalue isgreaterthan = 13; const
nsmsgsearchopvalue islessthan = 14; const
nsmsgsearchopvalue namecompletion = 15; /* name completion operator...as the name implies =) */ const
nsmsgsearchopvalue isinab = 16; const
nsmsgsearchopvalue isntinab = 17; const
nsmsgsearchopvalue isntempty = 18; /* primarily for tags */ const
nsmsgsearchopvalue matches = 19; /* generic term for use by custom terms */ const
nsmsgsearchopvalue d...
...oesntmatch = 20; /* generic term for use by custom terms */ const
nsmsgsearchopvalue knummsgsearchoperators = 21; /* must be last operator */ }; ...
Index
for example to move forward a message, you would call: 1261
nsmsgsearchopvalue defined in comm-central/ mailnews/ base/ search/ public/ nsmsgsearchcore.idl 1262 nsmsgviewcommandcheckstate interfaces, xpcom, xpcom api reference, thunderbird the nsmsgviewcommandcheckstate interface contains constants used for command status in thunderbird.
nsIMsgFilter
g junkscore; strvalue attribute autf8string strvalue; customid // action id if type is custom attribute acstring customid; customaction // custom action associated with customid // (which must be set prior to reading this attribute) readonly attribute nsimsgfiltercustomaction customaction; methods addterm() void nsimsgfilter::addterm ( in nsmsgsearchattribvalue attrib, in
nsmsgsearchopvalue op, in nsimsgsearchvalue value, in boolean booleanand, in acstring arbitraryheader ) getterm() void nsimsgfilter::getterm ( in long termindex, in nsmsgsearchattribvalue attrib, in
nsmsgsearchopvalue op, in nsimsgsearchvalue value, out boolean booleanand, out a...
nsIMsgSearchTerm
defined in mozilla/ mailnews/ base/ search/ public/ nsimsgsearchterm.idl attributes attrib attribute nsmsgsearchattribvalue attrib; op attribute
nsmsgsearchopvalue op; value attribute nsimsgsearchvalue value; booleanand attribute boolean booleanand; arbitraryheader attribute acstring arbitraryheader; hdrproperty /** * not to be confused with arbitraryheader, which is a header in the * rfc822 message.
XPCOM reference
for example to move forward a message, you would call:
nsmsgsearchopvaluedefined in comm-central/ mailnews/ base/ search/ public/ nsmsgsearchcore.idl nsmsgviewcommandcheckstatethe nsmsgviewcommandcheckstate interface contains constants used for command status in thunderbird.