Skip to content

Commit 3fb71b4

Browse files
author
Nathan McMinn
committed
Fixed extraction of inplace parameter
1 parent 8bc8c0f commit 3fb71b4

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

pdf-toolkit-repo/src/main/java/org/alfresco/extension/pdftoolkit/repo/action/executer/PDFEncryptionActionExecuter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ protected void doEncrypt(Action ruleAction, NodeRef actionedUponNodeRef, Content
189189
options.put(PARAM_ENCRYPTION_LEVEL, ruleAction.getParameterValue(PARAM_ENCRYPTION_LEVEL));
190190
options.put(PARAM_EXCLUDE_METADATA, ruleAction.getParameterValue(PARAM_EXCLUDE_METADATA));
191191
options.put(PARAM_OPTIONS_LEVEL, ruleAction.getParameterValue(PARAM_OPTIONS_LEVEL));
192-
192+
options.put(PARAM_INPLACE, ruleAction.getParameterValue(PARAM_INPLACE));
193+
193194
try
194195
{
195196
this.action(ruleAction, actionedUponNodeRef, actionedUponContentReader, options);

pdf-toolkit-repo/src/main/java/org/alfresco/extension/pdftoolkit/repo/action/executer/PDFInsertAtPageActionExecuter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ protected void doInsert(Action ruleAction, NodeRef actionedUponNodeRef, ContentR
133133
options.put(PARAM_DESTINATION_FOLDER, ruleAction.getParameterValue(PARAM_DESTINATION_FOLDER));
134134
options.put(PARAM_INSERT_AT_PAGE, ruleAction.getParameterValue(PARAM_INSERT_AT_PAGE));
135135
options.put(PARAM_DESTINATION_NAME, ruleAction.getParameterValue(PARAM_DESTINATION_NAME));
136+
options.put(PARAM_INPLACE, ruleAction.getParameterValue(PARAM_INPLACE));
136137

137138
try
138139
{

pdf-toolkit-repo/src/main/java/org/alfresco/extension/pdftoolkit/repo/action/executer/PDFWatermarkActionExecuter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ protected void doWatermark(Action ruleAction, NodeRef actionedUponNodeRef, Conte
205205
options.put(PARAM_PAGE, ruleAction.getParameterValue(PARAM_PAGE));
206206
options.put(PARAM_POSITION, ruleAction.getParameterValue(PARAM_POSITION));
207207
options.put(PARAM_WATERMARK_DEPTH, ruleAction.getParameterValue(PARAM_WATERMARK_DEPTH));
208-
208+
options.put(PARAM_INPLACE, ruleAction.getParameterValue(PARAM_INPLACE));
209+
209210
try
210211
{
211212
if (ruleAction.getParameterValue(PARAM_WATERMARK_TYPE) != null

0 commit comments

Comments
 (0)