Exemple #1
0
        public override void AddContentTableColumns(NamedTableContext contentsTable)
        {
            base.AddContentTableColumns(contentsTable);

            contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidSideEffects, PropertyTypeName.PtypInteger32);
            contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidHeaderItem, PropertyTypeName.PtypInteger32);
        }
Exemple #2
0
 /// <summary>
 /// Add columns if not exist
 /// </summary>
 public virtual void AddContentTableColumns(NamedTableContext contentsTable)
 {
     contentsTable.AddPropertyColumnIfNotExist(PropertyID.PidTagIconIndex, PropertyTypeName.PtypInteger32);
     contentsTable.AddPropertyColumnIfNotExist(PropertyID.PidTagSearchKey, PropertyTypeName.PtypBinary);
     contentsTable.AddPropertyColumnIfNotExist(PropertyID.PidTagInternetMessageId, PropertyTypeName.PtypString);
     contentsTable.AddPropertyColumnIfNotExist(PropertyID.PidTagFlagStatus, PropertyTypeName.PtypInteger32);
     contentsTable.AddPropertyColumnIfNotExist(PropertyID.PidTagReplyTime, PropertyTypeName.PtypTime);
 }
Exemple #3
0
        public override void AddContentTableColumns(NamedTableContext contentsTable)
        {
            base.AddContentTableColumns(contentsTable);

            contentsTable.AddPropertyColumnIfNotExist(PropertyID.PidTagCreationTime, PropertyTypeName.PtypTime);

            contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidRecurring, PropertyTypeName.PtypBoolean);
            contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidAppointmentEndWhole, PropertyTypeName.PtypTime);
            contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidSideEffects, PropertyTypeName.PtypInteger32);
            contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidHeaderItem, PropertyTypeName.PtypInteger32);
            contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidAppointmentStateFlags, PropertyTypeName.PtypInteger32);
            contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidFInvited, PropertyTypeName.PtypBoolean);
            contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidAppointmentColor, PropertyTypeName.PtypInteger32);
            contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidTimeZoneStruct, PropertyTypeName.PtypBinary);
            contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidLocation, PropertyTypeName.PtypString);
            contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidReminderSet, PropertyTypeName.PtypBoolean);
            contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidAppointmentRecur, PropertyTypeName.PtypBinary);
            contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidAppointmentSubType, PropertyTypeName.PtypBoolean);
            contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidBusyStatus, PropertyTypeName.PtypInteger32);
            contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidAppointmentStartWhole, PropertyTypeName.PtypTime);
            contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidMeetingWorkspaceUrl, PropertyTypeName.PtypString);

            if (this.File.WriterCompatibilityMode >= WriterCompatibilityMode.Outlook2010RTM)
            {
                contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidTimeZoneDescription, PropertyTypeName.PtypString);
                contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidAppointmentTimeZoneDefinitionRecur, PropertyTypeName.PtypBinary);
                contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidAppointmentTimeZoneDefinitionStartDisplay, PropertyTypeName.PtypBinary);
                contentsTable.AddPropertyColumnIfNotExist(PropertyNames.PidLidAppointmentTimeZoneDefinitionEndDisplay, PropertyTypeName.PtypBinary);
            }
        }