8#if !defined(OCF_OCDOC_H)
12#if defined(BI_HAS_PRAGMA_ONCE)
59 void SetStorage(
IStorage* storage,
bool remember =
true);
60 void SetStorage(LPCTSTR path);
61 bool SaveToFile(LPCTSTR newName);
62 bool RestoreStorage();
68 bool SaveParts(
IStorage* storage = 0,
bool sameAsLoaded =
true,
69 bool remember =
true);
77 void SetActiveView(
TOcView* view);
Class representing an embedded control within a document.
OC Document class, holds parts & is a owner of views.
TOcLinkCollection & GetViews()
TOcLinkCollection & GetLinks()
TOcStorage * GetStorage()
owl::tstring GetName() const
TOcPartCollection & GetParts()
TOcView * GetActiveView()
Container of link views with iterator.
Container of parts with iterator.
The TOcView partner is a container (viewer) of a given (server/client) document.
Object Component Framework (COM encapsulation)
interface _ICLASS IStorage
Definition of TOcLinkView Class.
Definition of TOcPart class.