Difference between revisions of "Templates/website/submission"
From Apache OpenOffice Wiki
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 | :generated automatical by OOo | ||
+ | : Taken from mime type, see below | ||
* License: 'BSD' | * License: 'BSD' | ||
:taken from file: uploadfile::meta.xml::user-defined / or manual? | :taken from file: uploadfile::meta.xml::user-defined / or manual? | ||
Line 34: | Line 35: | ||
: | : | ||
* 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: | + | :generated by OOo/template creator: defining appropiate language default paragraph style |
:same as internal language from drupal locale; a template has just one language! | :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 | :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' |
Revision as of 15:52, 27 August 2008
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 / or manual?
- TODO:how to generate this information?
- 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
- generated by submitter, from his user account
- Category: 'Business'
- manual selection
- generated by submitter
- Sub category: 'Business Correspondence'
- manual selection
- generated by submitter
- Name: unique: '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'