From 3753eaa927df4608c454508a524ea23bb43449cf Mon Sep 17 00:00:00 2001 From: Richard Webb Date: Tue, 3 Dec 2024 13:38:37 +0000 Subject: [PATCH] Add more properties to the 'DocumentSummaryInfo' PropertyIdentifiers set --- OpenMcdf.Ole/PropertyIdentifiers.cs | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/OpenMcdf.Ole/PropertyIdentifiers.cs b/OpenMcdf.Ole/PropertyIdentifiers.cs index 9c5ce148..d2b5e797 100644 --- a/OpenMcdf.Ole/PropertyIdentifiers.cs +++ b/OpenMcdf.Ole/PropertyIdentifiers.cs @@ -6,7 +6,7 @@ public static class PropertyIdentifiers { readonly static FrozenDictionary SummaryInfo = new Dictionary() { - {0x00000001, "CodePageString" }, + {0x00000001, "PIDSI_CODEPAGE" }, {0x00000002, "PIDSI_TITLE" }, {0x00000003, "PIDSI_SUBJECT" }, {0x00000004, "PIDSI_AUTHOR" }, @@ -28,7 +28,7 @@ public static class PropertyIdentifiers readonly static FrozenDictionary DocumentSummaryInfo = new Dictionary() { - {0x00000001, "CodePageString" }, + {0x00000001, "PIDDSI_CODEPAGE" }, {0x00000002, "PIDDSI_CATEGORY" }, {0x00000003, "PIDDSI_PRESFORMAT" }, {0x00000004, "PIDDSI_BYTECOUNT" }, @@ -43,7 +43,18 @@ public static class PropertyIdentifiers {0x0000000D, "PIDDSI_DOCPARTS" }, {0x0000000E, "PIDDSI_MANAGER" }, {0x0000000F, "PIDDSI_COMPANY" }, - {0x00000010, "PIDDSI_LINKSDIRTY" } + {0x00000010, "PIDDSI_LINKSDIRTY" }, + {0x00000011, "PIDDSI_CCHWITHSPACES" }, + {0x00000013, "PIDDSI_SHAREDDOC" }, + {0x00000014, "PIDDSI_LINKBASE" }, + {0x00000015, "PIDDSI_HLINKS" }, + {0x00000016, "PIDDSI_HYPERLINKSCHANGED" }, + {0x00000017, "PIDDSI_VERSION" }, + {0x00000018, "PIDDSI_DIGSIG" }, + {0x0000001A, "PIDDSI_CONTENTTYPE" }, + {0x0000001B, "PIDDSI_CONTENTSTATUS" }, + {0x0000001C, "PIDDSI_LANGUAGE" }, + {0x0000001D, "PIDDSI_DOCVERSION" } }.ToFrozenDictionary(); public static string GetDescription(uint identifier, ContainerType map, IDictionary? customDictionary = null)