Ejemplo 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();
     }
 }
Ejemplo 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();
     }
 }