void function ( boolean arg0 , String arg1 , String arg2 , int arg3 ) { setEncryption ( DocWriter . getISOBytes ( arg1 ) , DocWriter . getISOBytes ( arg2 ) , arg3 , arg0 ) ; }
sets the encryption options for this document . the userpassword and the ownerpassword can be null or have zero length . in this case the ownerpassword is replaced by a random string . the open permissions for the document can be allowprinting , allowmodifycontents , allowcopy , allowmodifyannotations , allowfillin , allowscreenreaders , allowassembly and allowdegradedprinting . the permissions can be combined by oring them . concode_field_sep PdfCopyFormsImp fc concode_field_sep void setOutlines concode_elem_sep void setViewerPreferences concode_elem_sep void copyDocumentFields concode_elem_sep void addJavaScript concode_elem_sep void addViewerPreference concode_elem_sep void addDocument concode_elem_sep void addDocument concode_elem_sep void addDocument concode_elem_sep PdfWriter getWriter concode_elem_sep boolean isFullCompression concode_elem_sep void setFullCompression concode_elem_sep void close concode_elem_sep void open