Data Structures |
| struct | HTMLTxtRange |
| struct | wstrbuf_t |
| struct | dompos_t |
Defines |
| #define | COBJMACROS |
| #define | HTMLTXTRANGE(x) ((IHTMLTxtRange*) &(x)->lpHTMLTxtRangeVtbl) |
| #define | HTMLTXTRANGE_THIS(iface) DEFINE_THIS(HTMLTxtRange, HTMLTxtRange, iface) |
| #define | OLECMDTRG_THIS(iface) DEFINE_THIS(HTMLTxtRange, OleCommandTarget, iface) |
Enumerations |
| enum | range_unit_t {
RU_UNKNOWN,
RU_CHAR,
RU_WORD,
RU_SENTENCE,
RU_TEXTEDIT
} |
Functions |
| | WINE_DEFAULT_DEBUG_CHANNEL (mshtml) |
| static HTMLTxtRange * | get_range_object (HTMLDocumentNode *doc, IHTMLTxtRange *iface) |
| static range_unit_t | string_to_unit (LPCWSTR str) |
| static int | string_to_nscmptype (LPCWSTR str) |
| static PRUint16 | get_node_type (nsIDOMNode *node) |
| static BOOL | is_elem_tag (nsIDOMNode *node, LPCWSTR istag) |
| static BOOL | is_space_elem (nsIDOMNode *node) |
| static BOOL | wstrbuf_init (wstrbuf_t *buf) |
| static void | wstrbuf_finish (wstrbuf_t *buf) |
| static void | wstrbuf_append_len (wstrbuf_t *buf, LPCWSTR str, int len) |
| static void | wstrbuf_append_nodetxt (wstrbuf_t *buf, LPCWSTR str, int len) |
| static void | wstrbuf_append_node (wstrbuf_t *buf, nsIDOMNode *node) |
| static void | wstrbuf_append_node_rec (wstrbuf_t *buf, nsIDOMNode *node) |
| static BOOL | fill_nodestr (dompos_t *pos) |
| static nsIDOMNode * | next_node (nsIDOMNode *iter) |
| static nsIDOMNode * | prev_node (HTMLTxtRange *This, nsIDOMNode *iter) |
| static nsIDOMNode * | get_child_node (nsIDOMNode *node, PRUint32 off) |
| static void | get_cur_pos (HTMLTxtRange *This, BOOL start, dompos_t *pos) |
| static void | set_range_pos (HTMLTxtRange *This, BOOL start, dompos_t *pos) |
| static void | dompos_release (dompos_t *pos) |
| static void | dompos_addref (dompos_t *pos) |
| static BOOL | dompos_cmp (const dompos_t *pos1, const dompos_t *pos2) |
| static void | range_to_string (HTMLTxtRange *This, wstrbuf_t *buf) |
| HRESULT | get_node_text (HTMLDOMNode *node, BSTR *ret) |
| static WCHAR | get_pos_char (const dompos_t *pos) |
| static void | end_space (const dompos_t *pos, dompos_t *new_pos) |
| static WCHAR | next_char (const dompos_t *pos, dompos_t *new_pos) |
| static WCHAR | prev_char (HTMLTxtRange *This, const dompos_t *pos, dompos_t *new_pos) |
| static LONG | move_next_chars (LONG cnt, const dompos_t *pos, BOOL col, const dompos_t *bound_pos, BOOL *bounded, dompos_t *new_pos) |
| static LONG | move_prev_chars (HTMLTxtRange *This, LONG cnt, const dompos_t *pos, BOOL end, const dompos_t *bound_pos, BOOL *bounded, dompos_t *new_pos) |
| static LONG | find_prev_space (HTMLTxtRange *This, const dompos_t *pos, BOOL first_space, dompos_t *ret) |
| static int | find_word_end (const dompos_t *pos, dompos_t *ret) |
| static LONG | move_next_words (LONG cnt, const dompos_t *pos, dompos_t *new_pos) |
| static LONG | move_prev_words (HTMLTxtRange *This, LONG cnt, const dompos_t *pos, dompos_t *new_pos) |
| static HRESULT WINAPI | HTMLTxtRange_QueryInterface (IHTMLTxtRange *iface, REFIID riid, void **ppv) |
| static ULONG WINAPI | HTMLTxtRange_AddRef (IHTMLTxtRange *iface) |
| static ULONG WINAPI | HTMLTxtRange_Release (IHTMLTxtRange *iface) |
| static HRESULT WINAPI | HTMLTxtRange_GetTypeInfoCount (IHTMLTxtRange *iface, UINT *pctinfo) |
| static HRESULT WINAPI | HTMLTxtRange_GetTypeInfo (IHTMLTxtRange *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo) |
| static HRESULT WINAPI | HTMLTxtRange_GetIDsOfNames (IHTMLTxtRange *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId) |
| static HRESULT WINAPI | HTMLTxtRange_Invoke (IHTMLTxtRange *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr) |
| static HRESULT WINAPI | HTMLTxtRange_get_htmlText (IHTMLTxtRange *iface, BSTR *p) |
| static HRESULT WINAPI | HTMLTxtRange_put_text (IHTMLTxtRange *iface, BSTR v) |
| static HRESULT WINAPI | HTMLTxtRange_get_text (IHTMLTxtRange *iface, BSTR *p) |
| static HRESULT WINAPI | HTMLTxtRange_parentElement (IHTMLTxtRange *iface, IHTMLElement **parent) |
| static HRESULT WINAPI | HTMLTxtRange_duplicate (IHTMLTxtRange *iface, IHTMLTxtRange **Duplicate) |
| static HRESULT WINAPI | HTMLTxtRange_inRange (IHTMLTxtRange *iface, IHTMLTxtRange *Range, VARIANT_BOOL *InRange) |
| static HRESULT WINAPI | HTMLTxtRange_isEqual (IHTMLTxtRange *iface, IHTMLTxtRange *Range, VARIANT_BOOL *IsEqual) |
| static HRESULT WINAPI | HTMLTxtRange_scrollIntoView (IHTMLTxtRange *iface, VARIANT_BOOL fStart) |
| static HRESULT WINAPI | HTMLTxtRange_collapse (IHTMLTxtRange *iface, VARIANT_BOOL Start) |
| static HRESULT WINAPI | HTMLTxtRange_expand (IHTMLTxtRange *iface, BSTR Unit, VARIANT_BOOL *Success) |
| static HRESULT WINAPI | HTMLTxtRange_move (IHTMLTxtRange *iface, BSTR Unit, LONG Count, LONG *ActualCount) |
| static HRESULT WINAPI | HTMLTxtRange_moveStart (IHTMLTxtRange *iface, BSTR Unit, LONG Count, LONG *ActualCount) |
| static HRESULT WINAPI | HTMLTxtRange_moveEnd (IHTMLTxtRange *iface, BSTR Unit, LONG Count, LONG *ActualCount) |
| static HRESULT WINAPI | HTMLTxtRange_select (IHTMLTxtRange *iface) |
| static HRESULT WINAPI | HTMLTxtRange_pasteHTML (IHTMLTxtRange *iface, BSTR html) |
| static HRESULT WINAPI | HTMLTxtRange_moveToElementText (IHTMLTxtRange *iface, IHTMLElement *element) |
| static HRESULT WINAPI | HTMLTxtRange_setEndPoint (IHTMLTxtRange *iface, BSTR how, IHTMLTxtRange *SourceRange) |
| static HRESULT WINAPI | HTMLTxtRange_compareEndPoints (IHTMLTxtRange *iface, BSTR how, IHTMLTxtRange *SourceRange, LONG *ret) |
| static HRESULT WINAPI | HTMLTxtRange_findText (IHTMLTxtRange *iface, BSTR String, LONG count, LONG Flags, VARIANT_BOOL *Success) |
| static HRESULT WINAPI | HTMLTxtRange_moveToPoint (IHTMLTxtRange *iface, LONG x, LONG y) |
| static HRESULT WINAPI | HTMLTxtRange_getBookmark (IHTMLTxtRange *iface, BSTR *Bookmark) |
| static HRESULT WINAPI | HTMLTxtRange_moveToBookmark (IHTMLTxtRange *iface, BSTR Bookmark, VARIANT_BOOL *Success) |
| static HRESULT WINAPI | HTMLTxtRange_queryCommandSupported (IHTMLTxtRange *iface, BSTR cmdID, VARIANT_BOOL *pfRet) |
| static HRESULT WINAPI | HTMLTxtRange_queryCommandEnabled (IHTMLTxtRange *iface, BSTR cmdID, VARIANT_BOOL *pfRet) |
| static HRESULT WINAPI | HTMLTxtRange_queryCommandState (IHTMLTxtRange *iface, BSTR cmdID, VARIANT_BOOL *pfRet) |
| static HRESULT WINAPI | HTMLTxtRange_queryCommandIndeterm (IHTMLTxtRange *iface, BSTR cmdID, VARIANT_BOOL *pfRet) |
| static HRESULT WINAPI | HTMLTxtRange_queryCommandText (IHTMLTxtRange *iface, BSTR cmdID, BSTR *pcmdText) |
| static HRESULT WINAPI | HTMLTxtRange_queryCommandValue (IHTMLTxtRange *iface, BSTR cmdID, VARIANT *pcmdValue) |
| static HRESULT WINAPI | HTMLTxtRange_execCommand (IHTMLTxtRange *iface, BSTR cmdID, VARIANT_BOOL showUI, VARIANT value, VARIANT_BOOL *pfRet) |
| static HRESULT WINAPI | HTMLTxtRange_execCommandShowHelp (IHTMLTxtRange *iface, BSTR cmdID, VARIANT_BOOL *pfRet) |
| static HRESULT WINAPI | RangeCommandTarget_QueryInterface (IOleCommandTarget *iface, REFIID riid, void **ppv) |
| static ULONG WINAPI | RangeCommandTarget_AddRef (IOleCommandTarget *iface) |
| static ULONG WINAPI | RangeCommandTarget_Release (IOleCommandTarget *iface) |
| static HRESULT WINAPI | RangeCommandTarget_QueryStatus (IOleCommandTarget *iface, const GUID *pguidCmdGroup, ULONG cCmds, OLECMD prgCmds[], OLECMDTEXT *pCmdText) |
| static HRESULT | exec_indent (HTMLTxtRange *This, VARIANT *in, VARIANT *out) |
| static HRESULT WINAPI | RangeCommandTarget_Exec (IOleCommandTarget *iface, const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut) |
| HRESULT | HTMLTxtRange_Create (HTMLDocumentNode *doc, nsIDOMRange *nsrange, IHTMLTxtRange **p) |
| void | detach_ranges (HTMLDocumentNode *This) |
Variables |
| static const WCHAR | brW [] = {'b','r',0} |
| static const WCHAR | hrW [] = {'h','r',0} |
| static const IHTMLTxtRangeVtbl | HTMLTxtRangeVtbl |
| static const IOleCommandTargetVtbl | OleCommandTargetVtbl |