Hi,

I'm trying to set the document restrictions for a PDF.  Most of
them seem to work, but I'm having trouble setting:

Document Assembly
Page Extraction

(see http://www.fysh.org/~davet/pdf_document_properties.png )

using:

  pdfEncryptionParams.setAllowAccessContent(true);
  pdfEncryptionParams.setAllowAssembleDocument(true);
  foUserAgent.getRendererOptions().put("encryption-params", 
pdfEncryptionParams);

(see
     http://www.fysh.org/~davet/SimpleFop.java.txt 
     http://www.fysh.org/~davet/fop.simple.xml
     http://www.fysh.org/~davet/myfile.pdf
  )

(I have disabled printing there just to prove that it's using the
params object at all).

Those restrictions (Document Assembly, Page Extraction) are also
not allowed if I don't use pdfEncryptionParams at all.


-- 
dave thorn

Hi, I'm from the Internet.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to