document viewer stubs