Using LANSA Integrator's PDFDocumentService, you can have the PDF document to have Encryption level.
You do that by setting the password in the CREATE command, like:
Code: Select all
CREATE DOCUMENT() CONTENT() PASSWORD(ABC)and you can set other "allow" properties using additional values in the XML document like:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<document page-size="letter" allow-modify-contents="false" allow-modify-annotations="false">
<content name="logo_area">
<grid/>
</content>
</document>You can see these values, by opening the PDF in adobe reader, right click and document properties... Show Details, show more information.
I am trying to match this other non LANSA generated PDF document (the image in the LEFT) which while having almost the same values, it allows to open the document without asking for a password, but is encrypted and have almost the same settings... seems that the only difference is this permission, "DOCUMENT OPEN PASSWORD", which is set to NO in the original case (LEFT), but I cannot find how to set in NO in LANSA. LANSA by default, have that in YES (or true). (RIGHT IMAGE)
Does anyone know how to change that default from YES to NO, or TRUE to FALSE for "Document Open Password"?
Thank you.