Esempio n. 1
0
 private void buttonShowDocumentDetail_Click(object sender, RibbonControlEventArgs e)
 {
     if (Globals.ThisAddIn.Application.ActivePresentation != null)
     {
         PowerPoint2010OfficeDocument document = new PowerPoint2010OfficeDocument(Globals.ThisAddIn.Application.ActivePresentation);
         document.showDocumentDetail();
     }
 }
Esempio n. 2
0
 private void buttonCleanPropeties_Click(object sender, RibbonControlEventArgs e)
 {
     if (Globals.ThisAddIn.Application.ActivePresentation != null)
     {
         PowerPoint2010OfficeDocument document = new PowerPoint2010OfficeDocument(Globals.ThisAddIn.Application.ActivePresentation);
         document.DeleteAsociation();
     }
 }