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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user