internal DocumentProperty this[PIDDSI A_0]
 {
     get
     {
         return(this.dictionary_0[(int)A_0]);
     }
 }
 internal void method_9(PIDDSI A_0, object A_1)
 {
     if (this.dictionary_0.ContainsKey((int)A_0))
     {
         this[A_0].Value = A_1;
     }
     else
     {
         DocumentProperty property = new DocumentProperty((BuiltInProperty)A_0, A_1);
         this.dictionary_0[(int)A_0] = property;
     }
 }
Esempio n. 3
0
 internal T GetPropertyValue <T>(PIDDSI propid)
 {
     return(GetPropertyValue <T>((uint)propid));
 }
Esempio n. 4
0
 internal static int GetPropertyValue(this IPropertySetStorage propertySetStorage, PIDDSI propid, out PROPVARIANT propvar)
 {
     return(propertySetStorage.GetPropertyValue(FormatId.DocSummaryInformation, (uint)propid, out propvar));
 }
Esempio n. 5
0
        internal static string GetPropertyName(this IPropertyStorage propertyStorage, PIDDSI propid)
        {
            switch (propid)
            {
            case PIDDSI.BYTECOUNT:
                return("Bytes");

            case PIDDSI.CATEGORY:
                return("Category");

            case PIDDSI.COMPANY:
                return("Company");

            case PIDDSI.DOCPARTS:
                return("Titles of Parts");

            case PIDDSI.HEADINGPAIR:
                return("Heading Pairs");

            case PIDDSI.HIDDENCOUNT:
                return("Hidden Slides");

            case PIDDSI.LINECOUNT:
                return("Lines");

            case PIDDSI.LINKSDIRTY:
                return("Links Up To Date");

            case PIDDSI.MANAGER:
                return("Manager");

            case PIDDSI.MMCLIPCOUNT:
                return("MMClips");

            case PIDDSI.NOTECOUNT:
                return("Notes");

            case PIDDSI.PARCOUNT:
                return("Paragraphs");

            case PIDDSI.PRESFORMAT:
                return("Presentation Target");

            case PIDDSI.SCALE:
                return("Scale Crop");

            case PIDDSI.SLIDECOUNT:
                return("Slides");

            default:
                return(String.Empty);
            }
        }
Esempio n. 6
0
 public void method_9(PIDDSI A_0)
 {
     this.struct8_0.intptr_1 = (IntPtr)((long)A_0);
 }