This topic has been locked.
Pinned topic CMBDocument.Write PDF Version
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
I am working on a project that takes a pdf document and its CM annotations and presents them as a image to be used in the pdf reader browser plug-in. To accomplish this I use the streaming document services bean load document methed to load the document and annotations from input streams. Then using the CMBDocument write(boolean withAnnotations,boolean originalColorPalette,java.io.OutputStream outStream,java.lang.String writeMimeType) method to write document with the annotations merged with the document to and output stream. To test this step I wrote the merged image to a FileOuputStream. Checking the resulting PDF shows that is always versin 1.4. The orignal PDF version was 1.6. Is there a property somewhere that I can set to keep the PDF version I start with?
gtm 120000HXEC8 Posts
Re: CMBDocument.Write PDF Version2012-04-12T19:40:24ZThis is the accepted answer. This is the accepted answer.When CM annotations are requested with the document on write document, the pages are then images. There is no setting to control the pdf version.
IBM CM Development
Kenneth_IL 1000009BC521 Posts
Re: CMBDocument.Write PDF Version2012-04-17T15:24:47ZThis is the accepted answer. This is the accepted answer.Thanks, we wound up using a third party tool so we could control the PDF version.