9#if !defined(OWL_FILEDOC_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
38 PrevProperty = TDocument::NextProperty-1,
53 using TDocument::Open;
56 using TDocument::InStream;
58 using TDocument::OutStream;
59 bool Commit(
bool force =
false);
60 bool Revert(
bool clear =
false);
64 using TDocument::FindProperty;
65 int PropertyFlags(
int index);
66 LPCTSTR PropertyName(
int index);
68 int GetProperty(
int index,
void *
dest,
int textlen=0);
69 bool SetProperty(
int index,
const void *
src);
86 FILETIME FileCreateTime;
87 FILETIME FileAccessTime;
88 FILETIME FileUpdateTime;
An abstract base class, TDocument is the base class for all document objects and serves as an interfa...
virtual bool IsOpen()
Checks to see if the document has any streams in its stream list.
Derived from TDocument, TFileDocument opens and closes views and provides stream support for views.
Derived from TStream and istream, TInStream is a base class used to define input streams for document...
Derived from TStream and ostream, TOutStream is a base class used to create output storage streams fo...
Definition of classes TDocument, TView, TWindowView, TStream, TInStream, TOutStream.
#define DECLARE_STREAMABLE_OWL(cls, ver)
#define DECLARE_STREAMABLE_INLINES(cls)
~TFileDocument()
Destroys a TFileDocument object.
TFileDocProp
Contains constants that define the following properties of the document:
int PropertyCount()
Return the number of property support by this document.
bool IsOpen()
Is nonzero if the document or any streams are open.
TFileDocument(TDocument *parent=0)
Constructs a TFileDocument object with the optional parent document.
@ FileHandle
The platform file handle (HFILE if Windows)
@ ModifyTime
The time the view or document was modified (FILETIME)
@ AccessTime
The time the view or document was last accessed (FILETIME)
@ CreateTime
The time the view or document was created (FILETIME)
@ StorageSize
An unsigned long containing the storage size (ulong)
Object Windows Library (OWLNext Core)