Difference between revisions of "Templates/website/submission"
From Apache OpenOffice Wiki
(New page: Needed information, and where to put/take it from * Compatibility: with which OOo version does it work; 'Runs with OpenOffice.org 3.0 and higher' : * Application type: 'Writer' :taken fro...) |
|||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | Needed information, and where to put/take it from | + | ==Needed information, and where to put/take it from== |
* Compatibility: with which OOo version does it work; 'Runs with OpenOffice.org 3.0 and higher' | * Compatibility: with which OOo version does it work; 'Runs with OpenOffice.org 3.0 and higher' | ||
− | : | + | : Taken from mime type, see below |
* Application type: 'Writer' | * Application type: 'Writer' | ||
:taken from extension of upload file / or from file: uploadfile::mimetype | :taken from extension of upload file / or from file: uploadfile::mimetype | ||
+ | :generated automatical by OOo | ||
+ | : Taken from mime type, see below | ||
* License: 'BSD' | * License: 'BSD' | ||
− | :taken from file: uploadfile::meta.xml::user-defined | + | :taken from file: uploadfile::meta.xml::user-defined::License |
* Provider: 'Created by Sun Microsystems, Inc.' | * Provider: 'Created by Sun Microsystems, Inc.' | ||
− | :taken from logged in user account / or from file: uploadfile::meta.xml::creator | + | :taken from logged in user account (prefered)/ or from file: uploadfile::meta.xml::creator, would mean user data from OOo |
− | * Category: 'Business' | + | :has to be inside the template metatdata:: description |
+ | * Category: 'Business' and Sub category: 'Business Correspondence' | ||
:manual selection | :manual selection | ||
− | + | :selected by submitter on submission | |
− | + | * Name: 'Business Letter 1' | |
− | * Name | + | |
:taken from file: uploadfile::meta.xml::title | :taken from file: uploadfile::meta.xml::title | ||
+ | :generated by OOo/template creator: File-Properties-Description-Title | ||
* Short description | * Short description | ||
:taken from file: uploadfile::meta.xml::description | :taken from file: uploadfile::meta.xml::description | ||
+ | :generated by OOo/template creator: File-Properties-Description-Comments | ||
* Tags | * Tags | ||
:taken from file: uploadfile::meta.xml::keyword | :taken from file: uploadfile::meta.xml::keyword | ||
+ | :generated by OOo/template creator: File-Properties-Description-Keywords | ||
* Last Updated / Versioning: Date of upload | * Last Updated / Versioning: Date of upload | ||
: | : | ||
Line 26: | Line 31: | ||
: | : | ||
* Language: in which language is the template | * Language: in which language is the template | ||
− | :taken from file: uploadfile:: | + | :taken from file: uploadfile::styles.xml::default-style:paragraph:text-properties:language= |
+ | :generated by OOo/template creator: defining appropiate language default paragraph style | ||
+ | :same as internal language from drupal locale; a template has just one language! | ||
+ | :if user selects language for site view, he just gets templates in his language | ||
+ | |||
+ | ==Template Mime Types== | ||
+ | * Compatible since OpenOffice.org 2.0: | ||
+ | ** 'application/vnd.oasis.opendocument.text-template' => 'ott' => 'Text' | ||
+ | ** 'application/vnd.oasis.opendocument.graphics-template' => 'otg' => 'Drawing' | ||
+ | ** 'application/vnd.oasis.opendocument.presentation-template' => 'otp' => 'Presentation' | ||
+ | ** 'application/vnd.oasis.opendocument.spreadsheet-template' => 'ots' => 'Spreadsheet' | ||
+ | |||
+ | ==Categories== | ||
+ | [[Templates/website/translation#Categories]] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | [[Category:Templates]] | ||
+ | [[Category:Template Repository]] |
Latest revision as of 13:35, 22 January 2009
Needed information, and where to put/take it from
- Compatibility: with which OOo version does it work; 'Runs with OpenOffice.org 3.0 and higher'
- Taken from mime type, see below
- Application type: 'Writer'
- taken from extension of upload file / or from file: uploadfile::mimetype
- generated automatical by OOo
- Taken from mime type, see below
- License: 'BSD'
- taken from file: uploadfile::meta.xml::user-defined::License
- Provider: 'Created by Sun Microsystems, Inc.'
- taken from logged in user account (prefered)/ or from file: uploadfile::meta.xml::creator, would mean user data from OOo
- has to be inside the template metatdata:: description
- Category: 'Business' and Sub category: 'Business Correspondence'
- manual selection
- selected by submitter on submission
- Name: 'Business Letter 1'
- taken from file: uploadfile::meta.xml::title
- generated by OOo/template creator: File-Properties-Description-Title
- Short description
- taken from file: uploadfile::meta.xml::description
- generated by OOo/template creator: File-Properties-Description-Comments
- Tags
- taken from file: uploadfile::meta.xml::keyword
- generated by OOo/template creator: File-Properties-Description-Keywords
- Last Updated / Versioning: Date of upload
- Preview image
- generated via webservice of a StarOffice 8 Server - PDF Converter
- Original submitter: user which is logged in
- Language: in which language is the template
- taken from file: uploadfile::styles.xml::default-style:paragraph:text-properties:language=
- generated by OOo/template creator: defining appropiate language default paragraph style
- same as internal language from drupal locale; a template has just one language!
- if user selects language for site view, he just gets templates in his language
Template Mime Types
- Compatible since OpenOffice.org 2.0:
- 'application/vnd.oasis.opendocument.text-template' => 'ott' => 'Text'
- 'application/vnd.oasis.opendocument.graphics-template' => 'otg' => 'Drawing'
- 'application/vnd.oasis.opendocument.presentation-template' => 'otp' => 'Presentation'
- 'application/vnd.oasis.opendocument.spreadsheet-template' => 'ots' => 'Spreadsheet'