oops, fix generating conditional is_pdf and is_ppt in raw PDFView class