OFBIZ-6504 - Create PDF with password Protected in OFBiz

Add an example to protect a pdf generated by FOP with owner password and user password.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1690515 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shi Jinghai
2015-07-12 19:46:54 +00:00
parent 0995108dfc
commit 75bcea9b8b
10 changed files with 304 additions and 0 deletions
+17
View File
@@ -494,4 +494,21 @@ under the License.
</widgets>
</section>
</screen>
<screen name="ExampleReportPdfOptions">
<section>
<actions>
<set field="titleProperty" value="PageTitleSetExamplePdfPassword"/>
<set field="tabButtonItem" value="EditExample"/>
<set field="exampleId" from-field="parameters.exampleId"/>
</actions>
<widgets>
<decorator-screen name="CommonExampleDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<include-form name="SetExamplePdfPassword" location="component://example/widget/example/ExampleForms.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
</screens>