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...
 
class  ocf::IBOverrideBrowseLinks
 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)   EXTERN_C const GUID CDECL name
 
#define HIMETRIC_PER_INCH   2540
 
#define MAP_PIX_TO_LOGHIM(pixel, pixelsPerInch)    ((ULONG) ((((ULONG)HIMETRIC_PER_INCH) * pixel + (pixelsPerInch >> 1)) / pixelsPerInch))
 
#define MAP_LOGHIM_TO_PIX(hiMetric, pixelsPerInch)    (UINT) ((((double) hiMetric) * pixelsPerInch + (HIMETRIC_PER_INCH >> 1)) / HIMETRIC_PER_INCH)
 
#define DEFINE_INLINE_QI(I, P)
 
#define DEFINE_INLINE_QI2(I, P1, P2)
 

Typedefs

typedef owl::uint32 ocf::BCID
 

Functions

 ocf::DEFINE_BOLEGUID (IID_IBPart, 0x02A104L)
 
 ocf::DEFINE_BOLEGUID (IID_IBSite, 0x02A105L)
 
 ocf::DEFINE_BOLEGUID (IID_IBContainer, 0x02A106L)
 
 ocf::DEFINE_BOLEGUID (IID_IBDocument, 0x02A107L)
 
 ocf::DEFINE_BOLEGUID (IID_IBService, 0x02A108L)
 
 ocf::DEFINE_BOLEGUID (IID_IBApplication, 0x02A109L)
 
 ocf::DEFINE_BOLEGUID (IID_IBClassMgr, 0x02A10AL)
 
 ocf::DEFINE_BOLEGUID (IID_IBLinkInfo, 0x02A10BL)
 
 ocf::DEFINE_BOLEGUID (IID_IBLinkable, 0x02A10CL)
 
 ocf::DEFINE_BOLEGUID (IID_IBRootLinkable, 0x02A10DL)
 
 ocf::DEFINE_BOLEGUID (IID_IBContains, 0x02A10EL)
 
 ocf::DEFINE_BOLEGUID (IID_BOleDocument, 0x02A10FL)
 
 ocf::DEFINE_BOLEGUID (IID_BOlePart, 0x02A110L)
 
 ocf::DEFINE_BOLEGUID (IID_IBDataConsumer, 0x02A111L)
 
 ocf::DEFINE_BOLEGUID (IID_IBDataProvider, 0x02A112L)
 
 ocf::DEFINE_BOLEGUID (IID_IBWindow, 0x02A113L)
 
 ocf::DEFINE_BOLEGUID (IID_IBDataNegotiator, 0x02A114L)
 
 ocf::DEFINE_BOLEGUID (IID_IBDropDest, 0x02A115L)
 
 ocf::DEFINE_BOLEGUID (IID_BOleShadowData, 0x02A116L)
 
 ocf::DEFINE_BOLEGUID (IID_IBClass, 0x02A117L)
 
 ocf::DEFINE_BOLEGUID (IID_IBOverrideBrowseLinks, 0x02A118L)
 
 ocf::DEFINE_BOLEGUID (IID_BOleSite, 0x02A119L)
 
 ocf::DEFINE_BOLEGUID (IID_IBSite2, 0x02A11AL)
 
 ocf::DEFINE_BOLEGUID (IID_IBOverrideHelpButton, 0x02A11BL)
 
 ocf::DEFINE_BOLEGUID (IID_IBDataProvider2, 0x02A11CL)
 
 ocf::DEFINE_BOLEGUID (IID_IBPart2, 0x02A11DL)
 
 ocf::DEFINE_BOLEGUID (IID_IBService2, 0x02A11EL)
 
 ocf::DEFINE_BOLEGUID (IID_BOleControl, 0x02A11FL)
 
 ocf::DEFINE_BOLEGUID (IID_IBControl, 0x02A120L)
 
 ocf::DEFINE_BOLEGUID (IID_IBControlSite, 0x02A121L)
 
 ocf::DEFINE_BOLEGUID (IID_BOleFont, 0x02A122L)
 
 ocf::DEFINE_BOLEGUID (IID_BOleControlSite, 0x02A123L)
 
 ocf::DEFINE_BOLEGUID (IID_IBEventsHandler, 0x02A124L)
 
 ocf::DEFINE_BOLEGUID (IID_IBEventClass, 0x02A125L)
 
 ocf::DEFINE_BOLEGUID (IID_IBSinkList, 0x02A126L)
 
 ocf::DEFINE_BOLEGUID (IID_BOlePicture, 0x02A127L)
 
 ocf::DEFINE_BOLEGUID (IID_IBPicture, 0x02A128L)
 
 ocf::DEFINE_BOLEGUID (IID_IBDataState, 0x02A129L)
 
HRESULT _IFUNC ocf::IUnknown_QueryInterface (IUnknown *, REFIID iid, 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 )   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 599 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 : \
P2##_QueryInterface(This, iid, pif); \
}

Definition at line 607 of file ocbocole.h.

◆ HIMETRIC_PER_INCH

#define HIMETRIC_PER_INCH   2540

Definition at line 166 of file ocbocole.h.

◆ MAP_LOGHIM_TO_PIX

#define MAP_LOGHIM_TO_PIX ( hiMetric,
pixelsPerInch )    (UINT) ((((double) hiMetric) * pixelsPerInch + (HIMETRIC_PER_INCH >> 1)) / HIMETRIC_PER_INCH)

Definition at line 177 of file ocbocole.h.

◆ MAP_PIX_TO_LOGHIM

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

Definition at line 171 of file ocbocole.h.