|
The Document Summary Information Property Set
OLE defines a standard common property set for storing summary information
about documents. The Document Summary Information property set must be stored in
an IStream instance off of the root storage object; it is not valid to store the
property set in the "Contents" stream of a named IStorage instance.
All shared property sets are identified by a stream or storage name prepended
with "\005" (or 0x05) to show it is a property set shareable among applications
and the Document Summary Information property set is no exception. The name of
the stream that contains the Document Summary Information property set is:
"\005SummaryInformation"
The FMTID for the Document Summary Information property set is:
F29F85E0-4FF9-1068-AB91-08002B27B3D9
Use the DEFINE_GUID macro to define the FMTID for the property set:
DEFINE_GUID(FormatID_SummaryInformation, 0xF29F85E0, 0x4FF9, 0x1068, 0xAB,
0x91, 0x08, 0x00, 0x2B, 0x27, 0xB3, 0xD9);
On an Intel byte-ordered machine, the FMTID has the following representation:
E0 85 9F 4F 68 10 AB 91 08 00 2B 27 B3 D9
The following table shows the property names for the Document Summary
Information property set, along with the respective property IDs and type indicators.
Property Name
|
Property ID
| Property ID Code
|
Type
| Title
| PID_TITLE
| 0x00000002
| VT_LPSTR
| Subject
| PID_SUBJECT
| 0x00000003
| VT_LPSTR
| Author
| PID_AUTHOR
| 0x00000004
| VT_LPSTR
| Keywords
| PID_KEYWORDS
| 0x00000005
| VT_LPSTR
| Comments
| PID_COMMENTS
| 0x00000006
| VT_LPSTR
| Template
| PID_TEMPLATE
| - x00000007
| VT_LPSTR
| Last Saved By
| PID_LASTAUTHOR
| - x00000008
| VT_LPSTR
| Revision Number
| PID_REVNUMBER
| - x00000009
| VT_LPSTR
| Total Editing Time
| PID_EDITTIME
| - x0000000A
| VT_FILETIME
| Last Printed
| PID_LASTPRINTED
| - x0000000B
| VT_FILETIME
| Create Time/Date (*)
| PID_CREATE_DTM
| - x0000000C
| VT_FILETIME
| Last saved Time/Date (*)
| PID_LASTSAVE_DTM
| - x0000000D
| VT_FILETIME
| Number of Pages
Number of Words
Number of Characters
| PID_PAGECOUNT
PID_WORDCOUNT
PID_CHARCOUNT
| - x0000000E
0x0000000F
0x00000010
| VT_I4
VT_I4
VT_I4
| Thumbnail
| PID_THUMBNAIL
| 0x00000011
| VT_CF
| Name of Creating Application
| PID_APPNAME
| 0x00000012
| VT_LPSTR
| Security
| PID_SECURITY
| 0x00000013
| VT_I4
|
- Some methods of file transfer (such as a download from a BBS) do not maintain
the file system's
version of this information correctly.
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|