diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_html.html b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_html.html new file mode 100644 index 0000000000000000000000000000000000000000..b342652b3fb9aac4552cbaaf43857d2b7481791f --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_html.html @@ -0,0 +1,58 @@ +<!doctype html> +<html> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <title>OfficeJS Jio PDF View</title> + + <script src="rsvp.js"></script> + <script src="renderjs.js"></script> + <script src="handlebars.js"></script> + + <script class="view-web-page-template" type="text/x-handlebars-template"> + + <form class="view-web-page-form"> + <div class="center"> + <div class="ui-field-contain"> + <label data-i18n="Title:">Title:</label> + <div class="ui-input-text ui-body-inherit ui-corner-all ui-shadow-inset"> + <input type="text" name="title" value="{{title}}"> + </div> + </div> + <button type="submit" data-i18n="Save" style="display:none;">Save</button> + + <div class="ui-field-contain"> + <label data-i18n="Reference:">Reference:</label> + <input type="text" name="reference" value="{{reference}}"> + </div> + + <div class="ui-field-contain"> + <label data-i18n="Version:">Version:</label> + <input type="text" name="version" value="{{version}}"></label> + </div> + + <div class="ui-field-contain"> + <label data-i18n="Language:">Language:</label> + <input type="text" name="language" value="{{language}}"> + </div> + + <div class="ui-field-contain"> + <label data-i18n="Description:">Description:</label> + <textarea name="description">{{description}}</textarea> + </div> + + <div class='document-content'></div> + </div> + </div> + </form> + + </script> + + <script src="gadget_officejs_jio_pdf_view.js"></script> + + </head> + + <body> + </body> +</html> \ No newline at end of file diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..39d07c0524f96f8b070e504c04f0233b5a16ebf1 --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_html.xml @@ -0,0 +1,327 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_officejs_jio_pdf_view.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_officejs_jio_pdf_view_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Gadget Officejs PDF Viewer View</string> </value> + </item> + <item> + <key> <string>url_string</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486721460.37</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>957.14780.57195.40277</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486719196.44</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486719131.23</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_js.js b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_js.js new file mode 100644 index 0000000000000000000000000000000000000000..e97869ec41d2a53d429c827eb9719ab4b34bd89a --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_js.js @@ -0,0 +1,244 @@ +/*globals window, rJS, Handlebars, RSVP, loopEventListener, console, URL*/ +/*jslint indent: 2, nomen: true, maxlen: 80*/ +(function (window, RSVP, rJS, Handlebars, loopEventListener, URL) { + "use strict"; + + function saveContent(gadget, submit_event) { + var i, + doc = gadget.options.doc, + now = new Date(), + blob; + doc.parent_relative_url = "document_module"; + doc.portal_type = "PDF"; + doc.modification_date = now.toISOString(); + for (i = 0; i < submit_event.target.length; i += 1) { + // XXX Should check input type instead + if (submit_event.target[i].name) { + doc[submit_event.target[i].name] = submit_event.target[i].value; + } + } + + return RSVP.Queue() + .push(function () { + return gadget.getDeclaredGadget("my_text_content"); + }) + .push(function (text_content_gadget) { + return text_content_gadget.getContent(); + }) + .push(function (dataURI) { + if (dataURI.text_content === "data:") { + return new Blob([''], {type: 'application/pdf'}); + } + return jIO.util.dataURItoBlob(dataURI['text_content']); + }) + .push(function(blob) { + return RSVP.all([ + gadget.put(gadget.options.jio_key, doc), + gadget.putAttachment(gadget.options.jio_key, "data", blob) + ]); + }); + } + + function maximize(gadget) { + var iframe = gadget.props.element.querySelector('iframe'), + iframe_class_string = iframe.getAttribute('class') || "", + class_name = "ui-content-maximize", + class_index = iframe_class_string.indexOf(class_name); + if (class_index === -1) { + iframe_class_string += ' ' + class_name; + iframe.setAttribute('style', ''); + iframe.setAttribute('class', iframe_class_string); + return; + } + iframe_class_string = iframe_class_string.substring(0, class_index) + + iframe_class_string.substring(class_index + class_name.length); + iframe.setAttribute('style', 'width:100%; border: 0 none; height: 600px'); + iframe.setAttribute('class', iframe_class_string); + return; + } + + var gadget_klass = rJS(window), + source = gadget_klass.__template_element + .querySelector(".view-web-page-template") + .innerHTML, + template = Handlebars.compile(source); + + + gadget_klass + .ready(function (g) { + g.props = {}; + g.options = null; + return g.getElement() + .push(function (element) { + g.props.element = element; + g.props.deferred = RSVP.defer(); + }); + }) + + .declareAcquiredMethod("updateHeader", "updateHeader") + .declareAcquiredMethod("get", "jio_get") + .declareAcquiredMethod("translateHtml", "translateHtml") + .declareAcquiredMethod("put", "jio_put") + .declareAcquiredMethod("putAttachment", "jio_putAttachment") + .declareAcquiredMethod("getAttachment", "jio_getAttachment") + .declareAcquiredMethod("redirect", "redirect") + + .allowPublicAcquisition('triggerMaximize', function () { + var gadget = this; + return RSVP.Queue() + .push(function () { + return maximize(gadget); + }) + .fail(function (e) { + console.log(e); + }); + }) + + .allowPublicAcquisition('triggerSubmit', function (option) { + if (option[0] === "maximize" || option === "maximize") { + var gadget = this; + return RSVP.Queue() + .push(function () { + return maximize(gadget); + }); + } + return this.props.element.querySelector('button').click(); + }) + + .declareMethod('triggerSubmit', function (option) { + if (option[0] === "maximize" || option === "maximize") { + var gadget = this; + return RSVP.Queue() + .push(function () { + return maximize(gadget); + }); + } + return this.props.element.querySelector('button').click(); + }) + + .declareMethod("render", function (options) { + var gadget = this; + gadget.options = options; + gadget.options.doc.title = gadget.options.doc.title || ""; + return new RSVP.Queue() + .push(function () { + return gadget.translateHtml(template(options.doc)); + }) + .push(function (html) { + gadget.props.element.innerHTML = html; + return gadget.updateHeader({ + title: options.doc.title + " | PDF", + save_action: true, + maximize_action: true, + maximized: gadget.options.doc.title !== "" + }); + }) + .push(function() { + return gadget.getAttachment(gadget.options.jio_key, "data"); + }) + .push( + function (blob_result) { + gadget.props.blob = blob_result; + return gadget.props.deferred.resolve(); + }, function (error) { + if (error.status_code === 404) { + gadget.props.blob = new Blob([''], {type: 'application/pdf'}); + return gadget.props.deferred.resolve(); + } + throw new Error(error); + }); + }) + + ///////////////////////////////////////// + // Render text content gadget + ///////////////////////////////////////// + .declareService(function () { + var gadget = this, + image_content_gadget; + + return new RSVP.Queue() + .push(function () { + return gadget.props.deferred.promise; + }) + .push(function () { + return gadget.declareGadget( + "../../officejs_pdf_viewer_gadget/development/", + { + scope: "my_text_content", + sandbox: "iframe", + element: gadget.props.element.querySelector(".document-content") + } + ); + }) + .push(function (image_gadget) { + image_content_gadget = image_gadget; + var iframe = gadget.props.element.querySelector('iframe'); + iframe.setAttribute( + 'style', + 'width:100%; border: 0 none; height: 600px' + ); + iframe.setAttribute( + 'allowFullScreen','' + ) + return jIO.util.readBlobAsDataURL(gadget.props.blob); + }) + .push(function (dataURL) { + if (dataURL.target.result.split('data:')[1] === '') { + dataURL = ''; + } else { + dataURL = dataURL.target.result.split(/data:application\/.*;base64,/)[1]; + } + return image_content_gadget.render({ + "key": 'text_content', + "value": dataURL, + "name": gadget.options.jio_key + }); + }) + .push(function () { + if (gadget.options.doc.title !== "") { + return gadget.triggerSubmit("maximize"); + } + }) + .push(undefined, function (error) { + var display_error_element; + if (error.indexOf("Timed out after ") === 0) { + display_error_element = + gadget.props.element.querySelector( + "form div.center" + ); + display_error_element.innerHTML = + '<br/><p style="color: red"></p><br/><br/>' + + display_error_element.innerHTML; + display_error_element.querySelector('p').textContent = + "TIMEOUT: The editor gadget is taking too long to load but is" + + " currently being cached, please wait for the page to load" + + " (check your browser loading icon) and then refresh."; + } else { + throw error; + } + }); + }) + + ///////////////////////////////////////// + // Form submit + ///////////////////////////////////////// + .declareService(function () { + var gadget = this; + + return new RSVP.Queue() + .push(function () { + return gadget.props.deferred.promise; + }) + .push(function () { + return loopEventListener( + gadget.props.element.querySelector('form'), + 'submit', + true, + function (event) { + return saveContent(gadget, event); + } + ); + }); + }); + +}(window, RSVP, rJS, Handlebars, loopEventListener, URL)); \ No newline at end of file diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_js.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..ef11010331ef3a134c09cd80c382182b96a89015 --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_js.xml @@ -0,0 +1,323 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_officejs_jio_pdf_view.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_officejs_jio_pdf_view_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>OfficeJS Jio PDF View JS</string> </value> + </item> + <item> + <key> <string>url_string</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486721459.79</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>957.14783.11634.53896</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486720491.17</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486719203.78</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_appcache.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_appcache.xml new file mode 100644 index 0000000000000000000000000000000000000000..c3f6d1e5d470b3769c4d157adb5d89312e45cf87 --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_appcache.xml @@ -0,0 +1,411 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Manifest" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>contributor/person_module/1</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_officejs_pdf_viewer.appcache</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_officejs_pdf_viewer_appcache</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Manifest</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +CACHE MANIFEST\n +# generated on Fri, 09 Jun 2016 11:45:33 +0000\n +# XXX + fonts\n +# images/ajax-loader.gif\n +CACHE:\n +https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css\n +https://netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.eot?v=4.2.0\n +https://netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.eot?#iefix&v=4.2.0\n +https://netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.woff?v=4.2.0\n +https://netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.ttf?v=4.2.0\n +https://netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular\n +jio_mappingstorage.js\n +gadget_officejs_liberator.js\n +gadget_officejs_liberator.html\n +URI.js\n +dygraph.js\n +gadget_erp5.css\n +gadget_global.js\n +gadget_jio.html\n +gadget_jio.js\n +gadget_translate.html\n +gadget_translate.js\n +handlebars.js\n +jiodev.js\n +jquery.js\n +jquerymobile.css\n +jquerymobile.js\n +renderjs.js\n +rsvp.js\n +gadget_officejs_header.html\n +gadget_officejs_jio.html\n +gadget_officejs_page_add_document.html\n +gadget_officejs_page_jio_configurator.html\n +gadget_officejs_page_jio_dav_configurator.html\n +gadget_officejs_page_jio_erp5_configurator.html\n +gadget_officejs_page_jio_dropbox_configurator.html\n +gadget_officejs_page_login.html\n +gadget_officejs_page_logout.html\n +gadget_officejs_page_share_webrtc_jio.html\n +gadget_officejs_page_sync.html\n +gadget_officejs_page_document_list.html\n +gadget_officejs_application_panel.html\n +gadget_translation.html\n +gadget_officejs_webrtc_jio.html\n +gadget_officejs_widget_listbox.html\n +gadget_erp5_editor_panel.html\n +gadget_erp5_editor_panel.js\n +gadget_officejs_header.js\n +gadget_officejs_jio.js\n +gadget_officejs_page_add_document.js\n +gadget_officejs_page_jio_configurator.js\n +gadget_officejs_page_jio_dav_configurator.js\n +gadget_officejs_page_jio_erp5_configurator.js\n +gadget_officejs_page_jio_dropbox_configurator.js\n +gadget_officejs_page_login.js\n +gadget_officejs_page_logout.js\n +gadget_officejs_page_share_webrtc_jio.js\n +gadget_officejs_page_sync.js\n +gadget_officejs_page_document_list.js\n +gadget_officejs_router.js\n +gadget_officejs_application_panel.js\n +gadget_translation.js\n +gadget_translation_data.js\n +gadget_officejs_webrtc_jio.js\n +gadget_officejs_widget_listbox.js\n +erp5_launcher.js\n +erp5_launcher.html\n +gadget_officejs_pdf_viewer_router.html\n +gadget_officejs_jio_pdf_view.html\n +gadget_officejs_jio_pdf_view.js\n +pdf_viewer_landing_page.html\n +NETWORK:\n +* + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>PDF Viewer OfficeJS AppCache</string> </value> + </item> + <item> + <key> <string>url_string</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486721459.13</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>957.14787.36162.42888</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486721111.18</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486719473.73</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_gadget_appcache.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_gadget_appcache.xml new file mode 100644 index 0000000000000000000000000000000000000000..58d7773a21e9e59bc967cb587119c35be974c724 --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_gadget_appcache.xml @@ -0,0 +1,589 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Manifest" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>contributor/person_module/1</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_officejs_pdf_viewer_gadget.appcache</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_officejs_pdf_viewer_gadget_appcache</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Manifest</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +CACHE MANIFEST\n +# generated on Fri, 09 Jun 2016 11:45:33 +0000\n +# XXX + fonts\n +# images/ajax-loader.gif\n +CACHE:\n +gadget_officejs_liberator.js\n +gadget_officejs_liberator.html\n +https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css\n +https://netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.eot?v=4.2.0\n +https://netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.eot?#iefix&v=4.2.0\n +https://netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.woff?v=4.2.0\n +https://netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.ttf?v=4.2.0\n +https://netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular\n +handlebars.js\n +rsvp.js\n +renderjs.js\n +gadget_officejs_pdf_viewer.js\n +gadget_officejs_pdf_viewer.html\n +pdf_js/rsvp.js\n +pdf_js/renderjs.js\n +pdf_js/images/toolbarButton-pageUp.png\n +pdf_js/images/annotation-insert.svg\n +pdf_js/images/annotation-paragraph.svg\n +pdf_js/images/secondaryToolbarButton-rotateCcw.png\n +pdf_js/images/grab.cur\n +pdf_js/images/treeitem-collapsed-rtl.png\n +pdf_js/images/toolbarButton-presentationMode.png\n +pdf_js/images/secondaryToolbarButton-firstPage.png\n +pdf_js/images/toolbarButton-zoomIn.png\n +pdf_js/images/toolbarButton-pageDown.png\n +pdf_js/images/toolbarButton-search.png\n +pdf_js/images/findbarButton-next.png\n +pdf_js/images/annotation-note.svg\n +pdf_js/images/shadow.png\n +pdf_js/images/texture.png\n +pdf_js/images/loading-icon.gif\n +pdf_js/images/toolbarButton-sidebarToggle.png\n +pdf_js/images/toolbarButton-pageDown-rtl.png\n +pdf_js/images/toolbarButton-menuArrows.png\n +pdf_js/images/toolbarButton-secondaryToolbarToggle-rtl.png\n +pdf_js/images/annotation-comment.svg\n +pdf_js/images/treeitem-collapsed.png\n +pdf_js/images/secondaryToolbarButton-handTool.png\n +pdf_js/images/annotation-newparagraph.svg\n +pdf_js/images/toolbarButton-sidebarToggle-rtl.png\n +pdf_js/images/secondaryToolbarButton-lastPage.png\n +pdf_js/images/toolbarButton-secondaryToolbarToggle.png\n +pdf_js/images/grabbing.cur\n +pdf_js/images/annotation-help.svg\n +pdf_js/images/toolbarButton-viewOutline-rtl.png\n +pdf_js/images/toolbarButton-openFile.png\n +pdf_js/images/toolbarButton-viewOutline.png\n +pdf_js/images/annotation-check.svg\n +pdf_js/images/annotation-noicon.svg\n +pdf_js/images/loading-small.png\n +pdf_js/images/secondaryToolbarButton-rotateCw.png\n +pdf_js/images/findbarButton-next-rtl.png\n +pdf_js/images/toolbarButton-bookmark.png\n +pdf_js/images/findbarButton-previous.png\n +pdf_js/images/toolbarButton-download.png\n +pdf_js/images/secondaryToolbarButton-documentProperties.png\n +pdf_js/images/annotation-key.svg\n +pdf_js/images/toolbarButton-zoomOut.png\n +pdf_js/images/toolbarButton-print.png\n +pdf_js/images/toolbarButton-pageUp-rtl.png\n +pdf_js/images/findbarButton-previous-rtl.png\n +pdf_js/images/toolbarButton-viewAttachments.png\n +pdf_js/images/treeitem-expanded.png\n +pdf_js/images/toolbarButton-viewThumbnail.png\n +pdf_js/compatibility.js\n +pdf_js/viewer.css\n +pdf_js/viewer.js\n +pdf_js/l10n.js\n +pdf_js/locale/uk/viewer.properties\n +pdf_js/locale/en-US/viewer.properties\n +pdf_js/locale/locale.properties\n +pdf_js/locale/en-GB/viewer.properties\n +pdf_js/build/pdf.js\n +pdf_js/build/pdf.worker.js\n +pdf_js/cmaps/UniJIS2004-UTF8-H.bcmap\n +pdf_js/cmaps/Hankaku.bcmap\n +pdf_js/cmaps/UniKS-UTF32-V.bcmap\n +pdf_js/cmaps/UniGB-UTF16-V.bcmap\n +pdf_js/cmaps/HKscs-B5-V.bcmap\n +pdf_js/cmaps/ETHK-B5-V.bcmap\n +pdf_js/cmaps/Roman.bcmap\n +pdf_js/cmaps/UniKS-UCS2-V.bcmap\n +pdf_js/cmaps/UniCNS-UTF32-H.bcmap\n +pdf_js/cmaps/90ms-RKSJ-H.bcmap\n +pdf_js/cmaps/78-RKSJ-V.bcmap\n +pdf_js/cmaps/GB-H.bcmap\n +pdf_js/cmaps/Add-H.bcmap\n +pdf_js/cmaps/HKm314-B5-H.bcmap\n +pdf_js/cmaps/Adobe-CNS1-6.bcmap\n +pdf_js/cmaps/Ext-H.bcmap\n +pdf_js/cmaps/ETen-B5-V.bcmap\n +pdf_js/cmaps/UniJISPro-UCS2-HW-V.bcmap\n +pdf_js/cmaps/Adobe-CNS1-5.bcmap\n +pdf_js/cmaps/UniKS-UCS2-H.bcmap\n +pdf_js/cmaps/NWP-H.bcmap\n +pdf_js/cmaps/NWP-V.bcmap\n +pdf_js/cmaps/78-EUC-V.bcmap\n +pdf_js/cmaps/HKgccs-B5-H.bcmap\n +pdf_js/cmaps/HKscs-B5-H.bcmap\n +pdf_js/cmaps/Adobe-CNS1-2.bcmap\n +pdf_js/cmaps/Adobe-GB1-1.bcmap\n +pdf_js/cmaps/UniCNS-UCS2-H.bcmap\n +pdf_js/cmaps/GBK2K-H.bcmap\n +pdf_js/cmaps/90pv-RKSJ-V.bcmap\n +pdf_js/cmaps/UniJIS-UTF16-H.bcmap\n +pdf_js/cmaps/Adobe-Japan1-UCS2.bcmap\n +pdf_js/cmaps/HKdlb-B5-H.bcmap\n +pdf_js/cmaps/EUC-H.bcmap\n +pdf_js/cmaps/UniJIS2004-UTF8-V.bcmap\n +pdf_js/cmaps/Adobe-GB1-4.bcmap\n +pdf_js/cmaps/HKm314-B5-V.bcmap\n +pdf_js/cmaps/CNS-EUC-H.bcmap\n +pdf_js/cmaps/H.bcmap\n +pdf_js/cmaps/UniJIS-UCS2-HW-V.bcmap\n +pdf_js/cmaps/B5pc-V.bcmap\n +pdf_js/cmaps/UniKS-UTF16-V.bcmap\n +pdf_js/cmaps/90pv-RKSJ-H.bcmap\n +pdf_js/cmaps/78-EUC-H.bcmap\n +pdf_js/cmaps/KSCms-UHC-V.bcmap\n +pdf_js/cmaps/UniJIS-UCS2-H.bcmap\n +pdf_js/cmaps/Adobe-Japan1-4.bcmap\n +pdf_js/cmaps/UniJISX0213-UTF32-H.bcmap\n +pdf_js/cmaps/UniJIS-UCS2-HW-H.bcmap\n +pdf_js/cmaps/GB-EUC-V.bcmap\n +pdf_js/cmaps/Adobe-CNS1-1.bcmap\n +pdf_js/cmaps/GBKp-EUC-V.bcmap\n +pdf_js/cmaps/KSCms-UHC-HW-V.bcmap\n +pdf_js/cmaps/B5-H.bcmap\n +pdf_js/cmaps/GB-V.bcmap\n +pdf_js/cmaps/UniKS-UTF8-V.bcmap\n +pdf_js/cmaps/UniJISX02132004-UTF32-H.bcmap\n +pdf_js/cmaps/Add-RKSJ-V.bcmap\n +pdf_js/cmaps/Adobe-Korea1-UCS2.bcmap\n +pdf_js/cmaps/HKdlb-B5-V.bcmap\n +pdf_js/cmaps/Ext-RKSJ-V.bcmap\n +pdf_js/cmaps/GBTpc-EUC-V.bcmap\n +pdf_js/cmaps/UniJIS-UTF8-V.bcmap\n +pdf_js/cmaps/CNS1-H.bcmap\n +pdf_js/cmaps/B5pc-H.bcmap\n +pdf_js/cmaps/HKdla-B5-H.bcmap\n +pdf_js/cmaps/UniKS-UTF16-H.bcmap\n +pdf_js/cmaps/B5-V.bcmap\n +pdf_js/cmaps/UniJIS2004-UTF32-V.bcmap\n +pdf_js/cmaps/UniGB-UTF32-V.bcmap\n +pdf_js/cmaps/GBT-V.bcmap\n +pdf_js/cmaps/UniJIS2004-UTF16-H.bcmap\n +pdf_js/cmaps/ETHK-B5-H.bcmap\n +pdf_js/cmaps/V.bcmap\n +pdf_js/cmaps/KSC-Johab-V.bcmap\n +pdf_js/cmaps/UniJISX0213-UTF32-V.bcmap\n +pdf_js/cmaps/UniGB-UCS2-H.bcmap\n +pdf_js/cmaps/UniJISPro-UTF8-V.bcmap\n +pdf_js/cmaps/UniJIS-UTF32-H.bcmap\n +pdf_js/cmaps/UniJIS-UTF32-V.bcmap\n +pdf_js/cmaps/Adobe-Korea1-0.bcmap\n +pdf_js/cmaps/GBK2K-V.bcmap\n +pdf_js/cmaps/Adobe-GB1-UCS2.bcmap\n +pdf_js/cmaps/KSC-EUC-V.bcmap\n +pdf_js/cmaps/UniJISX02132004-UTF32-V.bcmap\n +pdf_js/cmaps/Adobe-GB1-5.bcmap\n +pdf_js/cmaps/90msp-RKSJ-H.bcmap\n +pdf_js/cmaps/UniJIS-UTF8-H.bcmap\n +pdf_js/cmaps/Adobe-CNS1-4.bcmap\n +pdf_js/cmaps/UniCNS-UTF16-H.bcmap\n +pdf_js/cmaps/Adobe-CNS1-0.bcmap\n +pdf_js/cmaps/WP-Symbol.bcmap\n +pdf_js/cmaps/90msp-RKSJ-V.bcmap\n +pdf_js/cmaps/78ms-RKSJ-H.bcmap\n +pdf_js/cmaps/KSCms-UHC-HW-H.bcmap\n +pdf_js/cmaps/HKdla-B5-V.bcmap\n +pdf_js/cmaps/Ext-V.bcmap\n +pdf_js/cmaps/GBTpc-EUC-H.bcmap\n +pdf_js/cmaps/UniCNS-UTF32-V.bcmap\n +pdf_js/cmaps/78-V.bcmap\n +pdf_js/cmaps/Adobe-Japan1-6.bcmap\n +pdf_js/cmaps/GBK-EUC-H.bcmap\n +pdf_js/cmaps/KSCms-UHC-H.bcmap\n +pdf_js/cmaps/UniJIS-UCS2-V.bcmap\n +pdf_js/cmaps/GB-EUC-H.bcmap\n +pdf_js/cmaps/HKm471-B5-H.bcmap\n +pdf_js/cmaps/KSCpc-EUC-H.bcmap\n +pdf_js/cmaps/HKgccs-B5-V.bcmap\n +pdf_js/cmaps/UniGB-UTF8-V.bcmap\n +pdf_js/cmaps/78ms-RKSJ-V.bcmap\n +pdf_js/cmaps/UniCNS-UCS2-V.bcmap\n +pdf_js/cmaps/UniGB-UTF16-H.bcmap\n +pdf_js/cmaps/ETenms-B5-H.bcmap\n +pdf_js/cmaps/GBK-EUC-V.bcmap\n +pdf_js/cmaps/Add-V.bcmap\n +pdf_js/cmaps/Adobe-Japan1-5.bcmap\n +pdf_js/cmaps/GBT-EUC-V.bcmap\n +pdf_js/cmaps/KSCpc-EUC-V.bcmap\n +pdf_js/cmaps/UniCNS-UTF16-V.bcmap\n +pdf_js/cmaps/LICENSE\n +pdf_js/cmaps/UniKS-UTF32-H.bcmap\n +pdf_js/cmaps/UniGB-UCS2-V.bcmap\n +pdf_js/cmaps/GBpc-EUC-V.bcmap\n +pdf_js/cmaps/Adobe-GB1-0.bcmap\n +pdf_js/cmaps/Hiragana.bcmap\n +pdf_js/cmaps/UniJIS2004-UTF32-H.bcmap\n +pdf_js/cmaps/Ext-RKSJ-H.bcmap\n +pdf_js/cmaps/CNS-EUC-V.bcmap\n +pdf_js/cmaps/UniGB-UTF8-H.bcmap\n +pdf_js/cmaps/UniCNS-UTF8-H.bcmap\n +pdf_js/cmaps/RKSJ-V.bcmap\n +pdf_js/cmaps/UniGB-UTF32-H.bcmap\n +pdf_js/cmaps/Adobe-CNS1-3.bcmap\n +pdf_js/cmaps/Katakana.bcmap\n +pdf_js/cmaps/UniKS-UTF8-H.bcmap\n +pdf_js/cmaps/Adobe-GB1-2.bcmap\n +pdf_js/cmaps/Adobe-Japan1-0.bcmap\n +pdf_js/cmaps/CNS2-H.bcmap\n +pdf_js/cmaps/CNS2-V.bcmap\n +pdf_js/cmaps/78-RKSJ-H.bcmap\n +pdf_js/cmaps/Adobe-Japan1-1.bcmap\n +pdf_js/cmaps/CNS1-V.bcmap\n +pdf_js/cmaps/UniJIS-UTF16-V.bcmap\n +pdf_js/cmaps/Adobe-Japan1-2.bcmap\n +pdf_js/cmaps/Adobe-Korea1-1.bcmap\n +pdf_js/cmaps/GBT-H.bcmap\n +pdf_js/cmaps/ETenms-B5-V.bcmap\n +pdf_js/cmaps/GBT-EUC-H.bcmap\n +pdf_js/cmaps/KSC-Johab-H.bcmap\n +pdf_js/cmaps/90ms-RKSJ-V.bcmap\n +pdf_js/cmaps/Adobe-CNS1-UCS2.bcmap\n +pdf_js/cmaps/KSC-V.bcmap\n +pdf_js/cmaps/Adobe-Korea1-2.bcmap\n +pdf_js/cmaps/KSC-H.bcmap\n +pdf_js/cmaps/UniCNS-UTF8-V.bcmap\n +pdf_js/cmaps/UniJISPro-UCS2-V.bcmap\n +pdf_js/cmaps/83pv-RKSJ-H.bcmap\n +pdf_js/cmaps/GBKp-EUC-H.bcmap\n +pdf_js/cmaps/78-H.bcmap\n +pdf_js/cmaps/GBpc-EUC-H.bcmap\n +pdf_js/cmaps/Add-RKSJ-H.bcmap\n +pdf_js/cmaps/Adobe-GB1-3.bcmap\n +pdf_js/cmaps/UniJIS2004-UTF16-V.bcmap\n +pdf_js/cmaps/Adobe-Japan1-3.bcmap\n +pdf_js/cmaps/ETen-B5-H.bcmap\n +pdf_js/cmaps/HKm471-B5-V.bcmap\n +pdf_js/cmaps/RKSJ-H.bcmap\n +pdf_js/cmaps/KSC-EUC-H.bcmap\n +pdf_js/cmaps/EUC-V.bcmap\n +pdf_js/debugger.js\n +NETWORK:\n +* + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>PDF Viewer Gadget OfficeJS AppCache</string> </value> + </item> + <item> + <key> <string>url_string</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486721457.29</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>957.14835.32300.27545</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486730570.25</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486719961.07</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_html.html b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_html.html new file mode 100644 index 0000000000000000000000000000000000000000..eb93030ca8c31e7909c43f499c99dbf87e4294ba --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_html.html @@ -0,0 +1,430 @@ +<!DOCTYPE html> +<!-- +Copyright 2012 Mozilla Foundation + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +Adobe CMap resources are covered by their own copyright but the same license: + + Copyright 1990-2015 Adobe Systems Incorporated. + +See https://github.com/adobe-type-tools/cmap-resources +--> +<html dir="ltr" manifest="gadget_pdf_viewer.appcache"> + <head> + <base href=""> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> + <meta name="google" content="notranslate"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <title>PDF.js viewer</title> + + + <link rel="stylesheet" href="pdf_js/viewer.css"/> + + <script src="pdf_js/compatibility.js"></script> + + + + <!-- This snippet is used in production (included from viewer.html) --> + <link rel="resource" type="application/l10n" href="pdf_js/locale/locale.properties"/> + <script src="pdf_js/l10n.js"></script> + <script src="pdf_js/build/pdf.js"></script> + + + <script src="pdf_js/debugger.js"></script> + <script src="pdf_js/viewer.js"></script> + + <!-- renderjs --> + <script src="rsvp.js"></script> + <script src="renderjs.js"></script> + <!-- custom script --> + <script src="gadget_officejs_pdf_viewer.js"></script> + + </head> + + <body tabindex="1" class="loadingInProgress"> + <div id="outerContainer"> + + <div id="sidebarContainer"> + <div id="toolbarSidebar"> + <div class="splitToolbarButton toggled"> + <button id="viewThumbnail" class="toolbarButton group toggled" title="Show Thumbnails" tabindex="2" data-l10n-id="thumbs"> + <span data-l10n-id="thumbs_label">Thumbnails</span> + </button> + <button id="viewOutline" class="toolbarButton group" title="Show Document Outline" tabindex="3" data-l10n-id="outline"> + <span data-l10n-id="outline_label">Document Outline</span> + </button> + <button id="viewAttachments" class="toolbarButton group" title="Show Attachments" tabindex="4" data-l10n-id="attachments"> + <span data-l10n-id="attachments_label">Attachments</span> + </button> + </div> + </div> + <div id="sidebarContent"> + <div id="thumbnailView"> + </div> + <div id="outlineView" class="hidden"> + </div> + <div id="attachmentsView" class="hidden"> + </div> + </div> + </div> <!-- sidebarContainer --> + + <div id="mainContainer"> + <div class="findbar hidden doorHanger hiddenSmallView" id="findbar"> + <label for="findInput" class="toolbarLabel" data-l10n-id="find_label">Find:</label> + <input id="findInput" class="toolbarField" tabindex="91"> + <div class="splitToolbarButton"> + <button class="toolbarButton findPrevious" title="" id="findPrevious" tabindex="92" data-l10n-id="find_previous"> + <span data-l10n-id="find_previous_label">Previous</span> + </button> + <div class="splitToolbarButtonSeparator"></div> + <button class="toolbarButton findNext" title="" id="findNext" tabindex="93" data-l10n-id="find_next"> + <span data-l10n-id="find_next_label">Next</span> + </button> + </div> + <input type="checkbox" id="findHighlightAll" class="toolbarField" tabindex="94"> + <label for="findHighlightAll" class="toolbarLabel" data-l10n-id="find_highlight">Highlight all</label> + <input type="checkbox" id="findMatchCase" class="toolbarField" tabindex="95"> + <label for="findMatchCase" class="toolbarLabel" data-l10n-id="find_match_case_label">Match case</label> + <span id="findResultsCount" class="toolbarLabel hidden"></span> + <span id="findMsg" class="toolbarLabel"></span> + </div> <!-- findbar --> + + <div id="secondaryToolbar" class="secondaryToolbar hidden doorHangerRight"> + <div id="secondaryToolbarButtonContainer"> + <button id="secondaryPresentationMode" class="secondaryToolbarButton presentationMode visibleLargeView" title="Switch to Presentation Mode" tabindex="51" data-l10n-id="presentation_mode"> + <span data-l10n-id="presentation_mode_label">Presentation Mode</span> + </button> + + <button id="secondaryOpenFile" class="secondaryToolbarButton openFile visibleLargeView" title="Open File" tabindex="52" data-l10n-id="open_file"> + <span data-l10n-id="open_file_label">Open</span> + </button> + + <button id="secondaryPrint" class="secondaryToolbarButton print visibleMediumView" title="Print" tabindex="53" data-l10n-id="print"> + <span data-l10n-id="print_label">Print</span> + </button> + + <button id="secondaryDownload" class="secondaryToolbarButton download visibleMediumView" title="Download" tabindex="54" data-l10n-id="download"> + <span data-l10n-id="download_label">Download</span> + </button> + + <a href="#" id="secondaryViewBookmark" class="secondaryToolbarButton bookmark visibleSmallView" title="Current view (copy or open in new window)" tabindex="55" data-l10n-id="bookmark"> + <span data-l10n-id="bookmark_label">Current View</span> + </a> + + <div class="horizontalToolbarSeparator visibleLargeView"></div> + + <button id="firstPage" class="secondaryToolbarButton firstPage" title="Go to First Page" tabindex="56" data-l10n-id="first_page"> + <span data-l10n-id="first_page_label">Go to First Page</span> + </button> + <button id="lastPage" class="secondaryToolbarButton lastPage" title="Go to Last Page" tabindex="57" data-l10n-id="last_page"> + <span data-l10n-id="last_page_label">Go to Last Page</span> + </button> + + <div class="horizontalToolbarSeparator"></div> + + <button id="pageRotateCw" class="secondaryToolbarButton rotateCw" title="Rotate Clockwise" tabindex="58" data-l10n-id="page_rotate_cw"> + <span data-l10n-id="page_rotate_cw_label">Rotate Clockwise</span> + </button> + <button id="pageRotateCcw" class="secondaryToolbarButton rotateCcw" title="Rotate Counterclockwise" tabindex="59" data-l10n-id="page_rotate_ccw"> + <span data-l10n-id="page_rotate_ccw_label">Rotate Counterclockwise</span> + </button> + + <div class="horizontalToolbarSeparator"></div> + + <button id="toggleHandTool" class="secondaryToolbarButton handTool" title="Enable hand tool" tabindex="60" data-l10n-id="hand_tool_enable"> + <span data-l10n-id="hand_tool_enable_label">Enable hand tool</span> + </button> + + <div class="horizontalToolbarSeparator"></div> + + <button id="documentProperties" class="secondaryToolbarButton documentProperties" title="Document Properties" tabindex="61" data-l10n-id="document_properties"> + <span data-l10n-id="document_properties_label">Document Properties</span> + </button> + </div> + </div> <!-- secondaryToolbar --> + + <div class="toolbar"> + <div id="toolbarContainer"> + <div id="toolbarViewer"> + <div id="toolbarViewerLeft"> + <button id="sidebarToggle" class="toolbarButton" title="Toggle Sidebar" tabindex="11" data-l10n-id="toggle_sidebar"> + <span data-l10n-id="toggle_sidebar_label">Toggle Sidebar</span> + </button> + <div class="toolbarButtonSpacer"></div> + <button id="viewFind" class="toolbarButton group hiddenSmallView" title="Find in Document" tabindex="12" data-l10n-id="findbar"> + <span data-l10n-id="findbar_label">Find</span> + </button> + <div class="splitToolbarButton"> + <button class="toolbarButton pageUp" title="Previous Page" id="previous" tabindex="13" data-l10n-id="previous"> + <span data-l10n-id="previous_label">Previous</span> + </button> + <div class="splitToolbarButtonSeparator"></div> + <button class="toolbarButton pageDown" title="Next Page" id="next" tabindex="14" data-l10n-id="next"> + <span data-l10n-id="next_label">Next</span> + </button> + </div> + <label id="pageNumberLabel" class="toolbarLabel" for="pageNumber" data-l10n-id="page_label">Page: </label> + <input type="number" id="pageNumber" class="toolbarField pageNumber" value="1" size="4" min="1" tabindex="15"> + <span id="numPages" class="toolbarLabel"></span> + </div> + <div id="toolbarViewerRight"> + <button id="presentationMode" class="toolbarButton presentationMode hiddenLargeView" title="Switch to Presentation Mode" tabindex="31" data-l10n-id="presentation_mode"> + <span data-l10n-id="presentation_mode_label">Presentation Mode</span> + </button> + + <button id="openFile" class="toolbarButton openFile hiddenLargeView" title="Open File" tabindex="32" data-l10n-id="open_file"> + <span data-l10n-id="open_file_label">Open</span> + </button> + + <button id="print" class="toolbarButton print hiddenMediumView" title="Print" tabindex="33" data-l10n-id="print"> + <span data-l10n-id="print_label">Print</span> + </button> + + <button id="download" class="toolbarButton download hiddenMediumView" title="Download" tabindex="34" data-l10n-id="download"> + <span data-l10n-id="download_label">Download</span> + </button> + <a href="#" id="viewBookmark" class="toolbarButton bookmark hiddenSmallView" title="Current view (copy or open in new window)" tabindex="35" data-l10n-id="bookmark"> + <span data-l10n-id="bookmark_label">Current View</span> + </a> + + <div class="verticalToolbarSeparator hiddenSmallView"></div> + + <button id="secondaryToolbarToggle" class="toolbarButton" title="Tools" tabindex="36" data-l10n-id="tools"> + <span data-l10n-id="tools_label">Tools</span> + </button> + </div> + <div class="outerCenter"> + <div class="innerCenter" id="toolbarViewerMiddle"> + <div class="splitToolbarButton"> + <button id="zoomOut" class="toolbarButton zoomOut" title="Zoom Out" tabindex="21" data-l10n-id="zoom_out"> + <span data-l10n-id="zoom_out_label">Zoom Out</span> + </button> + <div class="splitToolbarButtonSeparator"></div> + <button id="zoomIn" class="toolbarButton zoomIn" title="Zoom In" tabindex="22" data-l10n-id="zoom_in"> + <span data-l10n-id="zoom_in_label">Zoom In</span> + </button> + </div> + <span id="scaleSelectContainer" class="dropdownToolbarButton"> + <select id="scaleSelect" title="Zoom" tabindex="23" data-l10n-id="zoom"> + <option id="pageAutoOption" title="" value="auto" selected="selected" data-l10n-id="page_scale_auto">Automatic Zoom</option> + <option id="pageActualOption" title="" value="page-actual" data-l10n-id="page_scale_actual">Actual Size</option> + <option id="pageFitOption" title="" value="page-fit" data-l10n-id="page_scale_fit">Fit Page</option> + <option id="pageWidthOption" title="" value="page-width" data-l10n-id="page_scale_width">Full Width</option> + <option id="customScaleOption" title="" value="custom"></option> + <option title="" value="0.5" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 50 }'>50%</option> + <option title="" value="0.75" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 75 }'>75%</option> + <option title="" value="1" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 100 }'>100%</option> + <option title="" value="1.25" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 125 }'>125%</option> + <option title="" value="1.5" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 150 }'>150%</option> + <option title="" value="2" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 200 }'>200%</option> + <option title="" value="3" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 300 }'>300%</option> + <option title="" value="4" data-l10n-id="page_scale_percent" data-l10n-args='{ "scale": 400 }'>400%</option> + </select> + </span> + </div> + </div> + </div> + <div id="loadingBar"> + <div class="progress"> + <div class="glimmer"> + </div> + </div> + </div> + </div> + </div> + + <menu type="context" id="viewerContextMenu"> + <menuitem id="contextFirstPage" label="First Page" + data-l10n-id="first_page"></menuitem> + <menuitem id="contextLastPage" label="Last Page" + data-l10n-id="last_page"></menuitem> + <menuitem id="contextPageRotateCw" label="Rotate Clockwise" + data-l10n-id="page_rotate_cw"></menuitem> + <menuitem id="contextPageRotateCcw" label="Rotate Counter-Clockwise" + data-l10n-id="page_rotate_ccw"></menuitem> + </menu> + + <div id="viewerContainer" tabindex="0"> + <div id="viewer" class="pdfViewer"></div> + </div> + + <div id="errorWrapper" hidden='true'> + <div id="errorMessageLeft"> + <span id="errorMessage"></span> + <button id="errorShowMore" data-l10n-id="error_more_info"> + More Information + </button> + <button id="errorShowLess" data-l10n-id="error_less_info" hidden='true'> + Less Information + </button> + </div> + <div id="errorMessageRight"> + <button id="errorClose" data-l10n-id="error_close"> + Close + </button> + </div> + <div class="clearBoth"></div> + <textarea id="errorMoreInfo" hidden='true' readonly="readonly"></textarea> + </div> + </div> <!-- mainContainer --> + + <div id="overlayContainer" class="hidden"> + <div id="passwordOverlay" class="container hidden"> + <div class="dialog"> + <div class="row"> + <p id="passwordText" data-l10n-id="password_label">Enter the password to open this PDF file:</p> + </div> + <div class="row"> + <!-- The type="password" attribute is set via script, to prevent warnings in Firefox for all http:// documents. --> + <input id="password" class="toolbarField" /> + </div> + <div class="buttonRow"> + <button id="passwordCancel" class="overlayButton"><span data-l10n-id="password_cancel">Cancel</span></button> + <button id="passwordSubmit" class="overlayButton"><span data-l10n-id="password_ok">OK</span></button> + </div> + </div> + </div> + <div id="documentPropertiesOverlay" class="container hidden"> + <div class="dialog"> + <div class="row"> + <span data-l10n-id="document_properties_file_name">File name:</span> <p id="fileNameField">-</p> + </div> + <div class="row"> + <span data-l10n-id="document_properties_file_size">File size:</span> <p id="fileSizeField">-</p> + </div> + <div class="separator"></div> + <div class="row"> + <span data-l10n-id="document_properties_title">Title:</span> <p id="titleField">-</p> + </div> + <div class="row"> + <span data-l10n-id="document_properties_author">Author:</span> <p id="authorField">-</p> + </div> + <div class="row"> + <span data-l10n-id="document_properties_subject">Subject:</span> <p id="subjectField">-</p> + </div> + <div class="row"> + <span data-l10n-id="document_properties_keywords">Keywords:</span> <p id="keywordsField">-</p> + </div> + <div class="row"> + <span data-l10n-id="document_properties_creation_date">Creation Date:</span> <p id="creationDateField">-</p> + </div> + <div class="row"> + <span data-l10n-id="document_properties_modification_date">Modification Date:</span> <p id="modificationDateField">-</p> + </div> + <div class="row"> + <span data-l10n-id="document_properties_creator">Creator:</span> <p id="creatorField">-</p> + </div> + <div class="separator"></div> + <div class="row"> + <span data-l10n-id="document_properties_producer">PDF Producer:</span> <p id="producerField">-</p> + </div> + <div class="row"> + <span data-l10n-id="document_properties_version">PDF Version:</span> <p id="versionField">-</p> + </div> + <div class="row"> + <span data-l10n-id="document_properties_page_count">Page Count:</span> <p id="pageCountField">-</p> + </div> + <div class="buttonRow"> + <button id="documentPropertiesClose" class="overlayButton"><span data-l10n-id="document_properties_close">Close</span></button> + </div> + </div> + </div> + </div> <!-- overlayContainer --> + + </div> <!-- outerContainer --> + <div id="printContainer"></div> +<div id="mozPrintCallback-shim" hidden> + <style> +@media print { + #printContainer div { + page-break-after: always; + page-break-inside: avoid; + } +} + </style> + <style scoped> +#mozPrintCallback-shim { + position: fixed; + top: 0; + left: 0; + height: 100%; + width: 100%; + z-index: 9999999; + + display: block; + text-align: center; + background-color: rgba(0, 0, 0, 0.5); +} +#mozPrintCallback-shim[hidden] { + display: none; +} +@media print { + #mozPrintCallback-shim { + display: none; + } +} + +#mozPrintCallback-shim .mozPrintCallback-dialog-box { + display: inline-block; + margin: -50px auto 0; + position: relative; + top: 45%; + left: 0; + min-width: 220px; + max-width: 400px; + + padding: 9px; + + border: 1px solid hsla(0, 0%, 0%, .5); + border-radius: 2px; + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); + + background-color: #474747; + + color: hsl(0, 0%, 85%); + font-size: 16px; + line-height: 20px; +} +#mozPrintCallback-shim .progress-row { + clear: both; + padding: 1em 0; +} +#mozPrintCallback-shim progress { + width: 100%; +} +#mozPrintCallback-shim .relative-progress { + clear: both; + float: right; +} +#mozPrintCallback-shim .progress-actions { + clear: both; +} + </style> + <div class="mozPrintCallback-dialog-box"> + <!-- TODO: Localise the following strings --> + Preparing document for printing... + <div class="progress-row"> + <progress value="0" max="100"></progress> + <span class="relative-progress">0%</span> + </div> + <div class="progress-actions"> + <input type="button" value="Cancel" class="mozPrintCallback-cancel"> + </div> + </div> +</div> + + </body> +</html> + diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..3eed79503e1cab675882f119548318f474f76035 --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_html.xml @@ -0,0 +1,327 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_officejs_pdf_viewer.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_officejs_pdf_viewer_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>PDF Viewer Gadget</string> </value> + </item> + <item> + <key> <string>url_string</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486721458.64</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>957.14983.2337.42700</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486731561.95</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486719691.62</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_js.js b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_js.js new file mode 100644 index 0000000000000000000000000000000000000000..c8e7e35c374bee12748f313ee2f1ffa843704b8a --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_js.js @@ -0,0 +1,69 @@ +/*jslint indent: 2, nomen: true */ +/*global window, rJS, RSVP, PDFJS, webViewerLoad, Uint8Array, + ArrayBuffer, PDFViewerApplication, FileReader */ +(function (window, rJS, RSVP, PDFJS, webViewerLoad) { + "use strict"; + + rJS(window) + .ready(function (gadget) { + gadget.props = {}; + return gadget.getElement() + .push(function (element) { + gadget.props.element = element; + }); + }) + .declareMethod("render", function (options) { + [].forEach.call(window.document.head.querySelectorAll("base"), function (el) { + // XXX GadgetField adds <base> tag to fit to the parent page location, it's BAD to remove them. + // In the case of pdf.js, all component are loaded dynamicaly through ajax requests in + // pdf-js "folder". By setting a <base> tag, we change the url resolution behavior, and + // we break all dynamic links. So, deleting <base> is required. + window.document.head.removeChild(el); + }); + this.props.key = options.key; + var raw = window.atob(options.value); + var rawLength = raw.length; + var array = new Uint8Array(new ArrayBuffer(rawLength)); + + for (var i = 0; i < rawLength; i++) { + array[i] = raw.charCodeAt(i); + } + + webViewerLoad(array); + + // hide few buttons for now + this.props.element.querySelector('#viewBookmark').hidden = true; + this.props.element.querySelector('#documentProperties').hidden = true; + this.props.element.querySelector('#documentProperties').hidden = true; + + return; + }) + .declareMethod("getContent", function () { + var form_data = {}; + var self = this; + return new RSVP.Queue() + .push(function () { + if (PDFViewerApplication.pdfDocument) { + return PDFViewerApplication.pdfDocument.getData(); + } else { + return ''; + } + }) + .push(function (data) { + var blob = PDFJS.createBlob(data, "application/pdf"); + var filereader = new FileReader(); + return new RSVP.Promise(function (resolve, reject, notify) { + filereader.addEventListener("load", resolve); + filereader.addEventListener("error", reject); + filereader.addEventListener("progress", notify); + filereader.readAsDataURL(blob); + }, function () { + filereader.abort(); + }); + }) + .push(function (evt) { + form_data[self.props.key] = evt.target.result; + return form_data; + }); + }); +}(window, rJS, RSVP, PDFJS, webViewerLoad, PDFViewerApplication)); diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_js.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_js.xml new file mode 100644 index 0000000000000000000000000000000000000000..7dadc41d8d1ecc50850c0bcb533cd2877ad0a8fe --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_js.xml @@ -0,0 +1,317 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Script" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_officejs_pdf_viewer.js</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_officejs_pdf_viewer_js</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Script</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>PDF Viewer Gadget JS</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486721457.89</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>957.14818.63264.18261</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486724177.98</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486719871.32</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_landing_html.html b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_landing_html.html new file mode 100644 index 0000000000000000000000000000000000000000..02b37e66aed5b7e9040110b32e460abd61fc5df0 --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_landing_html.html @@ -0,0 +1,68 @@ + +<!DOCTYPE html> +<html manifest="gadget_officejs.appcache"> + <head> + <base href=""> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="shortcut icon" href="favicon.ico"> + + <title>PDF Viewer</title> + + <link href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> + <link rel="stylesheet" href="jquerymobile.css"> + <link rel="stylesheet" href="gadget_erp5.css"> + + <script data-renderjs-configuration="application_title" type="text/x-renderjs-configuration">PDF Viewer</script> + <script data-renderjs-configuration="panel_gadget" type="text/x-renderjs-configuration">gadget_officejs_application_panel.html</script> + <script data-renderjs-configuration="action_view" type="text/x-renderjs-configuration">object_view</script> + <script data-renderjs-configuration="default_view_reference" type="text/x-renderjs-configuration">view</script> + <script data-renderjs-configuration="hateoas_url" type="text/x-renderjs-configuration">hateoas/</script> + <script data-renderjs-configuration="frontpage_gadget" type="text/x-renderjs-configuration">worklist</script> + + <script src="jquery.js"></script> + <script src="jquerymobile.js"></script> + <script src="rsvp.js"></script> + <script src="renderjs.js"></script> + <script src="gadget_global.js" ></script> + <script src="erp5_launcher.js"></script> + + </head> + + <body> + <div data-role="page"> + + <div data-gadget-url="gadget_jio.html" + data-gadget-scope="setting_gadget" + data-gadget-sandbox="public"></div> + + <div data-gadget-url="gadget_officejs_pdf_viewer_router.html" + data-gadget-scope="router" + data-gadget-sandbox="public"></div> + + <div data-gadget-url="gadget_translation.html" + data-gadget-scope="translation_gadget" + data-gadget-sandbox="public"></div> + + <div data-gadget-url="gadget_officejs_header.html" + data-gadget-scope="header" + data-gadget-sandbox="public"></div> + + <div data-gadget-url="gadget_officejs_jio.html" + data-gadget-scope="jio_gadget" + data-gadget-sandbox="public"></div> + + + <div data-gadget-url="gadget_erp5_editor_panel.html" + data-gadget-scope="editor_panel" + data-gadget-sandbox="public"></div> + + <div data-gadget-url="gadget_officejs_application_panel.html" + data-gadget-scope="panel" + data-gadget-sandbox="public"></div> + + <div role="main" class="ui-content gadget-content"></div> + </div> + + </body> +</html> \ No newline at end of file diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_landing_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_landing_html.xml new file mode 100644 index 0000000000000000000000000000000000000000..e3b87adf8e5cc5a04c135977d608b634709a14e4 --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_landing_html.xml @@ -0,0 +1,323 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>pdf_viewer_landing_page.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Starting Point</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_officejs_pdf_viewer_landing_html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content_substitution_mapping_method_id</string> </key> + <value> <string>WebPage_getRenderJSSubstitutionMappingDict</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>OfficeJS PDF Viewer Landing Page</string> </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486721455.62</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>957.14787.25056.33706</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486720197.7</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486717612.88</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_router.html.html b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_router.html.html new file mode 100644 index 0000000000000000000000000000000000000000..eb208990c05186123952268ef6e24e5b8e57542f --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_router.html.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> + <meta name="viewport" content="width=device-width, user-scalable=no" /> + <title>OfficeJS Router Gadget</title> + + <!-- renderjs --> + <script src="rsvp.js" type="text/javascript"></script> + <script src="renderjs.js" type="text/javascript"></script> + + <!-- custom script --> + <script src="gadget_officejs_router.js" type="text/javascript"></script> + + </head> + <body> + <script data-renderjs-configuration="portal_type" type="text/x-renderjs-configuration">PDF</script> + <script data-renderjs-configuration="parent_relative_url" type="text/x-renderjs-configuration">document_module</script> + <script data-renderjs-configuration="document_title" type="text/x-renderjs-configuration">PDF</script> + <script data-renderjs-configuration="document_title_plural" type="text/x-renderjs-configuration">PDFs</script> + <script data-renderjs-configuration="erp5_attachment_synchro" type="text/x-renderjs-configuration">/{+id}/Base_downloadWithCors</script> + <script data-renderjs-configuration="global_setting_gadget_url" type="text/x-renderjs-configuration">../officejs_setting_gadget/</script> + </body> +</html> \ No newline at end of file diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_router.html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_router.html.xml new file mode 100644 index 0000000000000000000000000000000000000000..fff48db642b7eee46cc7f57b7f7a0b71ba75f4b7 --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_pdf_viewer_router.html.xml @@ -0,0 +1,327 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Page" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Change_local_roles_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>content_md5</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>gadget_officejs_pdf_viewer_router.html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>gadget_officejs_pdf_viewer_router.html</string> </value> + </item> + <item> + <key> <string>language</string> </key> + <value> <string>en</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Page</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Web PDF Viewer Router</string> </value> + </item> + <item> + <key> <string>url_string</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>document_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>processing_status_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486721456.73</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>957.14778.51039.24610</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486719114.33</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>detect_converted_file</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_processing_state</string> </key> + <value> <string>converted</string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>0.0.0.0</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486718983.88</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer.xml b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer.xml new file mode 100644 index 0000000000000000000000000000000000000000..700d975e5bdff5762a1e3255521422b2453aa97f --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer.xml @@ -0,0 +1,601 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Site" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Authenticated</string> + <string>Author</string> + <string>Manager</string> + <string>Member</string> + <string>Owner</string> + <string>Reviewer</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_folders_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Copy_or_Move_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Delete_objects_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Authenticated</string> + <string>Author</string> + <string>Manager</string> + <string>Member</string> + <string>Owner</string> + <string>Reviewer</string> + </tuple> + </value> + </item> + <item> + <key> <string>__before_publishing_traverse__</string> </key> + <value> + <object> + <klass> + <global name="MultiHook" module="ZPublisher.BeforeTraverse"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_defined_in_class</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>_hookname</string> </key> + <value> <string>__before_publishing_traverse__</string> </value> + </item> + <item> + <key> <string>_list</string> </key> + <value> + <list> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </list> + </value> + </item> + <item> + <key> <string>_prior</string> </key> + <value> + <none/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>__before_traverse__</string> </key> + <value> + <dictionary> + <item> + <key> + <tuple> + <int>99</int> + <string>ERP5 Web Site/officejs_pdf_viewer</string> + </tuple> + </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_count</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>frontpage_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_frontpage_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_application_title</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_hateoas_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_view_action_category</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_default_view_action_reference</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_panel_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_router_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_jio_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_translation_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_manifest_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_header_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_content_security_policy</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_x_frame_options</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_latest_document_version</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_latest_version</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_cache_file</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_landing_page</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_sub_gadget_installer</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_redirect_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent> + </value> + </item> + <item> + <key> <string>available_language</string> </key> + <value> + <tuple> + <string>en</string> + </tuple> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>caching_policy/must-revalidate</string> + <string>aggregate/web_page_module/gadget_officejs_bootloader.html</string> + </tuple> + </value> + </item> + <item> + <key> <string>configuration_application_title</string> </key> + <value> <string>Illustration Editor</string> </value> + </item> + <item> + <key> <string>configuration_cache_file</string> </key> + <value> <string>gadget_officejs_pdf_viewer.appcache</string> </value> + </item> + <item> + <key> <string>configuration_content_security_policy</string> </key> + <value> <string>default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' https://localhost:5000 mail.tiolive.com data:; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\'; font-src \'self\' netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' *.app.officejs.com data:</string> </value> + </item> + <item> + <key> <string>configuration_default_view_action_reference</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_frontpage_gadget_url</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_hateoas_url</string> </key> + <value> <string>hateoas/</string> </value> + </item> + <item> + <key> <string>configuration_header_gadget_url</string> </key> + <value> <string>gadget_officejs_header.html</string> </value> + </item> + <item> + <key> <string>configuration_jio_gadget_url</string> </key> + <value> <string>gadget_officejs_jio.html</string> </value> + </item> + <item> + <key> <string>configuration_landing_page</string> </key> + <value> <string>pdf_viewer_landing_page.html</string> </value> + </item> + <item> + <key> <string>configuration_latest_document_version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>configuration_latest_version</string> </key> + <value> <string>development</string> </value> + </item> + <item> + <key> <string>configuration_manifest_url</string> </key> + <value> <string>gadget_officejs.appcache</string> </value> + </item> + <item> + <key> <string>configuration_panel_gadget_url</string> </key> + <value> <string>gadget_officejs_application_panel.html</string> </value> + </item> + <item> + <key> <string>configuration_redirect_url</string> </key> + <value> <string>development/</string> </value> + </item> + <item> + <key> <string>configuration_router_gadget_url</string> </key> + <value> <string>gadget_officejs_svg_editor_router.html</string> </value> + </item> + <item> + <key> <string>configuration_sub_gadget_installer</string> </key> + <value> <string>../officejs_pdf_viewer_gadget/</string> </value> + </item> + <item> + <key> <string>configuration_translation_gadget_url</string> </key> + <value> <string>gadget_translation.html</string> </value> + </item> + <item> + <key> <string>configuration_view_action_category</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_x_frame_options</string> </key> + <value> <string>SAMEORIGIN</string> </value> + </item> + <item> + <key> <string>container_layout</string> </key> + <value> <string>WebSection_renderOfficeJSApplicationPage</string> </value> + </item> + <item> + <key> <string>content_layout</string> </key> + <value> <string>WebSection_renderOfficeJSApplicationPage</string> </value> + </item> + <item> + <key> <string>custom_render_method_id</string> </key> + <value> <string>WebSection_renderOfficeJSApplicationPage</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>frontpage_gadget_url</string> </key> + <value> <string>gadget_woelfel_pt_frontpage.html</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>officejs_pdf_viewer</string> </value> + </item> + <item> + <key> <string>layout_configuration_form_id</string> </key> + <value> <string>WebSection_viewOfficeJSApplicationPreference</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Site</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>skin_selection_name</string> </key> + <value> <string>RJSVersioning</string> </value> + </item> + <item> + <key> <string>static_language_selection</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Office JS PDF Viewer</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="WebSiteTraversalHook" module="Products.ERP5.Document.WebSite"/> + </pickle> + <pickle> + <dictionary/> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="Length" module="BTrees.Length"/> + </pickle> + <pickle> <int>0</int> </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="6" aka="AAAAAAAAAAY="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="7" aka="AAAAAAAAAAc="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer/development.xml b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer/development.xml new file mode 100644 index 0000000000000000000000000000000000000000..b4dbdc8e42d0a772863dc1804eb6bb7e9ccd5c53 --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer/development.xml @@ -0,0 +1,366 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Section" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_folders_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Copy_or_Move_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Delete_objects_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>__before_publishing_traverse__</string> </key> + <value> + <object> + <klass> + <global name="MultiHook" module="ZPublisher.BeforeTraverse"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_defined_in_class</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>_hookname</string> </key> + <value> <string>__before_publishing_traverse__</string> </value> + </item> + <item> + <key> <string>_list</string> </key> + <value> + <list> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </list> + </value> + </item> + <item> + <key> <string>_prior</string> </key> + <value> + <none/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>__before_traverse__</string> </key> + <value> + <dictionary> + <item> + <key> + <tuple> + <int>99</int> + <string>ERP5 Web Section/development</string> + </tuple> + </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>__translation_dict</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_router_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_application_title</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_jio_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_content_security_policy</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_panel_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_translation_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_header_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_hateoas_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_manifest_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_x_frame_options</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>caching_policy/must-revalidate</string> + <string>aggregate/web_page_module/rjs_gadget_erp5_html</string> + </tuple> + </value> + </item> + <item> + <key> <string>configuration_application_title</string> </key> + <value> <string>Office JS SVG Editor</string> </value> + </item> + <item> + <key> <string>configuration_content_security_policy</string> </key> + <value> <string>default-src \'none\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' https://localhost:5000 mail.tiolive.com data: *.host.vifib.net *.node.vifib.com *.erp5.net; script-src \'self\' \'unsafe-eval\'; font-src netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data: *.app.officejs.com</string> </value> + </item> + <item> + <key> <string>configuration_hateoas_url</string> </key> + <value> <string>hateoas/</string> </value> + </item> + <item> + <key> <string>configuration_header_gadget_url</string> </key> + <value> <string>gadget_officejs_header.html</string> </value> + </item> + <item> + <key> <string>configuration_jio_gadget_url</string> </key> + <value> <string>gadget_officejs_jio.html</string> </value> + </item> + <item> + <key> <string>configuration_manifest_url</string> </key> + <value> <string>gadget_officejs.appcache</string> </value> + </item> + <item> + <key> <string>configuration_panel_gadget_url</string> </key> + <value> <string>gadget_officejs_application_panel.html</string> </value> + </item> + <item> + <key> <string>configuration_router_gadget_url</string> </key> + <value> <string>gadget_officejs_svg_editor_router.html</string> </value> + </item> + <item> + <key> <string>configuration_translation_gadget_url</string> </key> + <value> <string>gadget_translation.html</string> </value> + </item> + <item> + <key> <string>configuration_x_frame_options</string> </key> + <value> <string>SAMEORIGIN</string> </value> + </item> + <item> + <key> <string>custom_render_method_id</string> </key> + <value> <string>WebSection_renderDefaultPageAsGadget</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>empty_criterion_valid</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>development</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Section</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>skin_selection_name</string> </key> + <value> <string>RJS</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>SVG Editor Development</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="WebSectionTraversalHook" module="Products.ERP5.Document.WebSection"/> + </pickle> + <pickle> + <dictionary/> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer/hateoasnoauth.xml b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer/hateoasnoauth.xml new file mode 100644 index 0000000000000000000000000000000000000000..d5b3eb8c46fe567d9cd84413e9bd5cf4eea9d864 --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer/hateoasnoauth.xml @@ -0,0 +1,343 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Section" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_folders_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Copy_or_Move_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Delete_objects_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>__before_publishing_traverse__</string> </key> + <value> + <object> + <klass> + <global name="MultiHook" module="ZPublisher.BeforeTraverse"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_defined_in_class</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>_hookname</string> </key> + <value> <string>__before_publishing_traverse__</string> </value> + </item> + <item> + <key> <string>_list</string> </key> + <value> + <list> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </list> + </value> + </item> + <item> + <key> <string>_prior</string> </key> + <value> + <none/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>__before_traverse__</string> </key> + <value> + <dictionary> + <item> + <key> + <tuple> + <int>99</int> + <string>ERP5 Web Section/hateoasnoauth</string> + </tuple> + </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>__translation_dict</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>default_view_action_reference</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>view_action_category</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>frontpage_gadget</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>frontpage_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_frontpage_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_application_title</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_content_security_policy</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>caching_policy/hateoas</string> + </tuple> + </value> + </item> + <item> + <key> <string>configuration_application_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_content_security_policy</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_frontpage_gadget_url</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>container_layout</string> </key> + <value> <string>ERP5Document_getHateoas</string> </value> + </item> + <item> + <key> <string>content_layout</string> </key> + <value> <string>ERP5Document_getHateoas</string> </value> + </item> + <item> + <key> <string>custom_render_method_id</string> </key> + <value> <string>ERP5Document_getHateoas</string> </value> + </item> + <item> + <key> <string>default_view_action_reference</string> </key> + <value> <string>view</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>empty_criterion_valid</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>frontpage_gadget</string> </key> + <value> <string>gadget_woelfel_pt_frontpage.html</string> </value> + </item> + <item> + <key> <string>frontpage_gadget_url</string> </key> + <value> <string>gadget_woelfel_pt_frontpage.html</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>hateoasnoauth</string> </value> + </item> + <item> + <key> <string>layout_configuration_form_id</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Section</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>skin_selection_name</string> </key> + <value> <string>HalRestricted</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>UnRestricted Hateoas</string> </value> + </item> + <item> + <key> <string>view_action_category</string> </key> + <value> <string>object_view</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="WebSectionTraversalHook" module="Products.ERP5.Document.WebSection"/> + </pickle> + <pickle> + <dictionary/> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer_gadget.xml b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer_gadget.xml new file mode 100644 index 0000000000000000000000000000000000000000..534b1921020964efab3e3fd59d319111938431e0 --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer_gadget.xml @@ -0,0 +1,733 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Site" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Access_contents_information_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Authenticated</string> + <string>Author</string> + <string>Manager</string> + <string>Member</string> + <string>Owner</string> + <string>Reviewer</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_folders_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Copy_or_Move_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Delete_objects_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_View_Permission</string> </key> + <value> + <tuple> + <string>Anonymous</string> + <string>Assignee</string> + <string>Assignor</string> + <string>Associate</string> + <string>Auditor</string> + <string>Authenticated</string> + <string>Author</string> + <string>Manager</string> + <string>Member</string> + <string>Owner</string> + <string>Reviewer</string> + </tuple> + </value> + </item> + <item> + <key> <string>__before_publishing_traverse__</string> </key> + <value> + <object> + <klass> + <global name="MultiHook" module="ZPublisher.BeforeTraverse"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_defined_in_class</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>_hookname</string> </key> + <value> <string>__before_publishing_traverse__</string> </value> + </item> + <item> + <key> <string>_list</string> </key> + <value> + <list> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </list> + </value> + </item> + <item> + <key> <string>_prior</string> </key> + <value> + <none/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>__before_traverse__</string> </key> + <value> + <dictionary> + <item> + <key> + <tuple> + <int>99</int> + <string>ERP5 Web Site/officejs_pdf_viewer_gadget</string> + </tuple> + </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_count</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>frontpage_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_frontpage_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_application_title</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_hateoas_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_view_action_category</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_default_view_action_reference</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_panel_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_router_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_jio_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_translation_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_manifest_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_header_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_content_security_policy</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_latest_document_version</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_latest_version</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_cache_file</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_x_frame_options</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_redirect_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_landing_page</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent> + </value> + </item> + <item> + <key> <string>available_language</string> </key> + <value> + <tuple> + <string>en</string> + </tuple> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>caching_policy/no-cache</string> + <string>aggregate/web_page_module/gadget_officejs_bootloader.html</string> + </tuple> + </value> + </item> + <item> + <key> <string>configuration_application_title</string> </key> + <value> <string>Bookmark Manager</string> </value> + </item> + <item> + <key> <string>configuration_cache_file</string> </key> + <value> <string>gadget_officejs_pdf_viewer_gadget.appcache</string> </value> + </item> + <item> + <key> <string>configuration_content_security_policy</string> </key> + <value> <string>default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' https://localhost:5000 mail.tiolive.com data:; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\'; font-src \'self\' netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' *.app.officejs.com data:</string> </value> + </item> + <item> + <key> <string>configuration_default_view_action_reference</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_frontpage_gadget_url</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_hateoas_url</string> </key> + <value> <string>hateoas/</string> </value> + </item> + <item> + <key> <string>configuration_header_gadget_url</string> </key> + <value> <string>gadget_officejs_header.html</string> </value> + </item> + <item> + <key> <string>configuration_jio_gadget_url</string> </key> + <value> <string>gadget_officejs_jio.html</string> </value> + </item> + <item> + <key> <string>configuration_landing_page</string> </key> + <value> <string>gadget_officejs_pdf_viewer.html</string> </value> + </item> + <item> + <key> <string>configuration_latest_document_version</string> </key> + <value> <string>001</string> </value> + </item> + <item> + <key> <string>configuration_latest_version</string> </key> + <value> <string>development</string> </value> + </item> + <item> + <key> <string>configuration_manifest_url</string> </key> + <value> <string>gadget_officejs_bookmark_manager.appcache</string> </value> + </item> + <item> + <key> <string>configuration_panel_gadget_url</string> </key> + <value> <string>gadget_officejs_bookmark_manager_panel.html</string> </value> + </item> + <item> + <key> <string>configuration_redirect_url</string> </key> + <value> <string>development</string> </value> + </item> + <item> + <key> <string>configuration_router_gadget_url</string> </key> + <value> <string>gadget_officejs_bookmark_manager_router.html</string> </value> + </item> + <item> + <key> <string>configuration_translation_gadget_url</string> </key> + <value> <string>gadget_translation.html</string> </value> + </item> + <item> + <key> <string>configuration_view_action_category</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_x_frame_options</string> </key> + <value> <string>ALLOW-FROM-ALL</string> </value> + </item> + <item> + <key> <string>container_layout</string> </key> + <value> <string>WebSection_renderOfficeJSApplicationPage</string> </value> + </item> + <item> + <key> <string>content_layout</string> </key> + <value> <string>WebSection_renderOfficeJSApplicationPage</string> </value> + </item> + <item> + <key> <string>custom_render_method_id</string> </key> + <value> <string>WebSection_renderOfficeJSApplicationPage</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>frontpage_gadget_url</string> </key> + <value> <string>gadget_woelfel_pt_frontpage.html</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>officejs_pdf_viewer_gadget</string> </value> + </item> + <item> + <key> <string>layout_configuration_form_id</string> </key> + <value> <string>WebSection_viewOfficeJSApplicationPreference</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Site</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>skin_selection_name</string> </key> + <value> <string>RJSVersioning</string> </value> + </item> + <item> + <key> <string>static_language_selection</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Office JS PDF Viewer Gadget</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="WebSiteTraversalHook" module="Products.ERP5.Document.WebSite"/> + </pickle> + <pickle> + <dictionary/> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="Length" module="BTrees.Length"/> + </pickle> + <pickle> <int>0</int> </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="6" aka="AAAAAAAAAAY="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="7" aka="AAAAAAAAAAc="> + <pickle> + <global name="OOBTree" module="BTrees.OOBTree"/> + </pickle> + <pickle> + <none/> + </pickle> + </record> + <record id="8" aka="AAAAAAAAAAg="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>category_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAk=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAo=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="9" aka="AAAAAAAAAAk="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>publish</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486720370.24</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>published</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="10" aka="AAAAAAAAAAo="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>957.14753.34139.55620</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486720210.86</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer_gadget/development.xml b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer_gadget/development.xml new file mode 100644 index 0000000000000000000000000000000000000000..c7edfe0650a5a151fd0866333c1d5b6544485ab9 --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer_gadget/development.xml @@ -0,0 +1,524 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Section" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_folders_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Copy_or_Move_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Delete_objects_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>__before_publishing_traverse__</string> </key> + <value> + <object> + <klass> + <global name="MultiHook" module="ZPublisher.BeforeTraverse"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_defined_in_class</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>_hookname</string> </key> + <value> <string>__before_publishing_traverse__</string> </value> + </item> + <item> + <key> <string>_list</string> </key> + <value> + <list> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </list> + </value> + </item> + <item> + <key> <string>_prior</string> </key> + <value> + <none/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>__before_traverse__</string> </key> + <value> + <dictionary> + <item> + <key> + <tuple> + <int>99</int> + <string>ERP5 Web Section/development</string> + </tuple> + </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>__translation_dict</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_router_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_jio_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_panel_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_translation_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_header_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_hateoas_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_x_frame_options</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_manifest_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_content_security_policy</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>caching_policy/must-revalidate</string> + <string>aggregate/web_page_module/gadget_ckeditor_html</string> + </tuple> + </value> + </item> + <item> + <key> <string>configuration_content_security_policy</string> </key> + <value> <string>default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' https://content.dropboxapi.com https://api.dropboxapi.com https://localhost:5000 mail.tiolive.com data: *.host.vifib.net *.node.vifib.com *.erp5.net; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\'; font-src \'self\' netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data:</string> </value> + </item> + <item> + <key> <string>configuration_hateoas_url</string> </key> + <value> <string>hateoas</string> </value> + </item> + <item> + <key> <string>configuration_header_gadget_url</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_jio_gadget_url</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_manifest_url</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_panel_gadget_url</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_router_gadget_url</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_translation_gadget_url</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_x_frame_options</string> </key> + <value> <string>ALLOW-FROM-ALL</string> </value> + </item> + <item> + <key> <string>container_layout</string> </key> + <value> <string>WebSection_renderDefaultPageAsGadget</string> </value> + </item> + <item> + <key> <string>content_layout</string> </key> + <value> <string>WebSection_renderDefaultPageAsGadget</string> </value> + </item> + <item> + <key> <string>custom_render_method_id</string> </key> + <value> <string>WebSection_renderDefaultPageAsGadget</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>empty_criterion_valid</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>development</string> </value> + </item> + <item> + <key> <string>layout_configuration_form_id</string> </key> + <value> <string>WebSection_viewRenderJSPreference</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Section</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>skin_selection_name</string> </key> + <value> <string>RJS</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Bookmark Manager Development</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="WebSectionTraversalHook" module="Products.ERP5.Document.WebSection"/> + </pickle> + <pickle> + <dictionary/> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>category_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="6" aka="AAAAAAAAAAY="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486717508.76</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>embedded</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="7" aka="AAAAAAAAAAc="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>957.14753.9656.54903</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486717531.15</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer_gadget/hateoasnoauth.xml b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer_gadget/hateoasnoauth.xml new file mode 100644 index 0000000000000000000000000000000000000000..e230be5b5554c1902d2b06a5adb7b4a8b5433f02 --- /dev/null +++ b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_pdf_viewer_gadget/hateoasnoauth.xml @@ -0,0 +1,553 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Web Section" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_folders_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Copy_or_Move_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Delete_objects_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>__before_publishing_traverse__</string> </key> + <value> + <object> + <klass> + <global name="MultiHook" module="ZPublisher.BeforeTraverse"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_defined_in_class</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>_hookname</string> </key> + <value> <string>__before_publishing_traverse__</string> </value> + </item> + <item> + <key> <string>_list</string> </key> + <value> + <list> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </list> + </value> + </item> + <item> + <key> <string>_prior</string> </key> + <value> + <none/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>__before_traverse__</string> </key> + <value> + <dictionary> + <item> + <key> + <tuple> + <int>99</int> + <string>ERP5 Web Section/hateoasnoauth</string> + </tuple> + </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>__translation_dict</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_identity_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>default_view_action_reference</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>view_action_category</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>frontpage_gadget</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>frontpage_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_frontpage_gadget_url</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_application_title</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_content_security_policy</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_latest_document_version</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_latest_version</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_cache_file</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>configuration_x_frame_options</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>string</string> </value> + </item> + </dictionary> + </tuple> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>caching_policy/hateoas</string> + </tuple> + </value> + </item> + <item> + <key> <string>configuration_application_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_cache_file</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_content_security_policy</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_frontpage_gadget_url</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_latest_document_version</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_latest_version</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>configuration_x_frame_options</string> </key> + <value> <string>ALLOW-FROM-ALL</string> </value> + </item> + <item> + <key> <string>container_layout</string> </key> + <value> <string>ERP5Document_getHateoas</string> </value> + </item> + <item> + <key> <string>content_layout</string> </key> + <value> <string>ERP5Document_getHateoas</string> </value> + </item> + <item> + <key> <string>custom_render_method_id</string> </key> + <value> <string>ERP5Document_getHateoas</string> </value> + </item> + <item> + <key> <string>default_view_action_reference</string> </key> + <value> <string>view</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>empty_criterion_valid</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>frontpage_gadget</string> </key> + <value> <string>gadget_woelfel_pt_frontpage.html</string> </value> + </item> + <item> + <key> <string>frontpage_gadget_url</string> </key> + <value> <string>gadget_woelfel_pt_frontpage.html</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>hateoasnoauth</string> </value> + </item> + <item> + <key> <string>layout_configuration_form_id</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Web Section</string> </value> + </item> + <item> + <key> <string>short_title</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>skin_selection_name</string> </key> + <value> <string>Hal</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>UnRestricted Hateoas</string> </value> + </item> + <item> + <key> <string>view_action_category</string> </key> + <value> <string>object_view</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="WebSectionTraversalHook" module="Products.ERP5.Document.WebSection"/> + </pickle> + <pickle> + <dictionary/> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>category_publication_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> + </value> + </item> + <item> + <key> <string>edit_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="6" aka="AAAAAAAAAAY="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486717508.77</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>embedded</string> </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> + <record id="7" aka="AAAAAAAAAAc="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> + </pickle> + <pickle> + <tuple> + <none/> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>edit</string> </value> + </item> + <item> + <key> <string>actor</string> </key> + <value> <string>zope</string> </value> + </item> + <item> + <key> <string>comment</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>error_message</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>serial</string> </key> + <value> <string>957.14753.9656.54903</string> </value> + </item> + <item> + <key> <string>state</string> </key> + <value> <string>current</string> </value> + </item> + <item> + <key> <string>time</string> </key> + <value> + <object> + <klass> + <global name="DateTime" module="DateTime.DateTime"/> + </klass> + <tuple> + <none/> + </tuple> + <state> + <tuple> + <float>1486717531.15</float> + <string>UTC</string> + </tuple> + </state> + </object> + </value> + </item> + </dictionary> + </list> + </tuple> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_officejs/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml b/bt5/erp5_officejs/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml index 3140ed5ccb7c58b0ce8a3715d8a7c99857f6ddf4..cc3abe50bb3e7bcb244ab5e4144b22a239bb219b 100644 --- a/bt5/erp5_officejs/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml +++ b/bt5/erp5_officejs/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml @@ -15,4 +15,8 @@ <skin_folder>erp5_web_versioning</skin_folder> <skin_selection>RJSVersioning</skin_selection> </skin_folder_selection> + <skin_folder_selection> + <skin_folder>erp5_xhtml_style</skin_folder> + <skin_selection>RJS,RJSVersioning</skin_selection> + </skin_folder_selection> </registered_skin_selection> \ No newline at end of file diff --git a/bt5/erp5_officejs/bt/template_keep_last_workflow_history_only_path_list b/bt5/erp5_officejs/bt/template_keep_last_workflow_history_only_path_list index 6015259b3cb6f11817c5e9c3c8e273028048024c..d36775889153c46e8eb6dfbffecbb2fb70e90161 100644 --- a/bt5/erp5_officejs/bt/template_keep_last_workflow_history_only_path_list +++ b/bt5/erp5_officejs/bt/template_keep_last_workflow_history_only_path_list @@ -15,4 +15,6 @@ web_site_module/officejs_ckeditor_gadget/** web_site_module/officejs_svg_editor web_site_module/officejs_svg_editor/** web_site_module/officejs_svg_editor_gadget -web_site_module/officejs_svg_editor_gadget/** \ No newline at end of file +web_site_module/officejs_svg_editor_gadget/** +web_site_module/officejs_pdf_viewer_gadget +web_site_module/officejs_pdf_viewer_gadget/** \ No newline at end of file diff --git a/bt5/erp5_officejs/bt/template_keep_workflow_path_list b/bt5/erp5_officejs/bt/template_keep_workflow_path_list index 478893de69dcfd3767a8af90dfc73a2efbeef8f1..44132e263985142b0af91488e3a74bd9094052af 100644 --- a/bt5/erp5_officejs/bt/template_keep_workflow_path_list +++ b/bt5/erp5_officejs/bt/template_keep_workflow_path_list @@ -15,4 +15,6 @@ web_site_module/officejs_svg_editor_gadget/** web_site_module/officejs_setting_gadget web_site_module/officejs_setting_gadget/** web_site_module/officejs_ckeditor_gadget -web_site_module/officejs_ckeditor_gadget/** \ No newline at end of file +web_site_module/officejs_ckeditor_gadget/** +web_site_module/officejs_pdf_viewer_gadget +web_site_module/officejs_pdf_viewer_gadget/** \ No newline at end of file diff --git a/bt5/erp5_officejs/bt/template_path_list b/bt5/erp5_officejs/bt/template_path_list index 89313ecf3ce54506cb845756501b0f394c956094..98bbef93a69870e617cf617d7049b6ed75c4360b 100644 --- a/bt5/erp5_officejs/bt/template_path_list +++ b/bt5/erp5_officejs/bt/template_path_list @@ -6,6 +6,10 @@ web_site_module/officejs_bookmark_manager web_site_module/officejs_bookmark_manager/** web_site_module/officejs_ckeditor_gadget web_site_module/officejs_ckeditor_gadget/** +web_site_module/officejs_pdf_viewer +web_site_module/officejs_pdf_viewer/** +web_site_module/officejs_pdf_viewer_gadget +web_site_module/officejs_pdf_viewer_gadget/** web_site_module/officejs_setting_gadget web_site_module/officejs_setting_gadget/** web_site_module/officejs_spreadsheet diff --git a/bt5/erp5_officejs/bt/template_registered_skin_selection_list b/bt5/erp5_officejs/bt/template_registered_skin_selection_list index 55d6563a36a4a525becd61c6007d6ce36bfdf4c0..0a52ab726f6af8b72c1ce05062989296a32a5d38 100644 --- a/bt5/erp5_officejs/bt/template_registered_skin_selection_list +++ b/bt5/erp5_officejs/bt/template_registered_skin_selection_list @@ -1,4 +1,6 @@ erp5_officejs_jio_connector | RJSVersioning erp5_web_renderjs_ui | RJSVersioning erp5_web_renderjs_ui_unsafe | RJSUnsafe -erp5_web_versioning | RJSVersioning \ No newline at end of file +erp5_web_versioning | RJSVersioning +erp5_xhtml_style | RJS +erp5_xhtml_style | RJSVersioning \ No newline at end of file