richole.idl revision 930b5f872e89407f445d4000d4e4aaecaa6a0998
/*
* Copyright (C) 2002 Andriy Palamarchuk
* Copyright (C) 2004 Mike McCormack
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
* a choice of LGPL license versions is made available with the language indicating
* that LGPLv2 or any later version may be used, or where a choice of which version
* of the LGPL is applied is otherwise unspecified.
*/
import "oleidl.idl";
cpp_quote("#endif")
/* REOBJECT structure flags */
cpp_quote("#define REO_GETOBJ_NO_INTERFACES 0x00000000")
cpp_quote("#define REO_GETOBJ_POLEOBJ 0x00000001")
cpp_quote("#define REO_GETOBJ_PSTG 0x00000002")
cpp_quote("#define REO_GETOBJ_POLESITE 0x00000004")
cpp_quote("#define REO_GETOBJ_ALL_INTERFACES 0x00000007")
cpp_quote("#define REO_CP_SELECTION 0xFFFFFFFF")
cpp_quote("#define REO_IOB_SELECTION 0xFFFFFFFF")
cpp_quote("#define REO_IOB_USE_CP 0xFFFFFFFE")
cpp_quote("#define REO_NULL 0x00000000")
cpp_quote("#define REO_READWRITEMASK 0x0000003F")
cpp_quote("#define REO_DONTNEEDPALETTE 0x00000020")
cpp_quote("#define REO_BLANK 0x00000010")
cpp_quote("#define REO_DYNAMICSIZE 0x00000008")
cpp_quote("#define REO_INVERTEDSELECT 0x00000004")
cpp_quote("#define REO_BELOWBASELINE 0x00000002")
cpp_quote("#define REO_RESIZABLE 0x00000001")
cpp_quote("#define REO_LINK 0x80000000")
cpp_quote("#define REO_STATIC 0x40000000")
cpp_quote("#define REO_SELECTED 0x08000000")
cpp_quote("#define REO_OPEN 0x04000000")
cpp_quote("#define REO_INPLACEACTIVE 0x02000000")
cpp_quote("#define REO_HILITED 0x01000000")
cpp_quote("#define REO_LINKAVAILABLE 0x00800000")
cpp_quote("#define REO_GETMETAFILE 0x00400000")
/* clipboard operation flags */
cpp_quote("#define RECO_PASTE 0x00000000")
cpp_quote("#define RECO_DROP 0x00000001")
cpp_quote("#define RECO_COPY 0x00000002")
cpp_quote("#define RECO_CUT 0x00000003")
cpp_quote("#define RECO_DRAG 0x00000004")
} REOBJECT;
cpp_quote("#ifndef __RICHEDIT_CHARRANGE_DEFINED")
cpp_quote("#define __RICHEDIT_CHARRANGE_DEFINED")
{
} CHARRANGE;
cpp_quote("#endif /* __RICHEDIT_CHARRANGE_DEFINED */")
/*****************************************************************************
* IRichEditOle
*/
[
]
interface IRichEditOle : IUnknown
{
}
/*****************************************************************************
* IRichEditOleCallback
*/
[
]
interface IRichEditOleCallback : IUnknown
{
HRESULT GetInPlaceContext(LPOLEINPLACEFRAME *lplpFrame, LPOLEINPLACEUIWINDOW *lplpDoc, LPOLEINPLACEFRAMEINFO lpFrameInfo);
HRESULT QueryAcceptData(LPDATAOBJECT lpdataobj, CLIPFORMAT *lpcfFormat, DWORD reco, BOOL fReally, HGLOBAL hMetaPict);
}