Templates/website/submission
From Apache OpenOffice Wiki
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'
Categories
- Business
- Business Correspondence
- Finance
- Presentation Backgrounds
- Miscellaneous
- Other Business Documents
- Education
- Workbook
- Private
- Personal Correspondence and Documents