internal DocumentProperty this[PIDSI A_0]
 {
     get
     {
         return(this.m_summaryHash[(int)A_0]);
     }
 }
 internal void method_6(PIDSI A_0, object A_1)
 {
     if (this.m_summaryHash.ContainsKey((int)A_0))
     {
         this[A_0].Value = A_1;
     }
     else
     {
         DocumentProperty property = new DocumentProperty((BuiltInProperty)A_0, A_1);
         this.m_summaryHash[(int)A_0] = property;
     }
 }
Ejemplo n.º 3
0
 internal DateTime?GetPropertyValueAsDateTime(PIDSI propid)
 {
     return(GetPropertyValueAsDateTime((uint)propid));
 }
Ejemplo n.º 4
0
 internal T GetPropertyValue <T>(PIDSI propid)
 {
     return(GetPropertyValue <T>((uint)propid));
 }
Ejemplo n.º 5
0
 internal static int GetPropertyValue(this IPropertySetStorage propertySetStorage, PIDSI propid, out PROPVARIANT propvar)
 {
     return(propertySetStorage.GetPropertyValue(FormatId.SummaryInformation, (uint)propid, out propvar));
 }
Ejemplo n.º 6
0
        internal static string GetPropertyName(this IPropertyStorage propertyStorage, PIDSI propid)
        {
            switch (propid)
            {
            case PIDSI.APPNAME:
                return("Name of Creating Application");

            case PIDSI.AUTHOR:
                return("Author");

            case PIDSI.CHARCOUNT:
                return("Number of Characters");

            case PIDSI.COMMENTS:
                return("Comments");

            case PIDSI.CREATE_DTM:
                return("Created");

            case PIDSI.DOC_SECURITY:
                return("Security");

            case PIDSI.EDITTIME:
                return("Total Editing Time");

            case PIDSI.KEYWORDS:
                return("Keywords");

            case PIDSI.LASTAUTHOR:
                return("Last Saved By");

            case PIDSI.LASTPRINTED:
                return("Last Printed");

            case PIDSI.LASTSAVE_DTM:
                return("Last Saved");

            case PIDSI.PAGECOUNT:
                return("Number of Pages");

            case PIDSI.REVNUMBER:
                return("Revision Number");

            case PIDSI.SUBJECT:
                return("Subject");

            case PIDSI.TEMPLATE:
                return("Template");

            case PIDSI.THUMBNAIL:
                return("Thumbnail");

            case PIDSI.TITLE:
                return("Title");

            case PIDSI.WORDCOUNT:
                return("Number of Words");

            default:
                return(String.Empty);
            }
        }
Ejemplo n.º 7
0
 public void method_7(PIDSI A_0)
 {
     this.struct8_0.intptr_0 = (IntPtr)1L;
     this.struct8_0.intptr_1 = (IntPtr)((long)A_0);
 }