private void buttonShowDocumentDetail_Click(object sender, RibbonControlEventArgs e) { if (Globals.ThisAddIn.Application.ActivePresentation != null) { PowerPoint2007OfficeDocument document = new PowerPoint2007OfficeDocument(Globals.ThisAddIn.Application.ActivePresentation); document.showDocumentDetail(); } }
private void buttonCleanPropeties_Click(object sender, RibbonControlEventArgs e) { if (Globals.ThisAddIn.Application.ActivePresentation != null) { PowerPoint2007OfficeDocument document = new PowerPoint2007OfficeDocument(Globals.ThisAddIn.Application.ActivePresentation); document.DeleteAsociation(); } }