support for pdf::writer streams and indirect objects