OASIS Open Document Format for Office Applications (OpenDocument) TC

[office] mime-types for OpenDocument

  • 1.  [office] mime-types for OpenDocument

    Posted 05-09-2005 16:32
     MHonArc v2.5.0b2 -->
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    office message

    [Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


    Subject: [office] mime-types for OpenDocument


    Hi Mary,
    
    this is an updated version of the mime-type registration including 
    'magic-number' information...
    
    Bests,
    ~Lars
    
    -- 
    Lars Oppermann <lars.oppermann@sun.com>               Sun Microsystems
    Software Engineer - StarOffice                           Sachsenfeld 4
    Phone: +49 40 23646 959                                D-20097 Hamburg
    Fax:   +49 40 23646 550                  http://www.sun.com/staroffice
    
    
    
    #   MIME Media Type Name
    Application
    
    
    # MIME subtype name ( See Existing subtype names )
    
    vnd.oasis.opendocument.text
    vnd.oasis.opendocument.text-template
    vnd.oasis.opendocument.text-master
    vnd.oasis.opendocument.text-web
    vnd.oasis.opendocument.spreadsheet
    vnd.oasis.opendocument.spreadsheet-template
    vnd.oasis.opendocument.graphics
    vnd.oasis.opendocument.graphics-template
    vnd.oasis.opendocument.presentation
    vnd.oasis.opendocument.presentation-template
    vnd.oasis.opendocument.image
    vnd.oasis.opendocument.image-template
    vnd.oasis.opendocument.formula
    vnd.oasis.opendocument.formula-template
    vnd.oasis.opendocument.chart
    vnd.oasis.opendocument.chart-template
    
    
    # Required parameters
    - none -
    
    # Optional parameters
    - none -
    
    # Encoding considerations
    binary
    
    # Security considerations
    Documents may contain script programs which are able to perform various 
    actions on behalf of the user. Applications should make the user aware of 
    this fact when opening a document of unknown/not-trusted origin.
    
    # Interoperability considerations
    - none -
    
    # Published specification
    http://www.oasis-open.org/apps/org/workgroup/office/download.php/10765/office-spec-1.0-cd-3.pdf
    @@replace with final document url@@
    
    # Applications which use this media type
    StarOffice
    OpenOffice.org
    KOffice
    
    
    # Additional information
        * Magic number(s)
    Using a syntax close to the file(1) command, OpenDocument files have the following 'magic':
    
    0    string   PK\003\004
    >>30  string   mimetype
    >>>>>38 string    vnd.oasis.opendocument.text
    
    (or any other mimetype being registered here)
    
    I.e. in plain english: the ZIP magic header "PK" followed by the byte values 3 and 4,
    and at offset 30, the string "mimetype" followed by the actual mimetype of the document.
    
        * File extension(s)
    vnd.oasis.opendocument.text                  -> .odt
    vnd.oasis.opendocument.text-template         -> .ott
    vnd.oasis.opendocument.text-master           -> .otm
    vnd.oasis.opendocument.text-web              -> .oth
    vnd.oasis.opendocument.spreadsheet           -> .ods
    vnd.oasis.opendocument.spreadsheet-template  -> .ots
    vnd.oasis.opendocument.graphics              -> .odg
    vnd.oasis.opendocument.graphics-template     -> .otg
    vnd.oasis.opendocument.presentation          -> .odp
    vnd.oasis.opendocument.presentation-template -> .otp
    vnd.oasis.opendocument.image                 -> .odi
    vnd.oasis.opendocument.image-template        -> .oti
    vnd.oasis.opendocument.formula               -> .odf
    vnd.oasis.opendocument.formula-template      -> .otf
    vnd.oasis.opendocument.chart                 -> .odc
    vnd.oasis.opendocument.chart-template        -> .otc
    
        * Macintosh File Type Code(s)
    - none -
    
        * Object Identifier(s) or OID(s) (See RFC1494)
    -none -
    
    # Intended usage
    Common
    
    # Other Information/General Comment
    -none-
    
    # Person to contact for further information
    * Name
    Lars Oppermann
    * E-mail
    lars.oppermann@sun.com
    
    * Author/Change controller
    Michael Brauer <michael.brauer@sun.com>
    http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office 
    
    
    


    [Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]