102 OrgStorage = Storage;
130 Storage = OrgStorage;
172 part.FinishLoading();
261 PartCollection.
Clear();
333 LinkCollection.Clear();
355 if (!Name.empty() && ActiveView)
#define PRECONDITION(condition)
#define DIAG_DECLARE_GROUP(group)
#define TRACEX(group, level, message)
ILinkable abstract base class.
void SetActiveView(TOcView *view)
void RenameParts(IBRootLinkable *bLDocumentI)
bool SaveParts(IStorage *storage=0, bool sameAsLoaded=true, bool remember=true)
Save the embedded parts to the provided storage.
TOcDocument(TOcApp &app, LPCTSTR fileName=0)
void SetStorage(IStorage *storage, bool remember=true)
Set the storage for this document.
bool SaveToFile(LPCTSTR newName)
Perform saveas operation.
bool RestoreStorage()
Restore the original root IStorage before the save operation.
bool LoadParts()
Loads the parts from the current storage into the PartCollection.
void SetName(const owl::tstring &newName)
Notify container that doc pathname has changed.
Link Viewer object for a server document.
virtual unsigned Count() const
void Clear()
Release parts in the collection.
OC part class represents an embeded or linked part in a document.
HRESULT Stat(STATSTG *pstatstg, owl::uint32 grfStatFlag)
The TOcView partner is a container (viewer) of a given (server/client) document.
Iterator for Pointer Container.
Include for OC, gets common headers when precompiled headers are enabled.
Object Component Framework (COM encapsulation)
bool HRSucceeded(HRESULT hr)
Object Windows Library (OWLNext Core)
auto to_tstring(const T &v) -> tstring
Definition of TOcApp application connection class.
Definition of TOcDocument Class.
interface _ICLASS IStorage
Definition of TOcPart class.
Definition of TOcRemView Class.
Definition of TOcStorage & TOcStream classes.
Low level OLE Utility class definitions.
General definitions used by all ObjectWindows programs.