public HPDF_STATUS saveToStream()

Saves the document to a temporary stream.