1
|
<font color=
"#555555"
>1<br>2<br>3<br>4<br></font>
|
1
|
<result name=<font class=
"java-string"
>
"success"
</font> type=<font class=
"java-string"
>
"jasper"
</font>> <param name=<font class=
"java-string"
>
"exportParameters"
</font>>exportMap</param> ...</result>
|
1
|
<font color=
"#555555"
>1<br>2<br>3<br>4<br>5<br>6<br></font>
|
1
|
<font class=
"java-reserved_word"
>public</font> Map<JRPdfExporterParameter, Object> getExportMap() <font class=
"java-bracket"
>{</font>??Map<JRPdfExporterParameter, Object> exportMap = <font class=
"java-reserved_word"
>
new
</font> HashMap<JRPdfExporterParameter, Object>();??exportMap.put(JRPdfExporterParameter.IS_ENCRYPTED, <font class=
"java-reserved_word"
>
true
</font>);??exportMap.put(JRPdfExporterParameter.USER_PASSWORD, <font class=
"java-string"
>
"520"
</font>);??<font class=
"java-reserved_word"
>
return
</font> exportMap;<font class=
"java-bracket"
>}</font>
|
1
|
<font color=
"#555555"
>1<br>2<br>3<br></font>
|
1
|
exportMap.put(JRPdfExporterParameter.IS_128_BIT_KEY, <font class=
"java-reserved_word"
>
true
</font>);exportMap.put(JRPdfExporterParameter.OWNER_PASSWORD, <font class=
"java-string"
>
"5201314"
</font>);exportMap.put(JRPdfExporterParameter.PERMISSIONS, PdfWriter.AllowDegradedPrinting);
|