24#define NONAMELESSUNION
44DEFINE_GUID(LIBID_tom, 0x8cc497c9, 0xa1df, 0x11ce, 0x80, 0x98, 0x00, 0xaa, 0x00, 0x47, 0xbe, 0x5d);
45DEFINE_GUID(IID_ITextServices, 0x8d33f740, 0xcf58, 0x11ce, 0xa8, 0x9d, 0x00, 0xaa, 0x00, 0x6c, 0xad, 0xc5);
46DEFINE_GUID(IID_ITextHost, 0x13e670f4,0x1a5a,0x11cf,0xab,0xeb,0x00,0xaa,0x00,0xb6,0x5e,0xa1);
47DEFINE_GUID(IID_ITextHost2, 0x13e670f5,0x1a5a,0x11cf,0xab,0xeb,0x00,0xaa,0x00,0xb6,0x5e,0xa1);
48DEFINE_GUID(IID_ITextDocument, 0x8cc497c0, 0xa1df, 0x11ce, 0x80, 0x98, 0x00, 0xaa, 0x00, 0x47, 0xbe, 0x5d);
49DEFINE_GUID(IID_ITextDocument2Old, 0x01c25500, 0x4268, 0x11d1, 0x88, 0x3a, 0x3c, 0x8b, 0x00, 0xc1, 0x00, 0x00);
50DEFINE_GUID(IID_ITextRange, 0x8cc497c2, 0xa1df, 0x11ce, 0x80, 0x98, 0x00, 0xaa, 0x00, 0x47, 0xbe, 0x5d);
51DEFINE_GUID(IID_ITextSelection, 0x8cc497c1, 0xa1df, 0x11ce, 0x80, 0x98, 0x00, 0xaa, 0x00, 0x47, 0xbe, 0x5d);
52DEFINE_GUID(IID_ITextFont, 0x8cc497c3, 0xa1df, 0x11ce, 0x80, 0x98, 0x00, 0xaa, 0x00, 0x47, 0xbe, 0x5d);
53DEFINE_GUID(IID_ITextPara, 0x8cc497c4, 0xa1df, 0x11ce, 0x80, 0x98, 0x00, 0xaa, 0x00, 0x47, 0xbe, 0x5d);
85 ERR(
"LoadRegTypeLib failed: %08x\n",
hr);
129 ITypeInfo_Release(ti);
137DEFINE_GUID(IID_Igetrichole, 0xe3ce5c7a, 0x8247, 0x4622, 0x81, 0xad, 0x11, 0x81, 0x02, 0xaa, 0x01, 0x30);
343 FIXME(
"unknown update op, %d\n",
op);
381 FIXME(
"unhandled font property %d\n", propid);
421 FIXME(
"unhandled font property %d\n", propid);
429 return value * 72.0 / 1440;
434 return value * 1440 / 72.0;
504 FIXME(
"unhandled font property %d\n", propid);
514 ITextRange_QueryInterface(
range, &IID_Igetrichole, (
void**)&
reole);
526#define CHARFORMAT_SET_B_FIELD(mask, value) \
527 if (hr == S_OK && value != tomUndefined) { \
528 fmt.dwMask |= CFM_##mask; \
529 if (value == tomTrue) fmt.dwEffects |= CFE_##mask; \
592#undef CHARFORMAT_SET_B_FIELD
622 hr = ITextFont_GetKerning(
font, &
f);
641 hr = ITextFont_GetPosition(
font, &
f);
647 hr = ITextFont_GetSize(
font, &
f);
653 hr = ITextFont_GetSpacing(
font, &
f);
687 if (!
font->range ||
font->get_cache_enabled) {
697 ITextRange_GetStart(
font->range, &
start);
698 ITextRange_GetEnd(
font->range, &
end);
755 if (!
font->range ||
font->set_cache_enabled) {
824 FIXME(
"unhandled font property %d\n", propid);
828 ITextRange_GetStart(
font->range, &
start);
829 ITextRange_GetEnd(
font->range, &
end);
909 LONG expand_start, expand_end;
915 ITextRange_GetStoryLength(
range, &expand_end);
918 FIXME(
"unit %d is not supported\n",
unit);
927 *delta = expand_end - expand_start - (
end -
start);
930 ITextRange_SetStart(
range, expand_start);
931 ITextRange_SetEnd(
range, expand_end);
944 *ppvObj = &
This->IUnknown_inner;
946 *ppvObj = &
This->IRichEditOle_iface;
948 *ppvObj = &
This->ITextDocument2Old_iface;
951 IUnknown_AddRef((
IUnknown *)*ppvObj);
958 if (!once++)
FIXME(
"%p: unhandled interface IID_ITextServices\n",
This);
992 ITextSelection_Release(&
This->txtSel->ITextSelection_iface);
1017 return IUnknown_QueryInterface(
This->outer_unk,
riid, ppvObj);
1024 return IUnknown_AddRef(
This->outer_unk);
1031 return IUnknown_Release(
This->outer_unk);
1076 *ppvObj = &
This->IOleInPlaceSite_iface;
1079 IOleClientSite_AddRef(me);
1103 if (
This->child.reole) {
1115 if (!
This->child.reole)
1118 FIXME(
"stub %p\n", iface);
1126 if (!
This->child.reole)
1129 FIXME(
"stub %p\n", iface);
1137 if (!
This->child.reole)
1140 FIXME(
"stub %p\n", iface);
1147 if (!
This->child.reole)
1150 FIXME(
"stub %p\n", iface);
1157 if (!
This->child.reole)
1160 FIXME(
"stub %p\n", iface);
1167 if (!
This->child.reole)
1170 FIXME(
"stub %p\n", iface);
1174static const IOleClientSiteVtbl
ocst = {
1190 return IOleClientSite_QueryInterface(&
This->IOleClientSite_iface,
riid, ppvObj);
1196 return IOleClientSite_AddRef(&
This->IOleClientSite_iface);
1202 return IOleClientSite_Release(&
This->IOleClientSite_iface);
1211 if (!
This->child.reole)
1217 *phwnd =
This->child.reole->editor->hWnd;
1224 FIXME(
"not implemented: (%p)->(%d)\n",
This, fEnterMode);
1251 LPRECT lprcClipRect, LPOLEINPLACEFRAMEINFO lpFrameInfo)
1254 FIXME(
"not implemented: (%p)->(%p %p %p %p %p)\n",
This, ppFrame, ppDoc, lprcPosRect, lprcClipRect, lpFrameInfo);
1268 FIXME(
"not implemented: (%p)->(%d)\n",
This, fUndoable);
1296 FIXME(
"not implemented: (%p)->(%p)\n",
This, lprcPosRect);
1328 clientSite->
ref = 1;
1329 clientSite->
child.reole = reOle;
1341 TRACE(
"(%p)->(%p)\n",
This, clientsite);
1357 TRACE(
"(%p,%p,%d)\n",
This, lpchrg, reco);
1362 start =
This->editor->pCursors[nStartCur];
1363 nChars = nTo - nFrom;
1388 if (!lpreobject || !lpreobject->
cbStruct)
1391 if (iob == REO_IOB_USE_CP)
1395 TRACE(
"character offset: %d\n", lpreobject->
cp);
1397 if (!
cursor.pRun->member.run.reobj)
1400 reobj =
cursor.pRun->member.run.reobj;
1402 else if (iob == REO_IOB_SELECTION)
1407 if (!
from->pRun->member.run.reobj)
1410 reobj =
from->pRun->member.run.reobj;
1414 if (iob > IRichEditOle_GetObjectCount(me))
1498 FIXME(
"stub %p %s %s\n",
This, lpstrContainerApp, lpstrContainerObj);
1510static const IRichEditOleVtbl
revt = {
1543 ITextRange_AddRef(me);
1548 *ppvObj =
This->child.reole;
1569 if (
This->child.reole)
1593 TRACE(
"(%p)->(%u,%d,%p)\n",
This, iTInfo, lcid, ppTInfo);
1597 ITypeInfo_AddRef(*ppTInfo);
1608 TRACE(
"(%p)->(%s, %p, %u, %d, %p)\n",
This,
debugstr_guid(
riid), rgszNames, cNames, lcid,
1613 hr = ITypeInfo_GetIDsOfNames(ti, rgszNames, cNames, rgDispId);
1619 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
1626 TRACE(
"(%p)->(%d, %s, %d, %u, %p, %p, %p, %p)\n",
This, dispIdMember,
debugstr_guid(
riid),
1627 lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
1631 hr = ITypeInfo_Invoke(ti, me, dispIdMember,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
1645 if (!
This->child.reole)
1657 editor =
This->child.reole->editor;
1681 if (!
This->child.reole)
1684 editor =
This->child.reole->editor;
1707 if (len < This->
end -
This->start)
1733 if (!
This->child.reole)
1739 editor =
This->child.reole->editor;
1750 if (!
This->child.reole)
1764 if (!
This->child.reole)
1779 if (!
This->child.reole)
1791 if (!
This->child.reole)
1803 if (!
This->child.reole)
1839 if (!
This->child.reole)
1851 if (!
This->child.reole)
1884 if (!
This->child.reole)
1896 if (!
This->child.reole)
1914 if (!
This->child.reole)
1927 if (!
This->child.reole)
1940 FIXME(
"(%p)->(%p): stub\n",
This, para);
1942 if (!
This->child.reole)
1954 if (!
This->child.reole)
1966 if (!
This->child.reole)
1994 if (!
This->child.reole)
2006 if (!
This->child.reole)
2018 if (!
This->child.reole)
2031 if (!
This->child.reole)
2041 *cp1 =
max(*cp1, 0);
2042 *cp2 =
max(*cp2, 0);
2052 *cp1 = *cp2 =
len - 1;
2059 FIXME(
"(%p)->(%d %d): stub\n",
This, anchor, active);
2061 if (!
This->child.reole)
2065 if (anchor ==
This->start && active ==
This->end)
2068 This->start = anchor;
2097 if (!
This->child.reole)
2112 if (!
This->child.reole)
2142 if (!
This->child.reole)
2157 if (!
This->child.reole)
2169 FIXME(
"(%p)->(%d %d %p): stub\n",
This,
unit, extend, delta);
2171 if (!
This->child.reole)
2182 FIXME(
"(%p)->(%d %d %p): stub\n",
This,
unit, extend, delta);
2184 if (!
This->child.reole)
2196 if (!
This->child.reole)
2209 if (!
This->child.reole)
2217 LONG old_start, old_end, new_start, new_end;
2227 ITextRange_GetStart(
range, &old_start);
2228 ITextRange_GetEnd(
range, &old_end);
2233 new_start = new_end = 0;
2236 new_start = old_start;
2237 ITextRange_GetStoryLength(
range, &new_end);
2241 if (new_end < old_end)
2243 else if (new_end == old_end)
2250 FIXME(
"unit %d is not supported\n",
unit);
2253 if (new_end == old_end)
2255 ITextRange_SetStart(
range, new_start);
2256 ITextRange_SetEnd(
range, new_end);
2268 if (!
This->child.reole)
2281 if (!
This->child.reole)
2294 if (!
This->child.reole)
2307 if (!
This->child.reole)
2320 if (!
This->child.reole)
2333 if (!
This->child.reole)
2346 if (!
This->child.reole)
2359 if (!
This->child.reole)
2372 if (!
This->child.reole)
2385 if (!
This->child.reole)
2397 if (!
This->child.reole)
2409 if (!
This->child.reole)
2421 if (!
This->child.reole)
2433 if (!
This->child.reole)
2445 if (!
This->child.reole)
2457 if (!
This->child.reole)
2469 if (!
This->child.reole)
2481 if (!
This->child.reole)
2494 if (!
This->child.reole)
2509 if (!
This->child.reole)
2512 editor =
This->child.reole->editor;
2525 FIXME(
"bStart value %d not handled\n",
value);
2538 if (!
This->child.reole)
2544static const ITextRangeVtbl
trvt = {
2617 ITextFont_AddRef(iface);
2643 ITextRange_Release(
This->range);
2665 TRACE(
"(%p)->(%u,%d,%p)\n",
This, iTInfo, lcid, ppTInfo);
2669 ITypeInfo_AddRef(*ppTInfo);
2681 rgszNames, cNames, lcid, rgDispId);
2685 hr = ITypeInfo_GetIDsOfNames(ti, rgszNames, cNames, rgDispId);
2695 DISPPARAMS *pDispParams,
2697 EXCEPINFO *pExcepInfo,
2704 TRACE(
"(%p)->(%d, %s, %d, %u, %p, %p, %p, %p)\n",
This, dispIdMember,
debugstr_guid(
riid),
2705 lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
2709 hr = ITypeInfo_Invoke(ti, iface, dispIdMember,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
2732 FIXME(
"(%p)->(%p): stub\n",
This, pFont);
2788 static const WCHAR sysW[] = {
'S',
'y',
's',
't',
'e',
'm',0};
2797 FIXME(
"font property %d not handled\n",
id);
2839 FIXME(
"font property %d not handled\n",
id);
2885 FIXME(
"reset mode %d not supported\n",
value);
2912 FIXME(
"reset mode %d not supported\n",
value);
3377 ITextRange_AddRef(
range);
3385 *
ret = &
font->ITextFont_iface;
3401 ITextPara_AddRef(iface);
3426 ITextRange_Release(
This->range);
3438 return rng->
child.reole;
3457 TRACE(
"(%p)->(%u,%d,%p)\n",
This, iTInfo, lcid, ppTInfo);
3461 ITypeInfo_AddRef(*ppTInfo);
3473 cNames, lcid, rgDispId);
3477 hr = ITypeInfo_GetIDsOfNames(ti, rgszNames, cNames, rgDispId);
3487 DISPPARAMS *pDispParams,
3489 EXCEPINFO *pExcepInfo,
3496 TRACE(
"(%p)->(%d, %s, %d, %u, %p, %p, %p, %p)\n",
This, dispIdMember,
3498 pExcepInfo, puArgErr);
3502 hr = ITypeInfo_Invoke(ti, iface, dispIdMember,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
3896 FIXME(
"(%p)->(%.2f %.2f %.2f)\n",
This, StartIndent, LeftIndent, RightIndent);
3907 FIXME(
"(%p)->(%d %.2f)\n",
This, LineSpacingRule, LineSpacing);
3995 FIXME(
"(%p)->(%.2f %d %d)\n",
This, tbPos, tbAlign, tbLeader);
4028 FIXME(
"(%p)->(%d %p %p %p)\n",
This, iTab, ptbPos, ptbAlign, ptbLeader);
4106 ITextRange_AddRef(
range);
4123 return IRichEditOle_AddRef(&
This->IRichEditOle_iface);
4129 return IRichEditOle_Release(&
This->IRichEditOle_iface);
4147 TRACE(
"(%p)->(%u,%d,%p)\n",
This, iTInfo, lcid, ppTInfo);
4151 ITypeInfo_AddRef(*ppTInfo);
4164 rgszNames, cNames, lcid, rgDispId);
4168 hr = ITypeInfo_GetIDsOfNames(ti, rgszNames, cNames, rgDispId);
4174 DISPPARAMS *pDispParams,
VARIANT *pVarResult,
4175 EXCEPINFO *pExcepInfo,
UINT *puArgErr)
4181 TRACE(
"(%p)->(%d, %s, %d, %u, %p, %p, %p, %p)\n",
This, dispIdMember,
4183 pExcepInfo, puArgErr);
4187 hr = ITypeInfo_Invoke(ti, iface, dispIdMember,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
4207 if (!
This->txtSel) {
4209 if (!
This->txtSel) {
4336 txtRge->
child.reole = reOle;
4349 TRACE(
"%p %p %d %d\n",
This, ppRange, cp1, cp2);
4435 FIXME(
"(%p)->(%d, %d, %d, %d, %d, %p, %p, %p): stub\n",
This,
cp, charrep,
options, current_charrep,
4436 current_fontsize, bstr, pitch_family, new_fontsize);
4464 FIXME(
"(%p)->(%d, %p, %p, %p, %p): stub\n",
This,
type,
left,
top,
right,
bottom);
4550static const ITextDocument2OldVtbl
tdvt = {
4615 ITextSelection_AddRef(me);
4620 *ppvObj =
This->reOle;
4656 TRACE(
"(%p)->(%u,%d,%p)\n",
This, iTInfo, lcid, ppTInfo);
4660 ITypeInfo_AddRef(*ppTInfo);
4671 TRACE(
"(%p)->(%s, %p, %u, %d, %p)\n",
This,
debugstr_guid(
riid), rgszNames, cNames, lcid,
4676 hr = ITypeInfo_GetIDsOfNames(ti, rgszNames, cNames, rgDispId);
4686 DISPPARAMS *pDispParams,
4688 EXCEPINFO *pExcepInfo,
4695 TRACE(
"(%p)->(%d, %s, %d, %u, %p, %p, %p, %p)\n",
This, dispIdMember,
debugstr_guid(
riid), lcid,
4696 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
4700 hr = ITypeInfo_Invoke(ti, me, dispIdMember,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
4751 editor =
This->reOle->editor;
4804 ITextSelection_GetStart(me, &
start);
4805 ITextSelection_GetEnd(me, &
end);
4830 FIXME(
"not implemented\n");
4918 ITextSelection_QueryInterface(me, &IID_ITextRange, (
void**)&
range);
4920 ITextRange_Release(
range);
4937 ITextSelection_QueryInterface(me, &IID_ITextRange, (
void**)&
range);
4939 ITextRange_Release(
range);
4957 ITextSelection_QueryInterface(me, &IID_ITextRange, (
void**)&
range);
4959 ITextRange_Release(
range);
4967 FIXME(
"(%p)->(%p): stub\n",
This, para);
4972 FIXME(
"not implemented\n");
5033 ITextSelection_QueryInterface(me, &IID_ITextRange, (
void**)&
range);
5035 ITextRange_Release(
range);
5068 FIXME(
"(%p)->(%d %d): stub\n",
This, anchor, active);
5093 ITextRange_QueryInterface(
range, &IID_ITextSelection, (
void**)&
selection);
5098 ITextSelection_GetStart(me, &
start);
5099 ITextSelection_GetEnd(me, &
end);
5132 ITextRange_QueryInterface(
range, &IID_ITextSelection, (
void**)&
selection);
5137 ITextSelection_GetStart(me, &
start);
5138 ITextSelection_GetEnd(me, &
end);
5160 FIXME(
"(%p)->(%d %d %p): stub\n",
This,
unit, extend, delta);
5173 FIXME(
"(%p)->(%d %d %p): stub\n",
This,
unit, extend, delta);
5218 ITextSelection_QueryInterface(me, &IID_ITextRange, (
void**)&
range);
5220 ITextRange_Release(
range);
5312 FIXME(
"not implemented\n");
5571 FIXME(
"(%p)->(%d %d %p): stub\n",
This,
unit, extend, delta);
5584 FIXME(
"(%p)->(%d %d %p): stub\n",
This,
unit, extend, delta);
5604static const ITextSelectionVtbl
tsvt = {
5684 txtSel->
reOle = reOle;
5703 TRACE(
"Created %p\n",reo);
5738 if (run->
reobj->obj.sizel.cx != 0 || run->
reobj->obj.sizel.cy != 0)
5741 if (
c->editor->nZoomNumerator != 0)
5743 pSize->
cx =
MulDiv(pSize->
cx,
c->editor->nZoomNumerator,
c->editor->nZoomDenominator);
5744 pSize->
cy =
MulDiv(pSize->
cy,
c->editor->nZoomNumerator,
c->editor->nZoomDenominator);
5749 if (!run->
reobj->obj.poleobj)
5751 pSize->
cx = pSize->
cy = 0;
5757 FIXME(
"Query Interface IID_IDataObject failed!\n");
5758 pSize->
cx = pSize->
cy = 0;
5763 fmt.dwAspect = DVASPECT_CONTENT;
5765 fmt.tymed = TYMED_GDI;
5766 if (IDataObject_GetData(ido, &
fmt, &stgm) !=
S_OK)
5769 fmt.tymed = TYMED_ENHMF;
5770 if (IDataObject_GetData(ido, &
fmt, &stgm) !=
S_OK)
5772 FIXME(
"unsupported format\n");
5773 pSize->
cx = pSize->
cy = 0;
5774 IDataObject_Release(ido);
5778 IDataObject_Release(ido);
5783 GetObjectW(stgm.u.hBitmap,
sizeof(dibsect), &dibsect);
5793 FIXME(
"Unsupported tymed %d\n", stgm.tymed);
5797 if (
c->editor->nZoomNumerator != 0)
5799 pSize->
cx =
MulDiv(pSize->
cx,
c->editor->nZoomNumerator,
c->editor->nZoomDenominator);
5800 pSize->
cy =
MulDiv(pSize->
cy,
c->editor->nZoomNumerator,
c->editor->nZoomDenominator);
5821 FIXME(
"Couldn't get interface\n");
5824 has_size = run->
reobj->obj.sizel.cx != 0 || run->
reobj->obj.sizel.cy != 0;
5827 fmt.dwAspect = DVASPECT_CONTENT;
5829 fmt.tymed = TYMED_GDI;
5830 if (IDataObject_GetData(ido, &
fmt, &stgm) !=
S_OK)
5833 fmt.tymed = TYMED_ENHMF;
5834 if (IDataObject_GetData(ido, &
fmt, &stgm) !=
S_OK)
5836 FIXME(
"Couldn't get storage medium\n");
5837 IDataObject_Release(ido);
5841 IDataObject_Release(ido);
5846 GetObjectW(stgm.u.hBitmap,
sizeof(dibsect), &dibsect);
5856 if (
c->editor->nZoomNumerator != 0)
5858 sz.
cx =
MulDiv(sz.
cx,
c->editor->nZoomNumerator,
c->editor->nZoomDenominator);
5859 sz.
cy =
MulDiv(sz.
cy,
c->editor->nZoomNumerator,
c->editor->nZoomDenominator);
5876 if (
c->editor->nZoomNumerator != 0)
5878 sz.
cx =
MulDiv(sz.
cx,
c->editor->nZoomNumerator,
c->editor->nZoomDenominator);
5879 sz.
cy =
MulDiv(sz.
cy,
c->editor->nZoomNumerator,
c->editor->nZoomDenominator);
5889 FIXME(
"Unsupported tymed %d\n", stgm.tymed);
5895 if (
selected && !
c->editor->bHideSelection)
5914 if ((
flags & REO_GETOBJ_POLEOBJ) &&
src->poleobj)
5916 dst->poleobj =
src->poleobj;
5917 IOleObject_AddRef(
dst->poleobj);
5919 if ((
flags & REO_GETOBJ_PSTG) &&
src->pstg)
5922 IStorage_AddRef(
dst->pstg);
5924 if ((
flags & REO_GETOBJ_POLESITE) &&
src->polesite)
5926 dst->polesite =
src->polesite;
5927 IOleClientSite_AddRef(
dst->polesite);
small capitals from c petite p scientific f SUBSCRIPT
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static void list_remove(struct list_entry *entry)
static void list_add_head(struct list_entry *head, struct list_entry *entry)
static void list_init(struct list_entry *head)
#define STDMETHODCALLTYPE
static char selected[MAX_PATH+1]
void WINAPI ReleaseStgMedium(STGMEDIUM *pmedium)
HRESULT WINAPI LoadRegTypeLib(REFGUID rguid, WORD wVerMajor, WORD wVerMinor, LCID lcid, ITypeLib **ppTLib)
int ME_GetCursorOfs(const ME_Cursor *cursor)
void ME_InsertTextFromCursor(ME_TextEditor *editor, int nCursor, const WCHAR *str, int len, ME_Style *style)
int ME_MoveCursorChars(ME_TextEditor *editor, ME_Cursor *cursor, int nRelOfs, BOOL final_eop)
void ME_InsertOLEFromCursor(ME_TextEditor *editor, const REOBJECT *reo, int nCursor)
int ME_GetSelection(ME_TextEditor *editor, ME_Cursor **from, ME_Cursor **to)
BOOL ME_InternalDeleteText(ME_TextEditor *editor, ME_Cursor *start, int nChars, BOOL bForce)
int ME_GetSelectionOfs(ME_TextEditor *editor, int *from, int *to)
int ME_GetTextLength(ME_TextEditor *editor)
void ME_GetCursorCoordinates(ME_TextEditor *editor, ME_Cursor *pCursor, int *x, int *y, int *height)
HRESULT ME_GetDataObject(ME_TextEditor *editor, const ME_Cursor *start, int nChars, IDataObject **dataobj)
void ME_ReplaceSel(ME_TextEditor *editor, BOOL can_undo, const WCHAR *str, int len)
int ME_GetTextW(ME_TextEditor *editor, WCHAR *buffer, int buflen, const ME_Cursor *start, int srcChars, BOOL bCRLF, BOOL bEOP)
static HRESULT WINAPI ITextRange_fnMoveStartUntil(ITextRange *me, VARIANT *charset, LONG count, LONG *delta)
static ITextParaVtbl textparavtbl
static HRESULT WINAPI ITextSelection_fnGetEnd(ITextSelection *me, LONG *pcpLim)
static HRESULT WINAPI IOleClientSite_fnGetContainer(IOleClientSite *iface, IOleContainer **ppContainer)
static HRESULT WINAPI TextPara_SetRightIndent(ITextPara *iface, FLOAT value)
static HRESULT textrange_get_storylength(ME_TextEditor *editor, LONG *length)
static HRESULT WINAPI ITextRange_fnMoveWhile(ITextRange *me, VARIANT *charset, LONG count, LONG *delta)
static HRESULT STDMETHODCALLTYPE IOleInPlaceSite_fnContextSensitiveHelp(IOleInPlaceSite *iface, BOOL fEnterMode)
static HRESULT WINAPI ITextSelection_fnGetFlags(ITextSelection *me, LONG *flags)
static HRESULT WINAPI TextPara_GetLineSpacingRule(ITextPara *iface, LONG *value)
static HRESULT WINAPI ITextSelection_fnMoveStart(ITextSelection *me, LONG unit, LONG count, LONG *delta)
static HRESULT WINAPI ITextRange_fnCollapse(ITextRange *me, LONG bStart)
static HRESULT WINAPI ITextSelection_fnStartOf(ITextSelection *me, LONG unit, LONG extend, LONG *delta)
static HRESULT WINAPI ITextRange_fnGetStoryLength(ITextRange *me, LONG *length)
static HRESULT WINAPI TextFont_GetIDsOfNames(ITextFont *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI ITextDocument2Old_fnGetFEFlags(ITextDocument2Old *iface, LONG *flags)
static HRESULT WINAPI ITextSelection_fnMoveDown(ITextSelection *me, LONG unit, LONG count, LONG extend, LONG *delta)
static HRESULT WINAPI ITextSelection_fnDelete(ITextSelection *me, LONG unit, LONG count, LONG *delta)
static HRESULT WINAPI ITextRange_fnGetEmbeddedObject(ITextRange *me, IUnknown **ppv)
static HRESULT WINAPI ITextRange_fnScrollIntoView(ITextRange *me, LONG value)
static HRESULT WINAPI ITextDocument2Old_fnReleaseImmContext(ITextDocument2Old *iface, LONG context)
static HRESULT WINAPI ITextRange_fnMove(ITextRange *me, LONG unit, LONG count, LONG *delta)
static HRESULT WINAPI IRichEditOle_fnQueryInterface(IRichEditOle *me, REFIID riid, LPVOID *ppvObj)
static HRESULT WINAPI TextPara_SetWidowControl(ITextPara *iface, LONG value)
static IRichEditOleImpl * impl_from_IUnknown(IUnknown *iface)
static HRESULT WINAPI ITextRange_fnSetChar(ITextRange *me, LONG ch)
static HRESULT WINAPI ITextSelection_fnSelect(ITextSelection *me)
static HRESULT WINAPI IRichEditOle_fnGetClientSite(IRichEditOle *me, IOleClientSite **clientsite)
static HRESULT CreateITextRange(IRichEditOleImpl *reOle, LONG start, LONG end, ITextRange **ppRange)
static HRESULT WINAPI TextFont_GetDuplicate(ITextFont *iface, ITextFont **ret)
static HRESULT WINAPI TextFont_GetSubscript(ITextFont *iface, LONG *value)
static HRESULT WINAPI ITextSelection_fnGetPara(ITextSelection *me, ITextPara **para)
static HRESULT WINAPI ITextRange_fnInStory(ITextRange *me, ITextRange *pRange, LONG *ret)
static HRESULT WINAPI TextFont_SetBold(ITextFont *iface, LONG value)
static HRESULT STDMETHODCALLTYPE IOleInPlaceSite_fnOnUIActivate(IOleInPlaceSite *iface)
static HRESULT get_textfont_prop(const ITextFontImpl *font, enum textfont_prop_id propid, textfont_prop_val *value)
static HRESULT WINAPI TextFont_SetSuperscript(ITextFont *iface, LONG value)
static HRESULT WINAPI TextPara_GetTypeInfo(ITextPara *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI TextPara_GetLeftIndent(ITextPara *iface, FLOAT *value)
static const ITextRangeVtbl trvt
static ITextFontVtbl textfontvtbl
static HRESULT WINAPI TextFont_SetShadow(ITextFont *iface, LONG value)
static HRESULT WINAPI ITextSelection_fnInRange(ITextSelection *me, ITextRange *range, LONG *ret)
static HRESULT WINAPI ITextSelection_fnChangeCase(ITextSelection *me, LONG type)
static HRESULT WINAPI ITextSelection_fnFindTextEnd(ITextSelection *me, BSTR text, LONG count, LONG flags, LONG *length)
static HRESULT WINAPI TextPara_SetListLevelIndex(ITextPara *iface, LONG value)
static HRESULT WINAPI TextPara_GetTabCount(ITextPara *iface, LONG *value)
static HRESULT WINAPI ITextSelection_fnEndOf(ITextSelection *me, LONG unit, LONG extend, LONG *delta)
static HRESULT WINAPI ITextRange_fnGetPara(ITextRange *me, ITextPara **para)
static HRESULT WINAPI IRichEditOle_fnGetObject(IRichEditOle *me, LONG iob, REOBJECT *lpreobject, DWORD dwFlags)
static HRESULT WINAPI ITextDocument2Old_fnGetImmContext(ITextDocument2Old *iface, LONG *context)
static const IOleInPlaceSiteVtbl olestvt
static HRESULT WINAPI TextFont_GetAnimation(ITextFont *iface, LONG *value)
static ULONG STDMETHODCALLTYPE IOleInPlaceSite_fnAddRef(IOleInPlaceSite *iface)
static HRESULT WINAPI ITextRange_fnChangeCase(ITextRange *me, LONG type)
static LONG WINAPI IRichEditOle_fnGetObjectCount(IRichEditOle *me)
static const ITextSelectionVtbl tsvt
static HRESULT WINAPI ITextDocument2Old_fnRange(ITextDocument2Old *iface, LONG cp1, LONG cp2, ITextRange **ppRange)
static HRESULT range_Collapse(LONG bStart, LONG *start, LONG *end)
static HRESULT WINAPI TextPara_SetListType(ITextPara *iface, LONG value)
static HRESULT WINAPI TextFont_GetStrikeThrough(ITextFont *iface, LONG *value)
static HRESULT WINAPI ITextDocument2Old_fnGetCaretType(ITextDocument2Old *iface, LONG *type)
static HRESULT WINAPI ITextSelection_fnSetPoint(ITextSelection *me, LONG x, LONG y, LONG type, LONG extend)
static HRESULT WINAPI ITextRange_fnDelete(ITextRange *me, LONG unit, LONG count, LONG *delta)
static HRESULT WINAPI IRichEditOle_fnConvertObject(IRichEditOle *me, LONG iob, REFCLSID rclsidNew, LPCSTR lpstrUserTypeNew)
static HRESULT WINAPI ITextSelection_fnMoveEndWhile(ITextSelection *me, VARIANT *charset, LONG count, LONG *delta)
static HRESULT WINAPI ITextRange_fnGetPoint(ITextRange *me, LONG type, LONG *cx, LONG *cy)
static HRESULT WINAPI ITextSelection_fnSetEnd(ITextSelection *me, LONG value)
static HRESULT WINAPI ITextSelection_fnGetStoryType(ITextSelection *me, LONG *value)
static void textfont_reset_to_default(ITextFontImpl *font)
static HRESULT WINAPI TextPara_GetRightIndent(ITextPara *iface, FLOAT *value)
static HRESULT WINAPI ITextSelection_fnCut(ITextSelection *me, VARIANT *v)
static HRESULT WINAPI TextPara_QueryInterface(ITextPara *iface, REFIID riid, void **ppv)
static HRESULT WINAPI ITextDocument2Old_fnIMEInProgress(ITextDocument2Old *iface, LONG mode)
static HRESULT WINAPI ITextSelection_fnMoveStartWhile(ITextSelection *me, VARIANT *charset, LONG count, LONG *delta)
static HRESULT WINAPI ITextRange_fnMoveStartWhile(ITextRange *me, VARIANT *charset, LONG count, LONG *delta)
static HRESULT WINAPI ITextSelection_fnScrollIntoView(ITextSelection *me, LONG value)
static HRESULT WINAPI ITextRange_fnMoveEnd(ITextRange *me, LONG unit, LONG count, LONG *delta)
static HRESULT WINAPI ITextDocument2Old_fnOpen(ITextDocument2Old *iface, VARIANT *pVar, LONG Flags, LONG CodePage)
static HRESULT WINAPI TextPara_GetPageBreakBefore(ITextPara *iface, LONG *value)
static HRESULT WINAPI ITextSelection_fnGetType(ITextSelection *me, LONG *type)
static const IRichEditOleVtbl revt
static HRESULT WINAPI ITextSelection_fnCollapse(ITextSelection *me, LONG bStart)
static HRESULT WINAPI TextPara_SetListTab(ITextPara *iface, FLOAT value)
static IOleClientSiteImpl * impl_from_IOleInPlaceSite(IOleInPlaceSite *iface)
#define CHARFORMAT_SET_B_FIELD(mask, value)
static const DWORD textfont_prop_masks[][2]
static IRichEditOleImpl * impl_from_ITextDocument2Old(ITextDocument2Old *iface)
static HRESULT WINAPI TextFont_GetLanguageID(ITextFont *iface, LONG *value)
static HRESULT WINAPI IRichEditOle_fnSetDvaspect(IRichEditOle *me, LONG iob, DWORD dvaspect)
static HRESULT WINAPI TextPara_GetListAlignment(ITextPara *iface, LONG *value)
static HRESULT WINAPI TextFont_SetAllCaps(ITextFont *iface, LONG value)
static HRESULT WINAPI TextFont_GetTypeInfo(ITextFont *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI ITextDocument2Old_fnGetClientRect(ITextDocument2Old *iface, LONG type, LONG *left, LONG *top, LONG *right, LONG *bottom)
static HRESULT WINAPI ITextRange_fnMoveEndWhile(ITextRange *me, VARIANT *charset, LONG count, LONG *delta)
static HRESULT WINAPI TextFont_SetSmallCaps(ITextFont *iface, LONG value)
static HRESULT WINAPI ITextDocument2Old_fnSetEffectColor(ITextDocument2Old *iface, LONG index, COLORREF cr)
static HRESULT WINAPI ITextRange_fnFindText(ITextRange *me, BSTR text, LONG count, LONG flags, LONG *length)
static void textrange_set_font(ITextRange *range, ITextFont *font)
static BOOL is_equal_textfont_prop_value(enum textfont_prop_id propid, textfont_prop_val *left, textfont_prop_val *right)
static HRESULT WINAPI ITextSelection_fnMoveEnd(ITextSelection *me, LONG unit, LONG count, LONG *delta)
static HRESULT textrange_inrange(LONG start, LONG end, ITextRange *range, LONG *ret)
static ITypeLib * typelib
static HRESULT WINAPI TextPara_SetDuplicate(ITextPara *iface, ITextPara *para)
static void init_textfont_prop_value(enum textfont_prop_id propid, textfont_prop_val *v)
static void textranges_update_ranges(IRichEditOleImpl *reole, LONG start, LONG end, enum range_update_op op)
static HRESULT WINAPI TextFont_IsEqual(ITextFont *iface, ITextFont *font, LONG *ret)
static HRESULT WINAPI ITextDocument2Old_fnBeginEditCollection(ITextDocument2Old *iface)
static HRESULT WINAPI ITextDocument2Old_fnGetStoryRanges(ITextDocument2Old *iface, ITextStoryRanges **ppStories)
static HRESULT WINAPI IRichEditOle_fnGetClipboardData(IRichEditOle *me, CHARRANGE *lpchrg, DWORD reco, LPDATAOBJECT *lplpdataobj)
static HRESULT WINAPI ITextRange_fnSelect(ITextRange *me)
static HRESULT WINAPI ITextRange_fnIsEqual(ITextRange *me, ITextRange *range, LONG *ret)
static HRESULT WINAPI TextFont_GetName(ITextFont *iface, BSTR *value)
static ULONG WINAPI ITextSelection_fnRelease(ITextSelection *me)
static HRESULT WINAPI ITextRange_fnEndOf(ITextRange *me, LONG unit, LONG extend, LONG *delta)
static HRESULT WINAPI ITextRange_fnGetEnd(ITextRange *me, LONG *end)
static HRESULT WINAPI ITextSelection_fnPaste(ITextSelection *me, VARIANT *v, LONG format)
static HRESULT WINAPI TextFont_GetStyle(ITextFont *iface, LONG *value)
static HRESULT WINAPI TextPara_GetWidowControl(ITextPara *iface, LONG *value)
static ULONG WINAPI TextPara_Release(ITextPara *iface)
static HRESULT WINAPI ITextSelection_fnSetFlags(ITextSelection *me, LONG flags)
static HRESULT WINAPI ITextSelection_fnMoveUp(ITextSelection *me, LONG unit, LONG count, LONG extend, LONG *delta)
static HRESULT WINAPI TextPara_Reset(ITextPara *iface, LONG value)
static HRESULT WINAPI ITextDocument2Old_fnSysBeep(ITextDocument2Old *iface)
static HRESULT set_textfont_propl(ITextFontImpl *font, enum textfont_prop_id propid, LONG value)
static ULONG WINAPI ITextRange_fnRelease(ITextRange *me)
static HRESULT WINAPI ITextSelection_fnGetTypeInfoCount(ITextSelection *me, UINT *pctinfo)
static HRESULT WINAPI ITextRange_fnGetFont(ITextRange *me, ITextFont **font)
void ME_CopyReObject(REOBJECT *dst, const REOBJECT *src, DWORD flags)
static FLOAT twips_to_points(LONG value)
static HRESULT WINAPI TextFont_GetSmallCaps(ITextFont *iface, LONG *value)
static HRESULT WINAPI ITextDocument2Old_fnCheckTextLimit(ITextDocument2Old *iface, LONG cch, LONG *exceed)
static ULONG WINAPI IOleClientSite_fnAddRef(IOleClientSite *iface)
static HRESULT WINAPI TextPara_GetListTab(ITextPara *iface, FLOAT *value)
static HRESULT get_textfont_propl(const ITextFontImpl *font, enum textfont_prop_id propid, LONG *value)
static HRESULT WINAPI ITextSelection_fnCanPaste(ITextSelection *me, VARIANT *v, LONG format, LONG *ret)
static ULONG WINAPI IRichEditOleImpl_inner_fnRelease(IUnknown *iface)
static HRESULT textfont_getname_from_range(ITextRange *range, BSTR *ret)
static ULONG WINAPI IRichEditOle_fnAddRef(IRichEditOle *me)
static ULONG WINAPI ITextDocument2Old_fnAddRef(ITextDocument2Old *iface)
static HRESULT WINAPI ITextDocument2Old_fnUpdate(ITextDocument2Old *iface, LONG mode)
static HRESULT WINAPI TextPara_GetListLevelIndex(ITextPara *iface, LONG *value)
static HRESULT WINAPI TextFont_Invoke(ITextFont *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static ITextSelectionImpl * impl_from_ITextSelection(ITextSelection *iface)
static HRESULT textrange_isequal(LONG start, LONG end, ITextRange *range, LONG *ret)
static HRESULT WINAPI IRichEditOle_fnInsertObject(IRichEditOle *me, REOBJECT *reo)
static HRESULT WINAPI TextFont_Reset(ITextFont *iface, LONG value)
static HRESULT create_textpara(ITextRange *, ITextPara **)
static HRESULT WINAPI ITextDocument2Old_fnGetSelectionEx(ITextDocument2Old *iface, ITextSelection **selection)
static HRESULT STDMETHODCALLTYPE IOleInPlaceSite_fnDeactivateAndUndo(IOleInPlaceSite *iface)
static HRESULT STDMETHODCALLTYPE IOleInPlaceSite_fnGetWindow(IOleInPlaceSite *iface, HWND *phwnd)
static HRESULT get_textfont_propf(const ITextFontImpl *font, enum textfont_prop_id propid, FLOAT *value)
static HRESULT WINAPI ITextSelection_fnSetStart(ITextSelection *me, LONG value)
static HRESULT WINAPI IOleClientSite_fnQueryInterface(IOleClientSite *me, REFIID riid, LPVOID *ppvObj)
static HRESULT WINAPI ITextSelection_fnCanEdit(ITextSelection *me, LONG *ret)
void ME_DrawOLE(ME_Context *c, int x, int y, ME_Run *run, BOOL selected)
static HRESULT WINAPI TextFont_SetLanguageID(ITextFont *iface, LONG value)
static HRESULT WINAPI ITextDocument2Old_fnQueryInterface(ITextDocument2Old *iface, REFIID riid, void **ppvObject)
static HRESULT WINAPI TextPara_GetHyphenation(ITextPara *iface, LONG *value)
static HRESULT WINAPI TextFont_SetUnderline(ITextFont *iface, LONG value)
static HRESULT WINAPI TextFont_SetForeColor(ITextFont *iface, LONG value)
static HRESULT WINAPI TextPara_GetTypeInfoCount(ITextPara *iface, UINT *pctinfo)
static FLOAT points_to_twips(FLOAT value)
void ME_DeleteReObject(struct re_object *reobj)
static HRESULT STDMETHODCALLTYPE IOleInPlaceSite_fnOnUIDeactivate(IOleInPlaceSite *iface, BOOL fUndoable)
static HRESULT WINAPI ITextRange_fnSetStart(ITextRange *me, LONG value)
static HRESULT WINAPI ITextRange_fnCanPaste(ITextRange *me, VARIANT *v, LONG format, LONG *ret)
static HRESULT WINAPI IOleClientSite_fnShowObject(IOleClientSite *iface)
static HRESULT WINAPI TextFont_GetBackColor(ITextFont *iface, LONG *value)
static HRESULT WINAPI ITextDocument2Old_fnNew(ITextDocument2Old *iface)
static HRESULT WINAPI ITextRange_fnInvoke(ITextRange *me, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI TextPara_SetListStart(ITextPara *iface, LONG value)
static HRESULT WINAPI IOleClientSite_fnSaveObject(IOleClientSite *iface)
static HRESULT WINAPI ITextDocument2Old_fnEndEditCollection(ITextDocument2Old *iface)
static void textfont_apply_range_props(ITextFontImpl *font)
static HRESULT WINAPI ITextRange_fnGetStoryType(ITextRange *me, LONG *value)
static HRESULT range_GetChar(ME_TextEditor *editor, ME_Cursor *cursor, LONG *pch)
static HRESULT STDMETHODCALLTYPE IOleInPlaceSite_fnQueryInterface(IOleInPlaceSite *iface, REFIID riid, void **ppvObj)
static HRESULT WINAPI TextPara_GetKeepTogether(ITextPara *iface, LONG *value)
static HRESULT WINAPI TextFont_QueryInterface(ITextFont *iface, REFIID riid, void **ppv)
static HRESULT WINAPI ITextSelection_fnGetChar(ITextSelection *me, LONG *pch)
static HRESULT WINAPI TextFont_SetItalic(ITextFont *iface, LONG value)
static HRESULT WINAPI ITextRange_fnSetText(ITextRange *me, BSTR str)
static HRESULT WINAPI ITextSelection_fnMoveRight(ITextSelection *me, LONG unit, LONG count, LONG extend, LONG *delta)
static HRESULT WINAPI TextPara_SetSpaceBefore(ITextPara *iface, FLOAT value)
static HRESULT WINAPI ITextDocument2Old_fnGetWindow(ITextDocument2Old *iface, LONG *hwnd)
static HRESULT WINAPI TextFont_SetKerning(ITextFont *iface, FLOAT value)
static HRESULT WINAPI ITextDocument2Old_fnUpdateWindow(ITextDocument2Old *iface)
static ULONG STDMETHODCALLTYPE IOleInPlaceSite_fnRelease(IOleInPlaceSite *iface)
static HRESULT WINAPI TextPara_GetSpaceBefore(ITextPara *iface, FLOAT *value)
static HRESULT STDMETHODCALLTYPE IOleInPlaceSite_fnOnInPlaceDeactivate(IOleInPlaceSite *iface)
static HRESULT WINAPI TextFont_SetEmboss(ITextFont *iface, LONG value)
static HRESULT WINAPI ITextDocument2Old_fnRangeFromPoint(ITextDocument2Old *iface, LONG x, LONG y, ITextRange **ppRange)
static HRESULT WINAPI ITextSelection_fnMoveEndUntil(ITextSelection *me, VARIANT *charset, LONG count, LONG *delta)
static HRESULT WINAPI ITextRange_fnGetFormattedText(ITextRange *me, ITextRange **range)
static HRESULT WINAPI ITextDocument2Old_fnGetTypeInfoCount(ITextDocument2Old *iface, UINT *pctinfo)
static HRESULT WINAPI ITextDocument2Old_fnGetStoryCount(ITextDocument2Old *iface, LONG *pCount)
static HRESULT WINAPI TextPara_SetHyphenation(ITextPara *iface, LONG value)
static HRESULT WINAPI ITextDocument2Old_fnSetSaved(ITextDocument2Old *iface, LONG Value)
static HRESULT WINAPI TextPara_GetIDsOfNames(ITextPara *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI TextPara_IsEqual(ITextPara *iface, ITextPara *para, LONG *ret)
static HRESULT WINAPI ITextRange_fnFindTextEnd(ITextRange *me, BSTR text, LONG count, LONG flags, LONG *length)
static HRESULT WINAPI ITextDocument2Old_fnAttachMsgFilter(ITextDocument2Old *iface, IUnknown *filter)
static HRESULT WINAPI TextPara_ClearAllTabs(ITextPara *iface)
static HRESULT STDMETHODCALLTYPE IOleInPlaceSite_fnDiscardUndoState(IOleInPlaceSite *iface)
static HRESULT WINAPI TextFont_GetSpacing(ITextFont *iface, FLOAT *value)
static HRESULT WINAPI ITextRange_fnExpand(ITextRange *me, LONG unit, LONG *delta)
static HRESULT WINAPI IRichEditOleImpl_inner_fnQueryInterface(IUnknown *iface, REFIID riid, LPVOID *ppvObj)
static HRESULT STDMETHODCALLTYPE IOleInPlaceSite_fnGetWindowContext(IOleInPlaceSite *iface, IOleInPlaceFrame **ppFrame, IOleInPlaceUIWindow **ppDoc, LPRECT lprcPosRect, LPRECT lprcClipRect, LPOLEINPLACEFRAMEINFO lpFrameInfo)
static HRESULT WINAPI ITextSelection_fnHomeKey(ITextSelection *me, LONG unit, LONG extend, LONG *delta)
static HRESULT WINAPI TextPara_GetAlignment(ITextPara *iface, LONG *value)
static HRESULT WINAPI ITextDocument2Old_fnGetPreferredFont(ITextDocument2Old *iface, LONG cp, LONG charrep, LONG options, LONG current_charrep, LONG current_fontsize, BSTR *bstr, LONG *pitch_family, LONG *new_fontsize)
static HRESULT WINAPI TextFont_SetName(ITextFont *iface, BSTR value)
static HRESULT WINAPI ITextRange_fnCanEdit(ITextRange *me, LONG *ret)
static ULONG WINAPI ITextDocument2Old_fnRelease(ITextDocument2Old *iface)
static HRESULT WINAPI ITextRange_fnMoveUntil(ITextRange *me, VARIANT *charset, LONG count, LONG *delta)
static HRESULT WINAPI TextFont_SetSpacing(ITextFont *iface, FLOAT value)
static HRESULT WINAPI ITextRange_fnGetText(ITextRange *me, BSTR *str)
static HRESULT WINAPI ITextRange_fnPaste(ITextRange *me, VARIANT *v, LONG format)
static HRESULT WINAPI ITextRange_fnCut(ITextRange *me, VARIANT *v)
static HRESULT WINAPI TextPara_GetStyle(ITextPara *iface, LONG *value)
static HRESULT WINAPI ITextDocument2Old_fnGetSaved(ITextDocument2Old *iface, LONG *pValue)
static HRESULT textrange_moveend(ITextRange *range, LONG unit, LONG count, LONG *delta)
static HRESULT WINAPI ITextSelection_fnGetDuplicate(ITextSelection *me, ITextRange **range)
static HRESULT WINAPI ITextRange_fnStartOf(ITextRange *me, LONG unit, LONG extend, LONG *delta)
static HRESULT WINAPI ITextRange_fnCopy(ITextRange *me, VARIANT *v)
static HRESULT WINAPI TextFont_GetTypeInfoCount(ITextFont *iface, UINT *pctinfo)
static HRESULT WINAPI TextPara_SetPageBreakBefore(ITextPara *iface, LONG value)
static HRESULT WINAPI IOleClientSite_fnRequestNewObjectLayout(IOleClientSite *iface)
static HRESULT WINAPI ITextSelection_fnFindText(ITextSelection *me, BSTR text, LONG count, LONG flags, LONG *length)
static HRESULT WINAPI ITextSelection_fnMoveStartUntil(ITextSelection *me, VARIANT *charset, LONG count, LONG *delta)
static HRESULT WINAPI TextFont_GetOutline(ITextFont *iface, LONG *value)
static HRESULT WINAPI TextPara_SetAlignment(ITextPara *iface, LONG value)
static IOleClientSiteImpl * impl_from_IOleClientSite(IOleClientSite *iface)
static HRESULT WINAPI ITextSelection_fnInvoke(ITextSelection *me, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI ITextSelection_fnSetText(ITextSelection *me, BSTR str)
static HRESULT WINAPI ITextSelection_fnMove(ITextSelection *me, LONG unit, LONG count, LONG *delta)
static HRESULT WINAPI TextPara_GetNoLineNumber(ITextPara *iface, LONG *value)
static HRESULT WINAPI ITextSelection_fnSetChar(ITextSelection *me, LONG ch)
static HRESULT CreateOleClientSite(IRichEditOleImpl *reOle, IOleClientSite **ret)
static HRESULT WINAPI IRichEditOle_fnContextSensitiveHelp(IRichEditOle *me, BOOL fEnterMode)
static HRESULT WINAPI ITextRange_fnGetStart(ITextRange *me, LONG *start)
static HRESULT WINAPI ITextDocument2Old_fnFreeze(ITextDocument2Old *iface, LONG *pCount)
void ME_GetOLEObjectSize(const ME_Context *c, ME_Run *run, SIZE *pSize)
static HRESULT WINAPI ITextDocument2Old_fnGetDefaultTabStop(ITextDocument2Old *iface, float *pValue)
static HRESULT WINAPI ITextRange_fnGetTypeInfo(ITextRange *me, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI ITextRange_fnMoveStart(ITextRange *me, LONG unit, LONG count, LONG *delta)
static HRESULT WINAPI ITextDocument2Old_fnInvoke(ITextDocument2Old *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT STDMETHODCALLTYPE IOleInPlaceSite_fnScroll(IOleInPlaceSite *iface, SIZE scrollExtent)
static HRESULT WINAPI ITextSelection_fnSetIndex(ITextSelection *me, LONG unit, LONG index, LONG extend)
static HRESULT WINAPI TextPara_GetListType(ITextPara *iface, LONG *value)
static ULONG WINAPI ITextRange_fnAddRef(ITextRange *me)
static HRESULT WINAPI TextFont_GetEngrave(ITextFont *iface, LONG *value)
static HRESULT WINAPI TextFont_SetAnimation(ITextFont *iface, LONG value)
static IRichEditOleImpl * impl_from_IRichEditOle(IRichEditOle *iface)
static HRESULT WINAPI ITextDocument2Old_fnRedo(ITextDocument2Old *iface, LONG Count, LONG *prop)
static HRESULT get_typeinfo(enum tid_t tid, ITypeInfo **typeinfo)
static HRESULT WINAPI ITextDocument2Old_fnSave(ITextDocument2Old *iface, VARIANT *pVar, LONG Flags, LONG CodePage)
void release_typelib(void)
static HRESULT WINAPI ITextRange_fnInRange(ITextRange *me, ITextRange *range, LONG *ret)
static HRESULT WINAPI ITextDocument2Old_fnGetTypeInfo(ITextDocument2Old *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI TextFont_GetShadow(ITextFont *iface, LONG *value)
static HRESULT WINAPI ITextDocument2Old_fnGetIDsOfNames(ITextDocument2Old *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI TextFont_GetAllCaps(ITextFont *iface, LONG *value)
static HRESULT WINAPI TextFont_SetEngrave(ITextFont *iface, LONG value)
static HRESULT WINAPI TextPara_SetStyle(ITextPara *iface, LONG value)
static HRESULT WINAPI IOleClientSite_fnOnShowWindow(IOleClientSite *iface, BOOL fShow)
static HRESULT load_typelib(void)
static HRESULT WINAPI ITextDocument2Old_fnSetNotificationMode(ITextDocument2Old *iface, LONG mode)
static HRESULT WINAPI TextFont_SetStyle(ITextFont *iface, LONG value)
static HRESULT WINAPI TextPara_SetSpaceAfter(ITextPara *iface, FLOAT value)
static HRESULT WINAPI ITextSelection_fnInStory(ITextSelection *me, ITextRange *range, LONG *ret)
static HRESULT WINAPI ITextSelection_fnGetStoryLength(ITextSelection *me, LONG *length)
static HRESULT WINAPI TextPara_SetNoLineNumber(ITextPara *iface, LONG value)
static HRESULT WINAPI IRichEditOle_fnHandsOffStorage(IRichEditOle *me, LONG iob)
static HRESULT WINAPI TextFont_GetUnderline(ITextFont *iface, LONG *value)
static IRichEditOleImpl * para_get_reole(ITextParaImpl *This)
static HRESULT WINAPI ITextSelection_fnTypeText(ITextSelection *me, BSTR text)
static HRESULT WINAPI TextPara_SetIndents(ITextPara *iface, FLOAT StartIndent, FLOAT LeftIndent, FLOAT RightIndent)
static HRESULT WINAPI ITextSelection_fnGetText(ITextSelection *me, BSTR *pbstr)
static HRESULT WINAPI ITextSelection_fnGetFormattedText(ITextSelection *me, ITextRange **range)
static HRESULT WINAPI IRichEditOle_fnSetHostNames(IRichEditOle *me, LPCSTR lpstrContainerApp, LPCSTR lpstrContainerObj)
static HRESULT textrange_setend(const IRichEditOleImpl *reole, LONG value, LONG *start, LONG *end)
static HRESULT WINAPI TextPara_CanChange(ITextPara *iface, LONG *ret)
static HRESULT WINAPI TextFont_GetProtected(ITextFont *iface, LONG *value)
static LONG WINAPI IRichEditOle_fnGetLinkCount(IRichEditOle *me)
static HRESULT WINAPI ITextRange_fnSetPara(ITextRange *me, ITextPara *para)
static HRESULT WINAPI ITextSelection_fnSetRange(ITextSelection *me, LONG anchor, LONG active)
static HRESULT WINAPI TextFont_SetSubscript(ITextFont *iface, LONG value)
static HRESULT WINAPI ITextRange_fnSetFont(ITextRange *me, ITextFont *font)
static HRESULT WINAPI ITextSelection_fnQueryInterface(ITextSelection *me, REFIID riid, void **ppvObj)
static HRESULT WINAPI TextFont_GetBold(ITextFont *iface, LONG *value)
static HRESULT WINAPI ITextRange_fnSetRange(ITextRange *me, LONG anchor, LONG active)
static HRESULT WINAPI ITextSelection_fnGetStart(ITextSelection *me, LONG *pcpFirst)
static HRESULT WINAPI ITextDocument2Old_fnUnfreeze(ITextDocument2Old *iface, LONG *pCount)
static HRESULT WINAPI ITextRange_fnSetFormattedText(ITextRange *me, ITextRange *range)
static HRESULT WINAPI IRichEditOle_fnSetLinkAvailable(IRichEditOle *me, LONG iob, BOOL fAvailable)
LRESULT CreateIRichEditOle(IUnknown *outer_unk, ME_TextEditor *editor, LPVOID *ppvObj)
static HRESULT WINAPI ITextSelection_fnGetFont(ITextSelection *me, ITextFont **font)
static HRESULT create_textfont(ITextRange *, const ITextFontImpl *, ITextFont **)
static HRESULT WINAPI ITextSelection_fnGetPoint(ITextSelection *me, LONG type, LONG *cx, LONG *cy)
static HRESULT WINAPI ITextDocument2Old_fnGetNotificationMode(ITextDocument2Old *iface, LONG *mode)
static HRESULT WINAPI TextPara_DeleteTab(ITextPara *iface, FLOAT pos)
static HRESULT WINAPI TextPara_SetKeepWithNext(ITextPara *iface, LONG value)
static ULONG WINAPI IOleClientSite_fnRelease(IOleClientSite *iface)
static HRESULT WINAPI ITextSelection_fnFindTextStart(ITextSelection *me, BSTR text, LONG count, LONG flags, LONG *length)
static HRESULT set_textfont_prop(ITextFontImpl *font, enum textfont_prop_id propid, const textfont_prop_val *value)
static ITextFontImpl * impl_from_ITextFont(ITextFont *iface)
static HRESULT WINAPI ITextSelection_fnGetTypeInfo(ITextSelection *me, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI TextPara_GetSpaceAfter(ITextPara *iface, FLOAT *value)
static HRESULT WINAPI TextPara_Invoke(ITextPara *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static const ITextDocument2OldVtbl tdvt
static HRESULT WINAPI TextFont_SetOutline(ITextFont *iface, LONG value)
static HRESULT WINAPI TextFont_SetProtected(ITextFont *iface, LONG value)
static HRESULT STDMETHODCALLTYPE IOleInPlaceSite_fnOnPosRectChange(IOleInPlaceSite *iface, LPCRECT lprcPosRect)
static HRESULT WINAPI ITextRange_fnGetChar(ITextRange *me, LONG *pch)
static HRESULT WINAPI ITextSelection_fnGetEmbeddedObject(ITextSelection *me, IUnknown **ppv)
static HRESULT WINAPI TextPara_AddTab(ITextPara *iface, FLOAT tbPos, LONG tbAlign, LONG tbLeader)
static HRESULT WINAPI IOleClientSite_fnGetMoniker(IOleClientSite *iface, DWORD dwAssign, DWORD dwWhichMoniker, IMoniker **ppmk)
static HRESULT WINAPI IRichEditOle_fnSaveCompleted(IRichEditOle *me, LONG iob, LPSTORAGE lpstg)
static HRESULT WINAPI ITextDocument2Old_fnGetEffectColor(ITextDocument2Old *iface, LONG index, COLORREF *cr)
static ULONG WINAPI TextFont_Release(ITextFont *iface)
static HRESULT WINAPI ITextDocument2Old_fnGetName(ITextDocument2Old *iface, BSTR *pName)
static HRESULT WINAPI TextPara_SetListAlignment(ITextPara *iface, LONG value)
static HRESULT WINAPI TextFont_SetPosition(ITextFont *iface, FLOAT value)
static HRESULT WINAPI ITextSelection_fnSetPara(ITextSelection *me, ITextPara *para)
static ULONG WINAPI TextPara_AddRef(ITextPara *iface)
static HRESULT WINAPI TextFont_CanChange(ITextFont *iface, LONG *ret)
static const IUnknownVtbl reo_unk_vtbl
static HRESULT WINAPI IRichEditOle_fnImportDataObject(IRichEditOle *me, LPDATAOBJECT lpdataobj, CLIPFORMAT cf, HGLOBAL hMetaPict)
static HRESULT WINAPI TextFont_GetKerning(ITextFont *iface, FLOAT *value)
static HRESULT WINAPI ITextSelection_fnEndKey(ITextSelection *me, LONG unit, LONG extend, LONG *delta)
static HRESULT WINAPI ITextDocument2Old_fnGetSelection(ITextDocument2Old *iface, ITextSelection **selection)
static HRESULT STDMETHODCALLTYPE IOleInPlaceSite_fnCanInPlaceActivate(IOleInPlaceSite *iface)
static void cp2range(ME_TextEditor *editor, LONG *cp1, LONG *cp2)
static HRESULT get_textfont_prop_for_pos(const IRichEditOleImpl *reole, int pos, enum textfont_prop_id propid, textfont_prop_val *value)
static ULONG WINAPI TextFont_AddRef(ITextFont *iface)
static HRESULT WINAPI ITextSelection_fnSetFont(ITextSelection *me, ITextFont *font)
static HRESULT WINAPI ITextRange_fnSetPoint(ITextRange *me, LONG x, LONG y, LONG type, LONG extend)
static void textfont_cache_range_props(ITextFontImpl *font)
static HRESULT WINAPI TextFont_GetHidden(ITextFont *iface, LONG *value)
static HRESULT WINAPI TextFont_GetForeColor(ITextFont *iface, LONG *value)
static HRESULT WINAPI TextPara_GetFirstLineIndent(ITextPara *iface, FLOAT *value)
static HRESULT WINAPI IRichEditOle_fnActivateAs(IRichEditOle *me, REFCLSID rclsid, REFCLSID rclsidAs)
static HRESULT WINAPI ITextRange_fnGetIDsOfNames(ITextRange *me, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI TextPara_GetListStart(ITextPara *iface, LONG *value)
static HRESULT WINAPI TextFont_GetSize(ITextFont *iface, FLOAT *value)
static HRESULT WINAPI ITextDocument2Old_fnUndo(ITextDocument2Old *iface, LONG Count, LONG *prop)
static ITextSelectionImpl * CreateTextSelection(IRichEditOleImpl *)
static void convert_sizel(const ME_Context *c, const SIZEL *szl, SIZE *sz)
static HRESULT WINAPI TextFont_GetSuperscript(ITextFont *iface, LONG *value)
static HRESULT WINAPI ITextSelection_fnSetFormattedText(ITextSelection *me, ITextRange *range)
static HRESULT WINAPI TextFont_SetHidden(ITextFont *iface, LONG value)
static ULONG WINAPI IRichEditOle_fnRelease(IRichEditOle *me)
static HRESULT WINAPI TextFont_GetPosition(ITextFont *iface, FLOAT *value)
static const IID *const tid_ids[]
static HRESULT WINAPI TextFont_GetWeight(ITextFont *iface, LONG *value)
static HRESULT WINAPI ITextSelection_fnMoveUntil(ITextSelection *me, VARIANT *charset, LONG count, LONG *delta)
static HRESULT WINAPI ITextRange_fnGetTypeInfoCount(ITextRange *me, UINT *pctinfo)
static HRESULT WINAPI TextFont_SetBackColor(ITextFont *iface, LONG value)
static HRESULT WINAPI TextPara_GetLineSpacing(ITextPara *iface, FLOAT *value)
static HRESULT WINAPI ITextSelection_fnExpand(ITextSelection *me, LONG unit, LONG *delta)
static HRESULT WINAPI ITextRange_fnFindTextStart(ITextRange *me, BSTR text, LONG count, LONG flags, LONG *length)
static HRESULT WINAPI TextFont_SetDuplicate(ITextFont *iface, ITextFont *pFont)
static HRESULT WINAPI TextPara_GetKeepWithNext(ITextPara *iface, LONG *value)
static HRESULT WINAPI TextFont_SetSize(ITextFont *iface, FLOAT value)
static HRESULT WINAPI ITextDocument2Old_fnSetCaretType(ITextDocument2Old *iface, LONG type)
static HRESULT set_textfont_propd(ITextFontImpl *font, enum textfont_prop_id propid, LONG value)
static HRESULT WINAPI ITextRange_fnMoveEndUntil(ITextRange *me, VARIANT *charset, LONG count, LONG *delta)
static HRESULT WINAPI ITextSelection_fnMoveWhile(ITextSelection *me, VARIANT *charset, LONG count, LONG *delta)
static HRESULT WINAPI TextPara_SetKeepTogether(ITextPara *iface, LONG value)
static void textfont_reset_to_undefined(ITextFontImpl *font)
static ULONG WINAPI ITextSelection_fnAddRef(ITextSelection *me)
static HRESULT WINAPI ITextSelection_fnMoveLeft(ITextSelection *me, LONG unit, LONG count, LONG extend, LONG *delta)
static HRESULT WINAPI TextFont_SetWeight(ITextFont *iface, LONG value)
static HRESULT WINAPI ITextSelection_fnGetIndex(ITextSelection *me, LONG unit, LONG *index)
static HRESULT textrange_setstart(const IRichEditOleImpl *reole, LONG value, LONG *start, LONG *end)
static HRESULT WINAPI ITextDocument2Old_fnNotify(ITextDocument2Old *iface, LONG notify)
static const IRichEditOleImpl * get_range_reole(ITextRange *range)
static HRESULT set_textfont_propf(ITextFontImpl *font, enum textfont_prop_id propid, FLOAT value)
static HRESULT WINAPI ITextSelection_fnCopy(ITextSelection *me, VARIANT *v)
static HRESULT STDMETHODCALLTYPE IOleInPlaceSite_fnOnInPlaceActivate(IOleInPlaceSite *iface)
static HRESULT WINAPI ITextRange_fnSetEnd(ITextRange *me, LONG value)
static HRESULT WINAPI ITextDocument2Old_fnSetDefaultTabStop(ITextDocument2Old *iface, float Value)
static HRESULT WINAPI TextPara_GetTab(ITextPara *iface, LONG iTab, FLOAT *ptbPos, LONG *ptbAlign, LONG *ptbLeader)
static HRESULT WINAPI ITextSelection_fnIsEqual(ITextSelection *me, ITextRange *range, LONG *ret)
static HRESULT textrange_expand(ITextRange *range, LONG unit, LONG *delta)
static ITypeInfo * typeinfos[LAST_tid]
static HRESULT WINAPI ITextRange_fnGetDuplicate(ITextRange *me, ITextRange **ppRange)
static HRESULT WINAPI ITextRange_fnQueryInterface(ITextRange *me, REFIID riid, void **ppvObj)
static HRESULT WINAPI ITextSelection_fnGetIDsOfNames(ITextSelection *me, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI TextFont_SetStrikeThrough(ITextFont *iface, LONG value)
static HRESULT WINAPI TextFont_GetEmboss(ITextFont *iface, LONG *value)
static const IOleClientSiteVtbl ocst
static HRESULT WINAPI ITextRange_fnSetIndex(ITextRange *me, LONG unit, LONG index, LONG extend)
static ITextParaImpl * impl_from_ITextPara(ITextPara *iface)
static HRESULT WINAPI TextFont_GetItalic(ITextFont *iface, LONG *value)
static ULONG WINAPI IRichEditOleImpl_inner_fnAddRef(IUnknown *iface)
static HRESULT WINAPI ITextRange_fnGetIndex(ITextRange *me, LONG unit, LONG *index)
static HRESULT WINAPI TextPara_SetLineSpacing(ITextPara *iface, LONG LineSpacingRule, FLOAT LineSpacing)
static ITextRangeImpl * impl_from_ITextRange(ITextRange *iface)
static HRESULT WINAPI IRichEditOle_fnInPlaceDeactivate(IRichEditOle *me)
static HRESULT WINAPI TextPara_GetDuplicate(ITextPara *iface, ITextPara **ret)
void ME_ReleaseStyle(ME_Style *item) DECLSPEC_HIDDEN
ME_Style * ME_GetInsertStyle(ME_TextEditor *editor, int nCursor) DECLSPEC_HIDDEN
void ME_CursorFromCharOfs(ME_TextEditor *editor, int nCharOfs, ME_Cursor *pCursor) DECLSPEC_HIDDEN
void ME_ScrollAbs(ME_TextEditor *editor, int x, int y) DECLSPEC_HIDDEN
void ME_CommitUndo(ME_TextEditor *editor) DECLSPEC_HIDDEN
void ME_UpdateRepaint(ME_TextEditor *editor, BOOL update_now) DECLSPEC_HIDDEN
void ME_GetCharFormat(ME_TextEditor *editor, const ME_Cursor *from, const ME_Cursor *to, CHARFORMAT2W *pFmt) DECLSPEC_HIDDEN
void ME_SetCharFormat(ME_TextEditor *editor, ME_Cursor *start, ME_Cursor *end, CHARFORMAT2W *pFmt) DECLSPEC_HIDDEN
GLint GLint GLint GLint GLint x
GLuint GLuint GLsizei GLenum type
GLint GLint GLint GLint GLint GLint y
GLuint GLuint GLsizei count
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
GLint GLint GLsizei GLsizei height
GLdouble GLdouble GLdouble GLdouble top
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
GLuint GLsizei GLsizei * length
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define InterlockedCompareExchangePointer
LCID WINAPI GetSystemDefaultLCID(void)
#define memcpy(s1, s2, n)
static DWORD DWORD void LPSTR DWORD cch
static const char * debugstr_variant(const VARIANT *var)
static const WCHAR sysW[]
static VARIANTARG static DISPID
#define set_selection(hctl, start, end)
INT WINAPI MulDiv(INT nNumber, INT nNumerator, INT nDenominator)
#define LOCALE_SYSTEM_DEFAULT
interface IStorage * LPSTORAGE
interface IDataObject * LPDATAOBJECT
BSTR WINAPI SysAllocString(LPCOLESTR str)
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
const GUID IID_IOleInPlaceSite
const GUID IID_IOleWindow
const GUID IID_IOleClientSite
const GUID IID_IDataObject
png_const_structrp png_const_inforp int * unit
_Out_opt_ int _Out_opt_ int * cy
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
#define IsEqualGUID(rguid1, rguid2)
#define IsEqualIID(riid1, riid2)
#define CFE_AUTOBACKCOLOR
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
__WINE_SERVER_LIST_INLINE unsigned int list_count(const struct list *list)
#define LIST_FOR_EACH_ENTRY(elem, list, type, field)
IOleClientSite IOleClientSite_iface
IOleInPlaceSite IOleInPlaceSite_iface
IRichEditOle IRichEditOle_iface
ITextSelectionImpl * txtSel
ITextDocument2Old ITextDocument2Old_iface
textfont_prop_val props[FONT_PROPID_LAST]
ITextFont ITextFont_iface
ITextPara ITextPara_iface
ITextSelection ITextSelection_iface
#define CONTAINING_RECORD(address, type, field)
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
_In_ DWORD _Out_ _In_ WORD wFlags
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
#define STG_E_INVALIDPARAMETER
int WINAPI GetObjectW(_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
BOOL WINAPI StretchBlt(_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_opt_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ DWORD)
BOOL WINAPI PatBlt(_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ DWORD)
UINT WINAPI GetEnhMetaFileHeader(_In_ HENHMETAFILE hemf, _In_ UINT nSize, _Out_writes_bytes_opt_(nSize) LPENHMETAHEADER lpEnhMetaHeader)
BOOL WINAPI DeleteDC(_In_ HDC)
BOOL WINAPI PlayEnhMetaFile(_In_ HDC, _In_ HENHMETAFILE, _In_ LPCRECT)
DWORD WINAPI GetSysColor(_In_ int)
_Must_inspect_result_ _In_ ULONG Flags