BUG-13914 Browser not recognizing PDF Output Document

New feature added in Output Document Properties and new column added in OUTPUT DOCUMENT table.
This commit is contained in:
norahmollo
2014-03-19 15:20:39 -04:00
parent ad6eb8a775
commit d35466aa64
10 changed files with 10 additions and 5 deletions

View File

@@ -7,6 +7,7 @@ include_once 'creole/CreoleTypes.php';
/**
* This class adds structure of 'OUTPUT_DOCUMENT' table to 'workflow' DatabaseMap object.
*
*
* These statically-built map classes are used by Propel to do runtime db structure discovery.
* For example, the createSelectSql() method checks the type of a given column used in an
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive

View File

@@ -12,6 +12,7 @@ include_once 'classes/model/OutputDocumentPeer.php';
* Base class that represents a row from the 'OUTPUT_DOCUMENT' table.
*
*
*
* @package workflow.classes.model.om
*/
abstract class BaseOutputDocument extends BaseObject implements Persistent

View File

@@ -9,6 +9,7 @@ include_once 'classes/model/OutputDocument.php';
* Base static class for performing query and update operations on the 'OUTPUT_DOCUMENT' table.
*
*
*
* @package workflow.classes.model.om
*/
abstract class BaseOutputDocumentPeer

View File

@@ -740,7 +740,6 @@
<column name="LEX_VALUE" type="VARCHAR" size="128" required="true" default=""/>
<column name="LEX_CAPTION" type="VARCHAR" size="128" required="true" default=""/>
</table>
<table name="OUTPUT_DOCUMENT">
<vendor type="mysql">
<parameter name="Name" value="OUTPUT_DOCUMENT"/>
@@ -798,7 +797,6 @@
<rule name="validValues" value="HTML|ITEXT|JRXML|ACROFORM" message="Please select a valid Output Document Type."/>
</validator>
</table>
<table name="PROCESS">
<vendor type="mysql">
<parameter name="Name" value="PROCESS"/>

View File

@@ -852,6 +852,7 @@ CREATE TABLE [OUTPUT_DOCUMENT]
[OUT_DOC_PDF_SECURITY_OPEN_PASSWORD] VARCHAR(32) default '' NULL,
[OUT_DOC_PDF_SECURITY_OWNER_PASSWORD] VARCHAR(32) default '' NULL,
[OUT_DOC_PDF_SECURITY_PERMISSIONS] VARCHAR(150) default '' NULL,
[OUT_DOC_OPEN_TYPE] INT default 0 NULL,
CONSTRAINT OUTPUT_DOCUMENT_PK PRIMARY KEY ([OUT_DOC_UID])
);

View File

@@ -374,6 +374,7 @@ CREATE TABLE `OUTPUT_DOCUMENT`
`OUT_DOC_PDF_SECURITY_OPEN_PASSWORD` VARCHAR(32) default '',
`OUT_DOC_PDF_SECURITY_OWNER_PASSWORD` VARCHAR(32) default '',
`OUT_DOC_PDF_SECURITY_PERMISSIONS` VARCHAR(150) default '',
`OUT_DOC_OPEN_TYPE` INTEGER default 0,
PRIMARY KEY (`OUT_DOC_UID`)
)ENGINE=InnoDB DEFAULT CHARSET='utf8';
#-----------------------------------------------------------------------------

View File

@@ -470,7 +470,8 @@ CREATE TABLE "OUTPUT_DOCUMENT"
"OUT_DOC_PDF_SECURITY_ENABLED" NUMBER(3,0) default 0,
"OUT_DOC_PDF_SECURITY_OPEN_PASSWORD" VARCHAR2(32) default '',
"OUT_DOC_PDF_SECURITY_OWNER_PASSWORD" VARCHAR2(32) default '',
"OUT_DOC_PDF_SECURITY_PERMISSIONS" VARCHAR2(150) default ''
"OUT_DOC_PDF_SECURITY_PERMISSIONS" VARCHAR2(150) default '',
"OUT_DOC_OPEN_TYPE" NUMBER default 0
);
ALTER TABLE "OUTPUT_DOCUMENT"

View File

@@ -36,6 +36,7 @@ if (!isset($_SESSION['USER_LOGGED'])) {
*
* Created on 13-02-2008
*
*
* @author David Callizaya <davidsantos@colosa.com>
*/

View File

@@ -126,7 +126,6 @@
</tr>
<tr>
<td class="FormLabel" width="{$form_labelWidth}">{$OUT_DOC_OPEN_TYPE}</td>
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.OUT_DOC_OPEN_TYPE} </td> //-->
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.OUT_DOC_OPEN_TYPE}</td>
</tr>
<tr>

View File

@@ -116,6 +116,7 @@
</ACCEPT>
<JS type="JavaScript"><![CDATA[
var _oVarsPanel_;
var showDynaformsFormVars = function(sFieldName, sAjaxServer, sProcess, sSymbol) {
_oVarsPanel_ = new leimnud.module.panel();
@@ -196,7 +197,6 @@ var verifyTitle = function(oForm)
}
function cancel(){
currentPopupWindow.remove();
}
@@ -231,5 +231,6 @@ leimnud.event.add(getField('OUT_DOC_GENERATE'), 'change', function() {
showPdfSecuritySwitch();
togglePDFSecurity();
]]></JS>
</dynaForm>