OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
ocbocole.h File Reference

ObjectComponents BOcOle engine linking & embedding interfaces. More...

#include <owl/private/defs.h>
#include <owl/geometry.h>
#include <ocf/ocobject.h>
#include <pshpack8.h>
#include <poppack.h>

Go to the source code of this file.

Classes

class  ocf::IBClassMgr
 IClassMgr abstract base class. More...
class  ocf::IBDataNegotiator
 IBDataNegotiator – Enumerats formats for drag/drop and paste. More...
class  ocf::IBDataConsumer
 IBDataConsumer – Supported by containers who want to accept drag/drop and paste. More...
class  ocf::IBDataProvider
 IBDataProvider – Supported by parts and/or sites which can be copied to the OLE2 clipboard. More...
class  ocf::IBDataProvider2
 IBDataProvider2 – new version of IBDataProvider. More...
class  ocf::IBPart
 IBPart – Supported by server objects. More...
class  ocf::IBPart2
 IBPart2 – Supported by server objects. More...
class  ocf::IBService
 IService abstract base class. More...
class  ocf::IBService2
class  ocf::IBLinkable
 ILinkable abstract base class. More...
class  ocf::IBRootLinkable
class  ocf::IBContains
 IContains abstract base class. More...
class  ocf::IBDocument
 IBDocument – Supported by BOleDocument one per container child window. More...
class  ocf::IBWindow
 IBWindow – Supported on child window and frame window of container apps. More...
class  ocf::IBContainer
 IBContainer – Supported by container app's document window. More...
class  ocf::IBDropDest
 IBDropDest – Supported by container app's document window and/or other areas inside the window. More...
class  ocf::IBApplication
 IBApplication – Supported at frame window/app object of container apps. More...
class  ocf::IBSite
 IBSite – Supported by container apps for each linked/embedded object. More...
class  ocf::IBSite2
 IBSite2 – Add flexibility to have parent of site not be container. More...
class  ocf::IBDataState
class  ocf::IBControlSite
class  ocf::IBControl
class  ocf::IBSinkList
class  ocf::IBEventsHandler
class  ocf::IBEventClass
class  ocf::IBLinkInfo
 IBLinkInfo – Supported by BOleParts which are link objects. More...
class  ocf::IBClass
 IBClass – Supported by BOleFactory. More...
 IBOverrideBrowseLinks – Supported by containers(who aggregate BOleDoc) who want to override our BrowseLinks dialog. More...
class  ocf::IBOverrideHelpButton
 IBOverrideHelpButton – Supported by container apps (who aggregate BOleService) who want to suppress the help button in our dialogs. More...

Namespaces

namespace  ocf
 Object Component Framework (COM encapsulation).

Macros

#define BOLEDLL   _T("BOCOF.so")
#define BOLEDLLW   _T("BOCOFW.so")
#define BOLEBIND   "CreateClassMgr"
#define BOLE_FILEVER_LS   0x00010054L
#define BOLE_FILEVER_MS   0x00010001L
#define DEFINE_BOLEGUID(name, l)
#define OCF_BOLEGUIDS(X)
#define OCF_DECLARE_BOLEGUID(name, l)
#define HIMETRIC_PER_INCH   2540
#define MAP_PIX_TO_LOGHIM(pixel, pixelsPerInch)
#define MAP_LOGHIM_TO_PIX(hiMetric, pixelsPerInch)
#define DEFINE_INLINE_QI(I, P)
#define DEFINE_INLINE_QI2(I, P1, P2)

Typedefs

typedef owl::uint32 ocf::BCID

Functions

HRESULT _IFUNC ocf::IUnknown_QueryInterface (IUnknown *, REFIID iidiid, LPVOID *pif)

Variables

const BCID ocf::cidBOleService = 1L
const BCID ocf::cidBOleDocument = 2L
const BCID ocf::cidBOlePart = 3L
const BCID ocf::cidBOleSite = 4L
const BCID ocf::cidBOleInProcSite = 5L
const BCID ocf::cidBOleContainer = 6L
const BCID ocf::cidBOleData = 7L
const BCID ocf::cidBOleFactory = 8L
const BCID ocf::cidBOleShadowData = 9L
const BCID ocf::cidBOleInProcHandler = 10L
const BCID ocf::cidBOleControl = 11L
const BCID ocf::cidBOleFont = 12L
const BCID ocf::cidBOleControlSite = 13L
const BCID ocf::cidBOleControlFactory = 14L
const BCID ocf::cidBOlePicture = 15L
class _ICLASS ocf::IBClassMgr
class _ICLASS ocf::IBPart
class _ICLASS ocf::IBService
class _ICLASS ocf::IBLinkable
class _ICLASS ocf::IBRootLinkable
class _ICLASS ocf::IBContains
class _ICLASS ocf::IBDocument
class _ICLASS ocf::IBContainer
class _ICLASS ocf::IBSite
class _ICLASS ocf::IBApplication
class _ICLASS ocf::IBLinkInfo
class _ICLASS ocf::IBDataNegotiator
class _ICLASS ocf::IBDataProvider
class _ICLASS ocf::IBDataConsumer
class _ICLASS ocf::IBWindow
class _ICLASS ocf::IBDropDest
class _ICLASS ocf::IBClass
class _ICLASS ocf::IBOverrideBrowseLinks
class _ICLASS ocf::IBSite2
class _ICLASS ocf::IBOverrideHelpButton
class _ICLASS ocf::IBPart2
class _ICLASS ocf::IBDataProvider2
class _ICLASS ocf::IBService2
class _ICLASS ocf::IBControlSite
class _ICLASS ocf::IBControl
class _ICLASS ocf::IBEventsHandler
class _ICLASS ocf::IBEventClass
class _ICLASS ocf::IBSinkList
class _ICLASS ocf::IBDataState

Detailed Description

ObjectComponents BOcOle engine linking & embedding interfaces.

Definition in file ocbocole.h.

Macro Definition Documentation

◆ BOLE_FILEVER_LS

#define BOLE_FILEVER_LS   0x00010054L

Definition at line 44 of file ocbocole.h.

◆ BOLE_FILEVER_MS

#define BOLE_FILEVER_MS   0x00010001L

Definition at line 45 of file ocbocole.h.

◆ BOLEBIND

#define BOLEBIND   "CreateClassMgr"

Definition at line 43 of file ocbocole.h.

◆ BOLEDLL

#define BOLEDLL   _T("BOCOF.so")

Definition at line 39 of file ocbocole.h.

◆ BOLEDLLW

#define BOLEDLLW   _T("BOCOFW.so")

Definition at line 40 of file ocbocole.h.

◆ DEFINE_BOLEGUID

#define DEFINE_BOLEGUID ( name,
l )
Value:
EXTERN_C const GUID CDECL name

Definition at line 62 of file ocbocole.h.

◆ DEFINE_INLINE_QI

#define DEFINE_INLINE_QI ( I,
P )
Value:
inline HRESULT _IFUNC I##_QueryInterface(I * This, REFIID iid, LPVOID * pif) \
{ \
return (iid == IID_##I) ? \
(*pif = This), This->AddRef(), HR_OK : \
P##_QueryInterface(This, iid, pif); \
}
#define HR_OK
Definition defs.h:74
#define _IFUNC
Definition oleutil.h:28

Definition at line 604 of file ocbocole.h.

◆ DEFINE_INLINE_QI2

#define DEFINE_INLINE_QI2 ( I,
P1,
P2 )
Value:
inline HRESULT _IFUNC I##_QueryInterface(I * This, REFIID iid, LPVOID * pif) \
{ \
return (iid == IID_##I) ? \
(*pif = This), ((P1*)This)->AddRef(), HR_OK : \
SUCCEEDED(P1##_QueryInterface(This, iid, pif))? HR_OK :\
P2##_QueryInterface(This, iid, pif); \
}

Definition at line 612 of file ocbocole.h.

◆ HIMETRIC_PER_INCH

#define HIMETRIC_PER_INCH   2540

Definition at line 171 of file ocbocole.h.

◆ MAP_LOGHIM_TO_PIX

#define MAP_LOGHIM_TO_PIX ( hiMetric,
pixelsPerInch )
Value:
(UINT) ((((double) hiMetric) * pixelsPerInch + (HIMETRIC_PER_INCH >> 1)) / HIMETRIC_PER_INCH)
#define HIMETRIC_PER_INCH
Definition ocbocole.h:171

Definition at line 182 of file ocbocole.h.

◆ MAP_PIX_TO_LOGHIM

#define MAP_PIX_TO_LOGHIM ( pixel,
pixelsPerInch )
Value:
((ULONG) ((((ULONG)HIMETRIC_PER_INCH) * pixel + (pixelsPerInch >> 1)) / pixelsPerInch))

Definition at line 176 of file ocbocole.h.

◆ OCF_BOLEGUIDS

#define OCF_BOLEGUIDS ( X)

Definition at line 67 of file ocbocole.h.

◆ OCF_DECLARE_BOLEGUID

#define OCF_DECLARE_BOLEGUID ( name,
l )
Value:
DEFINE_BOLEGUID(name, l);
#define DEFINE_BOLEGUID(name, l)
Definition ocbocole.h:62

Definition at line 107 of file ocbocole.h.