Skip to content

Commit

Permalink
Issue #3 Export message, contact et cetera properties to CSV file
Browse files Browse the repository at this point in the history
  • Loading branch information
Dijji committed Sep 25, 2018
1 parent 20a5671 commit 51e3881
Show file tree
Hide file tree
Showing 4 changed files with 197 additions and 10 deletions.
8 changes: 3 additions & 5 deletions MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,11 @@
</Style>
</TreeView.ItemContainerStyle>
</TreeView>
<StackPanel Grid.Row="2" Orientation="Horizontal">
<StackPanel Grid.Row="2" Grid.ColumnSpan="3" Orientation="Horizontal">
<Button Content="Open..." Height="20" HorizontalAlignment="Left" Margin="10,5,0,0" Name="btnOpen" VerticalAlignment="Top" Width="75" Click="btnOpen_Click" />
<Grid Margin="10,0,0,0" >
<TextBlock Name="txtStatus" Margin="10,7,0,0" Width="100" />
<Button Content="Export Folder..." Height="20" Margin="10,0,0,5" Name="btnExportFolder" VerticalAlignment="Bottom" Width="100" Click="btnExportFolder_Click"
<Button Content="Export Folder..." Height="20" Margin="10,0,0,5" Name="btnExportFolder" VerticalAlignment="Bottom" Width="100" Click="btnExportFolder_Click"
Visibility="{Binding CanExportFolder, Converter={StaticResource VisibleIfTrue}}"/>
</Grid>
<TextBlock Name="txtStatus" Margin="10,7,0,0" Width="150" />
</StackPanel>
</Grid>
<GridSplitter Grid.Column="1" Width="3" HorizontalAlignment="Stretch" />
Expand Down
85 changes: 83 additions & 2 deletions NamedProperties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ private class PropSet
PropDesc = new Dictionary<uint, string>
{
{0x00008501, "ReminderDelta" },
{0x00008502, "ReminderTime" },
{0x00008503, "ReminderSet" },
{0x00008506, "Private" },
{0x0000850e, "AgingDontAgeMe" },
Expand All @@ -39,21 +40,71 @@ private class PropSet
{0x00008516, "CommonStart" },
{0x00008517, "CommonEnd" },
{0x00008518, "TaskMode" },
{0x00008520, "VerbStream" },
{0x00008530, "FlagRequest" },
{0x00008552, "CurrentVersion" },
{0x00008554, "CurrentVersionName" },
{0x00008560, "ReminderSignalTime" },
{0x00008578, "undocumented (8578)" },
{0x00008580, "InternetAccountName" },
{0x00008581, "InternetAccountStamp" },
{0x00008582, "UseTnef" },
{0x00008586, "ContactLinkName" },
{0x0000858f, "undocumented (858f)" },
{0x00008596, "undocumented (8596)" },
{0x000085bf, "ValidFlagStringProof" },
{0x000085a0, "ToDoOrdinalDate" },
{0x000085a1, "ToDoSubOrdinal" },
{0x000085a4, "ToDoTitle" },
{0x000085d7, "undocumented (85d7)" },
{0x000085d8, "undocumented (85d8)" },
}
}
},
{ "00062002-0000-0000-c000-000000000046",
new PropSet
{
GuidName = "PSETID_Appointment",
PropDesc = new Dictionary<uint, string>
{
{0x00008200, "undocumented (8200)" },
{0x00008201, "AppointmentSequence" },
{0x00008203, "AppointmentLastSequence" },
{0x00008205, "BusyStatus" },
{0x00008207, "AppointmentAuxiliaryFlags" },
{0x00008208, "Location" },
{0x0000820d, "AppointmentStartWhole" },
{0x0000820e, "AppointmentEndWhole" },
{0x00008213, "AppointmentDuration" },
{0x00008214, "AppointmentColor" },
{0x00008215, "AppointmentSubType" },
{0x00008217, "AppointmentStateFlags" },
{0x00008218, "ResponseStatus" },
{0x00008223, "Recurring" },
{0x00008224, "IntendedBusyStatus" },
{0x00008229, "FInvited" },
{0x00008231, "RecurrenceType" },
{0x00008232, "RecurrencePattern" },
{0x00008234, "TimeZoneDescription" },
{0x00008235, "ClipStart" },
{0x00008236, "ClipEnd" },
{0x0000823a, "AutoFillLocation" },
{0x00008241, "ConferencingType" },
{0x00008242, "Directory" },
{0x00008243, "OrganizerAlias" },
{0x00008245, "undocumented (8245)" },
{0x00008247, "CollaborateDoc" },
{0x00008248, "NetShowUrl" },
{0x00008249, "OnlinePassword" },
{0x00008256, "AppointmentProposedDuration" },
{0x00008257, "AppointmentCounterProposal" },
{0x00008259, "AppointmentProposalNumber" },
{0x0000825a, "AppointmentNotAllowPropose" },
{0x0000825e, "AppointmentTimeZoneDefinitionStartDisplay" },
{0x0000825f, "AppointmentTimeZoneDefinitionEndDisplay" },
}
}
},
{ "00062003-0000-0000-c000-000000000046",
new PropSet
{
Expand All @@ -62,10 +113,23 @@ private class PropSet
{
{0x00008101, "TaskStatus" },
{0x00008102, "PercentComplete" },
{0x00008104, "StartDate" },
{0x00008105, "DueDate" },
{0x00008103, "TeamTask" },
{0x00008104, "TaskStartDate" },
{0x00008105, "TaskDueDate" },
{0x0000810f, "TaskDateCompleted" },
{0x00008110, "TaskActualEffort" },
{0x00008111, "TaskEstimatedEffort" },
{0x00008112, "TaskVersion" },
{0x00008113, "TaskState" },
{0x0000811c, "TaskComplete" },
{0x00008121, "TaskAssigner" },
{0x00008123, "TaskOrdinal" },
{0x00008124, "TaskNoCompute" },
{0x00008126, "TaskFRecurring" },
{0x00008127, "TaskRole" },
{0x00008129, "TaskOwnership" },
{0x0000812a, "TaskAcceptanceState" },
{0x0000812c, "TaskFFixOffline" },
}
}
},
Expand Down Expand Up @@ -133,7 +197,24 @@ private class PropSet
}
}
},
{ "6ed8da90-450b-101b-98da-00aa003f1305",
new PropSet
{
GuidName = "PSETID_Meeting",
PropDesc = new Dictionary<uint, string>
{
{0x00000002, "Where" },
{0x00000003, "GlobalObjectId" },
{0x00000005, "IsRecurring" },
{0x0000000a, "IsException" },
{0x0000001a, "OwnerCriticalChange" },
{0x00000023, "CleanGlobalObjectId" },
{0x00000024, "AppointmentMessageClass" },
}
}
},
{ "00020386-0000-0000-c000-000000000046", new PropSet {GuidName = "PS_INTERNET_HEADERS" } },
{ "23239608-685d-4732-9c55-4c95cb4e8e33", new PropSet {GuidName = "PSETID_XmlExtractedEntities" } },
{ "41f28f13-83f4-4114-a584-eedb5a6b0bff", new PropSet {GuidName = "PSETID_Messaging" } },
};

Expand Down
Loading

0 comments on commit 51e3881

Please sign in to comment.