Name

sn_ppt_export.GeneratePPTConstants

Description

Content-Generation The purpose of this script include to keep all the constant values. Warning Customers should not modify this file.

Script

var GeneratePPTConstants = Class.create();

GeneratePPTConstants.RESTRICTED_SLIDE_COUNT = 50;
GeneratePPTConstants.TEMPLATE_TABLENAME = "sn_ppt_export_ppt_template";
GeneratePPTConstants.TEMPLATE_TABLE_PARSED_JSON_FIELD_NAME = "parsed_json";
GeneratePPTConstants.TEMPLATE_TABLE_PARSE_ERROR_FIELD_NAME = "parse_error";
GeneratePPTConstants.TEMPLATE_TABLE_REFERENCED_REPORT_TYPE_FIELD_NAME = "report_type";
GeneratePPTConstants.REPORT_TYPE_TABLENAME = "sn_ppt_export_ppt_report_type";
GeneratePPTConstants.RELATED_TYPE_TABLENAME = "sn_ppt_export_ppt_related_table";
GeneratePPTConstants.POWERPOINT_COMPONENTS_TABLE = 'sn_ppt_export_ppt_element';
GeneratePPTConstants.SCRIPTED_ELEMENT_TABLENAME = "sn_ppt_export_ppt_scripted_element";
GeneratePPTConstants.SCRIPTED_ELEMENT_TABLE_REFERENCED_REPORT_TYPE_FIELD_NAME = "report_type";
GeneratePPTConstants.PPT_CONTENT_TYPE = "application/vnd.openxmlformats-officedocument.presentationml.presentation";
GeneratePPTConstants.PARSE = "parse";
GeneratePPTConstants.GENERATE = "generate";
GeneratePPTConstants.PARSE_URL_PATTERN = "/pptgen_parse";
GeneratePPTConstants.GENERATE_URL_PATTERN = "/pptgen_process";
GeneratePPTConstants.DEFAULT_DATA_TYPES =[
  {value:'text',name: gs.getMessage('Text')},{value:'table',name:gs.getMessage('Table')},{value:'repeater',name:gs.getMessage('Repeater')}
];
GeneratePPTConstants.ImageSrc = {
  'sn_ppt_export.line_chart.png':'b60806e377e49510c974206acd5a99cc',
  'sn_ppt_export.bar_chart.png':'c997c22377e49510c974206acd5a99e3'
};

GeneratePPTConstants.PPT_OPERATION_STATUS_TABLENAME = "sn_ppt_export_ppt_poi_service_request_log";
GeneratePPTConstants.OPERATION_STATUS_FIELDNAME = "request_status";
GeneratePPTConstants.OPERATION_STATUS_ATTACHMENT_FIELDNAME = "ppt_attachment";
GeneratePPTConstants.OPERATION_TYPE_FIELDNAME = "request_type";
GeneratePPTConstants.OPERATION_STATUS_MESSAGE_FIELDNAME = "message";
GeneratePPTConstants.OPERATION_STATUS_PROCESSED_ID_FIELDNAME = "template";
GeneratePPTConstants.OPERATION_STATUS_REPORT_TYPE_FIELDNAME = "report_type";
GeneratePPTConstants.MAX_NUMBER_ARRAY_LIMIT = gs.getProperty("com.sn_ppt_export.max_rows_for_table", 10);
GeneratePPTConstants.PPT_TEMPLATE_SIZE_LIMIT_IN_MB = 15;
GeneratePPTConstants.FORMATTER_MAPPING = "sn_ppt_export_ppt_formatter_mapping";
GeneratePPTConstants.CELL_FORMATTER = 'sn_ppt_export_ppt_cell_formatter';

Sys ID

00088e5e53310110b595ddeeff7b1228

Offical Documentation

Official Docs: