8#if !defined(OCF_OCREMVIE_H)
12#if defined(BI_HAS_PRAGMA_ONCE)
80 HRESULT
_IFUNC QueryInterface(
const GUID &
iid,
void ** iface);
87 HRESULT
_IFUNC Init(LPCOLESTR path);
92 HRESULT
_IFUNC BringToFront();
96 HRESULT QueryObject(
const IID &
iid,
void * * iface);
103 HRESULT
_IFUNC AllowInPlace();
121 HRESULT
_IFUNC CanOpenInPlace();
124 HRESULT
_IFUNC Activate(BOOL);
125 HRESULT
_IFUNC Show(BOOL);
126 HRESULT
_IFUNC Open(BOOL);
129 HWND
_IFUNC OpenInPlace(HWND);
131 HRESULT
_IFUNC ShowTools(BOOL);
134 HRESULT
_IFUNC GetPalette(LOGPALETTE * *);
136 HRESULT
_IFUNC DoQueryInterface(
const IID &
iid,
void * * pif);
IBApplication – Supported at frame window/app object of container apps.
IBContainer – Supported by container app's document window.
ILinkable abstract base class.
IBPart2 – Supported by server objects.
IBPart – Supported by server objects.
IBSite – Supported by container apps for each linked/embedded object.
virtual HRESULT _IFUNC SetStatusText(LPCOLESTR)=0
OC Document class, holds parts & is a owner of views.
Remote Viewer object for a server document.
TOcToolBarInfo ToolBarInfo
Inplace tool bar info.
IBApplication * BAppI
Site's application interface.
void Rename()
Update monikers with new name.
IUnknown * BSite
In-place site helper.
IBContainer * BContainerI
owl::TString GetContainerTitle()
Get the window text of the container.
@ LoadFromFile
Transient load-from-file.
@ DontKnow
What kind of server view this is.
@ Link
Load-from-file is really a link.
@ Embedding
Normal Embedding.
bool Load(IStorage *storageI)
Load remote view specific information.
void Invalidate(TOcInvalidate)
Invalidate the site within the active view.
IBSite * BSiteI
Site interface.
bool SetContainerStatusText(LPCTSTR text)
virtual bool EvSetFocus(bool set)
Set focus to the inplace server.
TKind Kind
What kind of server view this is.
TState State
Current state of this server view.
@ Hidden
Current state of this server view.
@ InPlaceActive
Inplace active.
@ OpenEditing
Open editing.
void Disconnect()
Disconnect from the client site.
TOcRemView(TOcDocument &doc, TOcContainerHost *cs, TOcServerHost *ss, owl::TRegList *regList=0, IUnknown *outer=0)
New constructor that uses host interfaces.
virtual void ReleaseObject()
Should only be called by the owner/creator of this object.
HWND HRealParent
View's real parent.
IBLinkable * BLSiteI
for site moniker
void GetInitialRect(bool selection=false)
Get the initial size and position from the app.
bool Save(IStorage *storageI)
Save remote view specific information to compound file.
TOcView(TOcDocument &doc, TOcContainerHost *ch, TOcServerHost *sh, owl::TRegList *regList=0, IUnknown *outer=0)
New, interface constructor.
TPoint is a support class, derived from tagPOINT.
TRect is a mathematical class derived from tagRect.
A registration parameter table, composed of a list of TRegItems.
The tagSIZE struct is defined as.
Reference to reference counted string object TUString Lightweight reference object consisting of a po...
Object Component Framework (COM encapsulation).
interface _ICLASS IStorage
Definition of Compound Document TOcView Class.