pdf handling stubs