Condition PowerPoint PPT and PDF Documents