Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roque
erp5
Commits
82aae3f2
Commit
82aae3f2
authored
Sep 06, 2016
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: Add jio_view on Spreadsheet, Text and Presentation.
parent
a6851930
Changes
17
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
594 additions
and
17 deletions
+594
-17
bt5/erp5_officejs/ActionTemplateItem/portal_types/Presentation/jio_view.xml
...ActionTemplateItem/portal_types/Presentation/jio_view.xml
+85
-0
bt5/erp5_officejs/ActionTemplateItem/portal_types/Spreadsheet/jio_view.xml
.../ActionTemplateItem/portal_types/Spreadsheet/jio_view.xml
+85
-0
bt5/erp5_officejs/ActionTemplateItem/portal_types/Text/jio_view.xml
...fficejs/ActionTemplateItem/portal_types/Text/jio_view.xml
+85
-0
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/OOoDocument_viewAsJio.xml
...ortal_skins/erp5_officejs_theme/OOoDocument_viewAsJio.xml
+7
-5
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/OOoDocument_viewAsJio/my_content_type.xml
..._officejs_theme/OOoDocument_viewAsJio/my_content_type.xml
+1
-1
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/OOoDocument_viewAsJio/my_data.xml
...ins/erp5_officejs_theme/OOoDocument_viewAsJio/my_data.xml
+18
-3
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/OOoDocument_viewAsJio/my_description.xml
...5_officejs_theme/OOoDocument_viewAsJio/my_description.xml
+0
-0
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/OOoDocument_viewAsJio/my_filename.xml
...erp5_officejs_theme/OOoDocument_viewAsJio/my_filename.xml
+1
-1
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/OOoDocument_viewAsJio/my_language.xml
...erp5_officejs_theme/OOoDocument_viewAsJio/my_language.xml
+0
-0
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/OOoDocument_viewAsJio/my_portal_type.xml
...5_officejs_theme/OOoDocument_viewAsJio/my_portal_type.xml
+1
-1
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/OOoDocument_viewAsJio/my_reference.xml
...rp5_officejs_theme/OOoDocument_viewAsJio/my_reference.xml
+0
-0
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/OOoDocument_viewAsJio/my_revision.xml
...erp5_officejs_theme/OOoDocument_viewAsJio/my_revision.xml
+2
-2
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/OOoDocument_viewAsJio/my_title.xml
...ns/erp5_officejs_theme/OOoDocument_viewAsJio/my_title.xml
+1
-1
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/OOoDocument_viewAsJio/my_version.xml
.../erp5_officejs_theme/OOoDocument_viewAsJio/my_version.xml
+0
-0
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/OOoDocument_viewAsJio/your_data.xml
...s/erp5_officejs_theme/OOoDocument_viewAsJio/your_data.xml
+302
-0
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/OOoDocument_viewAsJio/your_modification_date.xml
...js_theme/OOoDocument_viewAsJio/your_modification_date.xml
+3
-3
bt5/erp5_officejs/bt/template_action_path_list
bt5/erp5_officejs/bt/template_action_path_list
+3
-0
No files found.
bt5/erp5_officejs/ActionTemplateItem/portal_types/Presentation/jio_view.xml
0 → 100644
View file @
82aae3f2
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_jio_view
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_jio_view
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
jio_view
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
1000.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
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=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/OOoDocument_viewAsJio
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs/ActionTemplateItem/portal_types/Spreadsheet/jio_view.xml
0 → 100644
View file @
82aae3f2
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_jio_view
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_jio_view
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
jio_view
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
1000.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
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=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/OOoDocument_viewAsJio
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs/ActionTemplateItem/portal_types/Text/jio_view.xml
0 → 100644
View file @
82aae3f2
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_jio_view
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_jio_view
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
jio_view
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
1000.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
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=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/OOoDocument_viewAsJio
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/Document_viewAsJio.xml
→
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/
OOo
Document_viewAsJio.xml
View file @
82aae3f2
...
...
@@ -18,7 +18,8 @@
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
form_view_editable\n
ooffice_view
</string>
</value>
</item>
<item>
<key>
<string>
edit_order
</string>
</key>
...
...
@@ -73,16 +74,17 @@
<value>
<list>
<string>
my_description
</string>
<string>
my_data
</string>
<string>
my_title
</string>
<string>
my_reference
</string>
<string>
my_revision
</string>
<string>
my_language
</string>
<string>
my_version
</string>
<string>
my_portal_type
</string>
<string>
my
_modification_date
</string>
<string>
your
_modification_date
</string>
<string>
my_content_type
</string>
<string>
my_filename
</string>
<string>
my_data
</string>
<string>
your_data
</string>
</list>
</value>
</item>
...
...
@@ -97,7 +99,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Document_viewAsJio
</string>
</value>
<value>
<string>
OOo
Document_viewAsJio
</string>
</value>
</item>
<item>
<key>
<string>
method
</string>
</key>
...
...
@@ -109,7 +111,7 @@
</item>
<item>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_view
</string>
</value>
<value>
<string>
form_view
_editable
</string>
</value>
</item>
<item>
<key>
<string>
row_length
</string>
</key>
...
...
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/Document_viewAsJio/my_content_type.xml
→
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/
OOo
Document_viewAsJio/my_content_type.xml
View file @
82aae3f2
...
...
@@ -233,7 +233,7 @@
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<int>
0
</int>
</value>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
input_type
</string>
</key>
...
...
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/Document_viewAsJio/my_data.xml
→
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/
OOo
Document_viewAsJio/my_data.xml
View file @
82aae3f2
...
...
@@ -144,7 +144,9 @@
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
...
...
@@ -251,7 +253,7 @@
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
My
Data
</string>
</value>
<value>
<string>
Data
</string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
...
...
@@ -279,7 +281,20 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
here/Document_convertForJio
</string>
</value>
<value>
<string>
here/OOoDocument_convertForJio
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: not here.getContentType() or here.getContentType().startswith("application/yformat.")
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/Document_viewAsJio/my_description.xml
→
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/
OOo
Document_viewAsJio/my_description.xml
View file @
82aae3f2
File moved
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/Document_viewAsJio/my_filename.xml
→
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/
OOo
Document_viewAsJio/my_filename.xml
View file @
82aae3f2
...
...
@@ -249,7 +249,7 @@
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
My
Filename
</string>
</value>
<value>
<string>
Filename
</string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
...
...
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/Document_viewAsJio/my_language.xml
→
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/
OOo
Document_viewAsJio/my_language.xml
View file @
82aae3f2
File moved
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/Document_viewAsJio/my_portal_type.xml
→
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/
OOo
Document_viewAsJio/my_portal_type.xml
View file @
82aae3f2
...
...
@@ -233,7 +233,7 @@
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<int>
0
</int>
</value>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
input_type
</string>
</key>
...
...
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/Document_viewAsJio/my_reference.xml
→
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/
OOo
Document_viewAsJio/my_reference.xml
View file @
82aae3f2
File moved
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/Document_viewAsJio/my_revision.xml
→
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/
OOo
Document_viewAsJio/my_revision.xml
View file @
82aae3f2
...
...
@@ -217,7 +217,7 @@
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<int>
1
</int>
</value>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
...
...
@@ -249,7 +249,7 @@
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
My
Revision
</string>
</value>
<value>
<string>
Revision
</string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
...
...
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/Document_viewAsJio/my_title.xml
→
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/
OOo
Document_viewAsJio/my_title.xml
View file @
82aae3f2
...
...
@@ -249,7 +249,7 @@
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
My
Title
</string>
</value>
<value>
<string>
Title
</string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
...
...
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/Document_viewAsJio/my_version.xml
→
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/
OOo
Document_viewAsJio/my_version.xml
View file @
82aae3f2
File moved
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/OOoDocument_viewAsJio/your_data.xml
0 → 100644
View file @
82aae3f2
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/
Document_viewAsJio/my
_modification_date.xml
→
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_officejs_theme/
OOoDocument_viewAsJio/your
_modification_date.xml
View file @
82aae3f2
...
...
@@ -8,7 +8,7 @@
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my
_modification_date
</string>
</value>
<value>
<string>
your
_modification_date
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
...
...
@@ -235,7 +235,7 @@
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<int>
0
</int>
</value>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
input_type
</string>
</key>
...
...
@@ -279,7 +279,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: here.getModificationDate().
strftime(\'%d/%m/%Y\'
)
</string>
</value>
<value>
<string>
python: here.getModificationDate().
HTML4(
)
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
bt5/erp5_officejs/bt/template_action_path_list
View file @
82aae3f2
Presentation | jio_view
Spreadsheet | jio_view
Text | jio_view
Web Illustration | jio_view
Web Page | jio_view
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment