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
0
Issues
0
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
Léo-Paul Géneau
erp5
Commits
a42081b0
Commit
a42081b0
authored
Dec 31, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ods_style: export username & date in metadata
parent
e1e460d0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
133 additions
and
3 deletions
+133
-3
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/Base_getODSMetaStyleSheet.xml
...portal_skins/erp5_ods_style/Base_getODSMetaStyleSheet.xml
+106
-0
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/form_list.xml
...kinTemplateItem/portal_skins/erp5_ods_style/form_list.xml
+9
-1
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/form_view.xml
...kinTemplateItem/portal_skins/erp5_ods_style/form_view.xml
+9
-1
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/report_view.xml
...nTemplateItem/portal_skins/erp5_ods_style/report_view.xml
+9
-1
No files found.
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/Base_getODSMetaStyleSheet.xml
0 → 100644
View file @
a42081b0
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"OOoTemplate"
module=
"Products.ERP5OOo.OOoTemplate"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
OLE_documents_zipstring
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<unicode
encoding=
"cdata"
>
<![CDATA[
<?xml version=\'1.0\' encoding=\'utf-8\'?>
\n
<office:document-meta
xmlns:office=
"urn:oasis:names:tc:opendocument:xmlns:office:1.0"
xmlns:grddl=
"http://www.w3.org/2003/g/data-view#"
xmlns:ooo=
"http://openoffice.org/2004/office"
xmlns:metal=
"http://xml.zope.org/namespaces/metal"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:dc=
"http://purl.org/dc/elements/1.1/"
xmlns:i18n=
"http://xml.zope.org/namespaces/i18n"
xmlns:meta=
"urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
xmlns:tal=
"http://xml.zope.org/namespaces/tal"
office:version=
"1.2"
tal:attributes=
"dummy python:request.RESPONSE.setHeader(\'Content-Type\', \'text/html;; charset=utf-8\')"
>
\n
<office:meta
i18n:domain=
"ui"
tal:define=
"user context/ERP5Site_getAuthenticatedMemberPersonValue;\n
username python:(user is None) and context.getPortalObject().portal_membership.getAuthenticatedMember() or user.getTitle()"
>
\n
<meta:generator>
ERP5
</meta:generator>
\n
<meta:creation-date
tal:content=
"python:modules[\'DateTime\'].DateTime().ISO8601()"
>
2007-07-04T15:43:50
</meta:creation-date>
\n
<meta:initial-creator
tal:content=
"username"
/>
\n
<dc:date>
2012-03-01T13:44:50
</dc:date>
\n
<meta:editing-cycles>
1
</meta:editing-cycles>
\n
<meta:editing-duration>
PT16H44M42S
</meta:editing-duration>
\n
<dc:title
tal:content=
"context/title_or_id"
i18n:translate=
""
/>
\n
<dc:creator
tal:content=
"username"
/>
\n
<meta:document-statistic
meta:table-count=
"2"
meta:image-count=
"0"
meta:object-count=
"0"
meta:page-count=
"2"
meta:paragraph-count=
"33"
meta:word-count=
"141"
meta:character-count=
"1187"
/>
\n
<meta:user-defined
meta:name=
"Info 1"
/>
\n
<meta:user-defined
meta:name=
"Info 2"
/>
\n
<meta:user-defined
meta:name=
"Info 3"
/>
\n
<meta:user-defined
meta:name=
"Info 4"
/>
\n
</office:meta>
\n
</office:document-meta>
]]>
</unicode>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/xml
</string>
</value>
</item>
<item>
<key>
<string>
expand
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
filename
</string>
</key>
<value>
<string>
object/aq_parent/title_or_id
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Base_getODSMetaStyleSheet
</string>
</value>
</item>
<item>
<key>
<string>
ooo_script_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
ooo_stylesheet
</string>
</key>
<value>
<string>
Base_getDynamicODSStyleSheet
</string>
</value>
</item>
<item>
<key>
<string>
ooo_xml_file_id
</string>
</key>
<value>
<string>
meta.xml
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<value>
<string>
utf-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<unicode></unicode>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/form_list.xml
View file @
a42081b0
...
@@ -89,9 +89,17 @@
...
@@ -89,9 +89,17 @@
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
form_list
</string>
</value>
<value>
<string>
form_list
</string>
</value>
</item>
</item>
<item>
<key>
<string>
ooo_script_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
ooo_stylesheet
</string>
</key>
<key>
<string>
ooo_stylesheet
</string>
</key>
<value>
<string>
Base_getDynamicODSStyleSheet
</string>
</value>
<value>
<string>
Base_getODSMetaStyleSheet
</string>
</value>
</item>
<item>
<key>
<string>
ooo_xml_file_id
</string>
</key>
<value>
<string>
content.xml
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<key>
<string>
output_encoding
</string>
</key>
...
...
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/form_view.xml
View file @
a42081b0
...
@@ -154,9 +154,17 @@ dQEAAAAA</string> </value>
...
@@ -154,9 +154,17 @@ dQEAAAAA</string> </value>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
form_view
</string>
</value>
<value>
<string>
form_view
</string>
</value>
</item>
</item>
<item>
<key>
<string>
ooo_script_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
ooo_stylesheet
</string>
</key>
<key>
<string>
ooo_stylesheet
</string>
</key>
<value>
<string>
Base_getDynamicODSStyleSheet
</string>
</value>
<value>
<string>
Base_getODSMetaStyleSheet
</string>
</value>
</item>
<item>
<key>
<string>
ooo_xml_file_id
</string>
</key>
<value>
<string>
content.xml
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<key>
<string>
output_encoding
</string>
</key>
...
...
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/report_view.xml
View file @
a42081b0
...
@@ -168,9 +168,17 @@
...
@@ -168,9 +168,17 @@
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
report_view
</string>
</value>
<value>
<string>
report_view
</string>
</value>
</item>
</item>
<item>
<key>
<string>
ooo_script_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
ooo_stylesheet
</string>
</key>
<key>
<string>
ooo_stylesheet
</string>
</key>
<value>
<string>
Base_getDynamicODSStyleSheet
</string>
</value>
<value>
<string>
Base_getODSMetaStyleSheet
</string>
</value>
</item>
<item>
<key>
<string>
ooo_xml_file_id
</string>
</key>
<value>
<string>
content.xml
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
output_encoding
</string>
</key>
<key>
<string>
output_encoding
</string>
</key>
...
...
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