######################################################################
#
#    Common Desktop Environment (CDE)
#
#    Action and DataType Definition File
#
######################################################################

DATA_ATTRIBUTES SDW
{
    ACTIONS     Open
    ICON        sxw
    MIME_TYPE   application/vnd.stardivision.writer
}

DATA_CRITERIA SDW0
{
    DATA_ATTRIBUTES_NAME    SDW
    MODE                    f
    NAME_PATTERN            *.sdw
}

DATA_CRITERIA SDW1
{
    DATA_ATTRIBUTES_NAME    SDW
    MODE                    f
    NAME_PATTERN            *.SDW
}

DATA_ATTRIBUTES SGL
{
    ACTIONS     Open
    ICON        sxg
    MIME_TYPE   application/vnd.stardivision.writer-global
}

DATA_CRITERIA SGL0
{
    DATA_ATTRIBUTES_NAME    SGL
    MODE                    f
    NAME_PATTERN            *.sgl
}

DATA_CRITERIA SGL1
{
    DATA_ATTRIBUTES_NAME    SGL
    MODE                    f
    NAME_PATTERN            *.SGL
}

DATA_ATTRIBUTES SXW
{
    ACTIONS     Open
    ICON        sxw
    MIME_TYPE   application/vnd.sun.xml.writer
}

DATA_CRITERIA SXW0
{
    DATA_ATTRIBUTES_NAME    SXW
    MODE                    f
    NAME_PATTERN            *.sxw
}

DATA_CRITERIA SXW1
{
    DATA_ATTRIBUTES_NAME    SXW
    MODE                    f
    NAME_PATTERN            *.SXW
}

DATA_ATTRIBUTES STW
{
    ACTIONS     Open
    ICON        stw
    MIME_TYPE   application/vnd.sun.xml.writer.template
}

DATA_CRITERIA STW0
{
    DATA_ATTRIBUTES_NAME    STW
    MODE                    f
    NAME_PATTERN            *.stw
}

DATA_CRITERIA STW1
{
    DATA_ATTRIBUTES_NAME    STW
    MODE                    f
    NAME_PATTERN            *.STW
}

DATA_ATTRIBUTES SXG
{
    ACTIONS     Open
    ICON        sxg
    MIME_TYPE   application/vnd.sun.xml.writer.global
}

DATA_CRITERIA SXG0
{
    DATA_ATTRIBUTES_NAME    SXG
    MODE                    f
    NAME_PATTERN            *.sxg
}

DATA_CRITERIA SXG1
{
    DATA_ATTRIBUTES_NAME    SXG
    MODE                    f
    NAME_PATTERN            *.SXG
}

DATA_ATTRIBUTES ODT
{
    ACTIONS     Open
    ICON        odt
    MIME_TYPE   application/vnd.oasis.opendocument.text
} 

DATA_CRITERIA ODT0
{
    DATA_ATTRIBUTES_NAME    ODT
    MODE                    f
    NAME_PATTERN            *.odt
}

DATA_CRITERIA ODT1
{
    DATA_ATTRIBUTES_NAME    ODT
    MODE                    f
    NAME_PATTERN            *.ODT
}

DATA_ATTRIBUTES OTT
{
    ACTIONS     Open
    ICON        ott
    MIME_TYPE   application/vnd.oasis.opendocument.text-template
} 

DATA_CRITERIA OTT0
{
    DATA_ATTRIBUTES_NAME    OTT
    MODE                    f
    NAME_PATTERN            *.ott
}

DATA_CRITERIA OTT1
{
    DATA_ATTRIBUTES_NAME    OTT
    MODE                    f
    NAME_PATTERN            *.OTT
}

DATA_ATTRIBUTES ODM
{
    ACTIONS     Open
    ICON        odm
    MIME_TYPE   application/vnd.oasis.opendocument.text-master
} 

DATA_CRITERIA ODM0
{
    DATA_ATTRIBUTES_NAME    ODM
    MODE                    f
    NAME_PATTERN            *.odm
}

DATA_CRITERIA ODM1
{
    DATA_ATTRIBUTES_NAME    ODM
    MODE                    f
    NAME_PATTERN            *.ODM
}

DATA_ATTRIBUTES OTH
{
    ACTIONS     Open
    ICON        oth
    MIME_TYPE   application/vnd.oasis.opendocument.text-web
} 

DATA_CRITERIA OTH0
{
    DATA_ATTRIBUTES_NAME    OTH
    MODE                    f
    NAME_PATTERN            *.oth
}

DATA_CRITERIA OTH1
{
    DATA_ATTRIBUTES_NAME    OTH
    MODE                    f
    NAME_PATTERN            *.OTH
}

DATA_CRITERIA RICHTEXT2
{
    DATA_ATTRIBUTES_NAME    RICHTEXT
    MODE                    f
    NAME_PATTERN            *.rtf
}

DATA_CRITERIA RICHTEXT3
{
    DATA_ATTRIBUTES_NAME    RICHTEXT
    MODE                    f
    NAME_PATTERN            *.RTF
}

DATA_ATTRIBUTES DOC
{
    ACTIONS     Open
    ICON        sxw
}

DATA_CRITERIA DOC0
{
    DATA_ATTRIBUTES_NAME    DOC
    MODE                    f
    NAME_PATTERN            *.doc
}

DATA_CRITERIA DOC1
{
    DATA_ATTRIBUTES_NAME    DOC
    MODE                    f
    NAME_PATTERN            *.DOC
}

DATA_ATTRIBUTES DOT
{
    ACTIONS     Open
    ICON        stw
}

DATA_CRITERIA DOT0
{
    DATA_ATTRIBUTES_NAME    DOT
    MODE                    f
    NAME_PATTERN            *.dot
}

DATA_CRITERIA DOT1
{
    DATA_ATTRIBUTES_NAME    DOT
    MODE                    f
    NAME_PATTERN            *.DOT
}

ACTION Open
{
    ARG_TYPE    SDW,SGL,SXW,STW,SXG,ODT,OTT,ODM,OTH,RICHTEXT,DOC,DOT
    TYPE        MAP
    MAP_ACTION  OpenOffice2.4
}

ACTION OpenOffice2.4
{
    TYPE            COMMAND
    LABEL           OpenOffice.org 2.4
    EXEC_STRING     openoffice.org2.4 "%(File)Args%"
    WINDOW_TYPE     NO_STDIO
}

ACTION OpenOffice2.4Writer
{
    TYPE            COMMAND
    LABEL           OpenOffice.org 2.4 Writer
    EXEC_STRING     openoffice.org2.4 -writer "%(File)Args%"
    ICON            openoffice.org2.4-writer
    WINDOW_TYPE     NO_STDIO
}
DATA_ATTRIBUTES SDC
{
    ACTIONS     Open
    ICON        sxc
    MIME_TYPE   application/vnd.stardivision.calc
}

DATA_CRITERIA SDC0
{
    DATA_ATTRIBUTES_NAME    SDC
    MODE                    f
    NAME_PATTERN            *.sdc
}

DATA_CRITERIA SDC1
{
    DATA_ATTRIBUTES_NAME    SDC
    MODE                    f
    NAME_PATTERN            *.SDC
}

DATA_ATTRIBUTES SDS
{
    ACTIONS     Open
    ICON        sds
    MIME_TYPE   application/vnd.stardivision.chart
}

DATA_CRITERIA SDS0
{
    DATA_ATTRIBUTES_NAME    SDS
    MODE                    f
    NAME_PATTERN            *.sds
}

DATA_CRITERIA SDS1
{
    DATA_ATTRIBUTES_NAME    SDS
    MODE                    f
    NAME_PATTERN            *.SDS
}

DATA_ATTRIBUTES SXC
{
    ACTIONS     Open
    ICON        sxc
    MIME_TYPE   application/vnd.sun.xml.calc
}

DATA_CRITERIA SXC0
{
    DATA_ATTRIBUTES_NAME    SXC
    MODE                    f
    NAME_PATTERN            *.sxc
}

DATA_CRITERIA SXC1
{
    DATA_ATTRIBUTES_NAME    SXC
    MODE                    f
    NAME_PATTERN            *.SXC
}

DATA_ATTRIBUTES STC
{
    ACTIONS     Open
    ICON        stc
    MIME_TYPE   application/vnd.sun.xml.calc.template
}

DATA_CRITERIA STC0
{
    DATA_ATTRIBUTES_NAME    STC
    MODE                    f
    NAME_PATTERN            *.stc
}

DATA_CRITERIA STC1
{
    DATA_ATTRIBUTES_NAME    STC
    MODE                    f
    NAME_PATTERN            *.STC
}

DATA_ATTRIBUTES ODS
{
    ACTIONS     Open
    ICON        ods
    MIME_TYPE   application/vnd.oasis.opendocument.spreadsheet
}

DATA_CRITERIA ODS0
{
    DATA_ATTRIBUTES_NAME    ODS
    MODE                    f
    NAME_PATTERN            *.ods
}

DATA_CRITERIA ODS1
{
    DATA_ATTRIBUTES_NAME    ODS
    MODE                    f
    NAME_PATTERN            *.ODS
}

DATA_ATTRIBUTES OTS
{
    ACTIONS     Open
    ICON        ots
    MIME_TYPE   application/vnd.oasis.opendocument.spreadsheet-template
}

DATA_CRITERIA OTS0
{
    DATA_ATTRIBUTES_NAME    OTS
    MODE                    f
    NAME_PATTERN            *.ots
}

DATA_CRITERIA OTS1
{
    DATA_ATTRIBUTES_NAME    OTS
    MODE                    f
    NAME_PATTERN            *.OTS
}

DATA_ATTRIBUTES XLS
{
    ACTIONS     Open
    ICON        sxc
}

DATA_CRITERIA XLS0
{
    DATA_ATTRIBUTES_NAME    XLS
    MODE                    f
    NAME_PATTERN            *.xls
}

DATA_CRITERIA XLS1
{
    DATA_ATTRIBUTES_NAME    XLS
    MODE                    f
    NAME_PATTERN            *.XLS
}

DATA_ATTRIBUTES XLT
{
    ACTIONS     Open
    ICON        stc
}

DATA_CRITERIA XLT0
{
    DATA_ATTRIBUTES_NAME    XLT
    MODE                    f
    NAME_PATTERN            *.xlt
}

DATA_CRITERIA XLT1
{
    DATA_ATTRIBUTES_NAME    XLT
    MODE                    f
    NAME_PATTERN            *.XLT
}

ACTION Open
{
    ARG_TYPE    SDC,SDS,SXC,STC,ODS,OTS,XLS,XLT
    TYPE        MAP
    MAP_ACTION  OpenOffice2.4
}

ACTION OpenOffice2.4Calc
{
    TYPE            COMMAND
    LABEL           OpenOffice.org 2.4 Calc
    EXEC_STRING     openoffice.org2.4 -calc "%(File)Args%"
    ICON            openoffice.org2.4-calc
    WINDOW_TYPE     NO_STDIO
}
DATA_ATTRIBUTES SDA
{
    ACTIONS     Open
    ICON        sxd
    MIME_TYPE   application/vnd.stardivision.draw
}

DATA_CRITERIA SDA0
{
    DATA_ATTRIBUTES_NAME    SDA
    MODE                    f
    NAME_PATTERN            *.sda
}

DATA_CRITERIA SDA1
{
    DATA_ATTRIBUTES_NAME    SDA
    MODE                    f
    NAME_PATTERN            *.SDA
}

DATA_ATTRIBUTES SXD
{
    ACTIONS     Open
    ICON        sxd
    MIME_TYPE   application/vnd.sun.xml.draw
}

DATA_CRITERIA SXD0
{
    DATA_ATTRIBUTES_NAME    SXD
    MODE                    f
    NAME_PATTERN            *.sxd
}

DATA_CRITERIA SXD1
{
    DATA_ATTRIBUTES_NAME    SXD
    MODE                    f
    NAME_PATTERN            *.SXD
}

DATA_ATTRIBUTES STD
{
    ACTIONS     Open
    ICON        std
    MIME_TYPE   application/vnd.sun.xml.draw.template
}

DATA_CRITERIA STD0
{
    DATA_ATTRIBUTES_NAME    STD
    MODE                    f
    NAME_PATTERN            *.std
}

DATA_CRITERIA STD1
{
    DATA_ATTRIBUTES_NAME    STD
    MODE                    f
    NAME_PATTERN            *.STD
}

DATA_ATTRIBUTES ODG
{
    ACTIONS     Open
    ICON        odg
    MIME_TYPE   application/vnd.oasis.opendocument.drawing
}

DATA_CRITERIA ODG0
{
    DATA_ATTRIBUTES_NAME    ODG
    MODE                    f
    NAME_PATTERN            *.odg
}

DATA_CRITERIA ODG1
{
    DATA_ATTRIBUTES_NAME    ODG
    MODE                    f
    NAME_PATTERN            *.ODG
}

DATA_ATTRIBUTES OTG
{
    ACTIONS     Open
    ICON        otg
    MIME_TYPE   application/vnd.oasis.opendocument.drawing-template
}

DATA_CRITERIA OTG0
{
    DATA_ATTRIBUTES_NAME    OTG
    MODE                    f
    NAME_PATTERN            *.otg
}

DATA_CRITERIA OTG1
{
    DATA_ATTRIBUTES_NAME    OTG
    MODE                    f
    NAME_PATTERN            *.OTG
}

ACTION Open
{
    ARG_TYPE    SDA,SXD,STD,ODG,OTG
    TYPE        MAP
    MAP_ACTION  OpenOffice2.4
}

ACTION OpenOffice2.4Draw
{
    TYPE            COMMAND
    LABEL           OpenOffice.org 2.4 Draw
    EXEC_STRING     openoffice.org2.4 -draw "%(File)Args%"
    ICON            openoffice.org2.4-draw
    WINDOW_TYPE     NO_STDIO
}
DATA_ATTRIBUTES SDD
{
    ACTIONS     Open
    ICON        sxi
    MIME_TYPE   application/vnd.stardivision.impress
}

DATA_CRITERIA SDD0
{
    DATA_ATTRIBUTES_NAME    SDD
    MODE                    f
    NAME_PATTERN            *.sdd
}

DATA_CRITERIA SDD1
{
    DATA_ATTRIBUTES_NAME    SDD
    MODE                    f
    NAME_PATTERN            *.SDD
}

DATA_ATTRIBUTES SXI
{
    ACTIONS     Open
    ICON        sxi
    MIME_TYPE   application/vnd.sun.xml.impress
}

DATA_CRITERIA SXI0
{
    DATA_ATTRIBUTES_NAME    SXI
    MODE                    f
    NAME_PATTERN            *.sxi
}

DATA_CRITERIA SXI1
{
    DATA_ATTRIBUTES_NAME    SXI
    MODE                    f
    NAME_PATTERN            *.SXI
}

DATA_ATTRIBUTES STI
{
    ACTIONS     Open
    ICON        sti
    MIME_TYPE   application/vnd.sun.xml.impress.template
}

DATA_CRITERIA STI0
{
    DATA_ATTRIBUTES_NAME    STI
    MODE                    f
    NAME_PATTERN            *.sti
}

DATA_CRITERIA STI1
{
    DATA_ATTRIBUTES_NAME    STI
    MODE                    f
    NAME_PATTERN            *.STI
}

DATA_ATTRIBUTES ODP
{
    ACTIONS     Open
    ICON        odp
    MIME_TYPE   application/vnd.oasis.opendocument.presentation
}

DATA_CRITERIA ODP0
{
    DATA_ATTRIBUTES_NAME    ODP
    MODE                    f
    NAME_PATTERN            *.odp
}

DATA_CRITERIA ODP1
{
    DATA_ATTRIBUTES_NAME    ODP
    MODE                    f
    NAME_PATTERN            *.ODP
}

DATA_ATTRIBUTES OTP
{
    ACTIONS     Open
    ICON        otp
    MIME_TYPE   application/vnd.oasis.opendocument.presentation-template
}

DATA_CRITERIA OTP0
{
    DATA_ATTRIBUTES_NAME    OTP
    MODE                    f
    NAME_PATTERN            *.otp
}

DATA_CRITERIA OTP1
{
    DATA_ATTRIBUTES_NAME    OTP
    MODE                    f
    NAME_PATTERN            *.OTP
}

DATA_ATTRIBUTES PPS
{
    ACTIONS     Open
    ICON        sxi
}

DATA_CRITERIA PPS0
{
    DATA_ATTRIBUTES_NAME    PPS
    MODE                    f
    NAME_PATTERN            *.pps
}

DATA_CRITERIA PPS1
{
    DATA_ATTRIBUTES_NAME    PPS
    MODE                    f
    NAME_PATTERN            *.PPS
}

DATA_ATTRIBUTES PPT
{
    ACTIONS     Open
    ICON        sti
}

DATA_CRITERIA PPT0
{
    DATA_ATTRIBUTES_NAME    PPT
    MODE                    f
    NAME_PATTERN            *.ppt
}

DATA_CRITERIA PPT1
{
    DATA_ATTRIBUTES_NAME    PPT
    MODE                    f
    NAME_PATTERN            *.PPT
}

ACTION Open
{
    ARG_TYPE    SDD,SXI,STI,ODP,OTP,PPS,PPT
    TYPE        MAP
    MAP_ACTION  OpenOffice2.4
}

ACTION OpenOffice2.4Impress
{
    TYPE            COMMAND
    LABEL           OpenOffice.org 2.4 Impress
    EXEC_STRING     openoffice.org2.4 -impress "%(File)Args%"
    ICON            openoffice.org2.4-impress
    WINDOW_TYPE     NO_STDIO
}
DATA_ATTRIBUTES SDF
{
    ACTIONS     Open
    ICON        sxm
    MIME_TYPE   application/vnd.stardivision.math
}

DATA_CRITERIA SDF0
{
    DATA_ATTRIBUTES_NAME    SDF
    MODE                    f
    NAME_PATTERN            *.sdf
}

DATA_CRITERIA SDF1
{
    DATA_ATTRIBUTES_NAME    SDF
    MODE                    f
    NAME_PATTERN            *.SDF
}

DATA_ATTRIBUTES SXM
{
    ACTIONS     Open
    ICON        sxm
    MIME_TYPE   application/vnd.sun.xml.math
}

DATA_CRITERIA SXM0
{
    DATA_ATTRIBUTES_NAME    SXM
    MODE                    f
    NAME_PATTERN            *.sxm
}

DATA_CRITERIA SXM1
{
    DATA_ATTRIBUTES_NAME    SXM
    MODE                    f
    NAME_PATTERN            *.SXM
}

DATA_ATTRIBUTES ODF
{
    ACTIONS     Open
    ICON        odf
    MIME_TYPE   application/vnd.oasis.opendocument.formula
}

DATA_CRITERIA ODF0
{
    DATA_ATTRIBUTES_NAME    ODF
    MODE                    f
    NAME_PATTERN            *.odf
}

DATA_CRITERIA ODF1
{
    DATA_ATTRIBUTES_NAME    ODF
    MODE                    f
    NAME_PATTERN            *.ODF
}

ACTION Open
{
    ARG_TYPE    SDF,SXM,ODF
    TYPE        MAP
    MAP_ACTION  OpenOffice2.4
}

ACTION OpenOffice2.4Math
{
    TYPE            COMMAND
    LABEL           OpenOffice.org 2.4 Math
    EXEC_STRING     openoffice.org2.4 -math "%(File)Args%"
    ICON            openoffice.org2.4-math
    WINDOW_TYPE     NO_STDIO
}
DATA_ATTRIBUTES ODB
{
    ACTIONS     Open
    ICON        odb
    MIME_TYPE   application/vnd.sun.xml.base
}

DATA_CRITERIA ODB0
{
    DATA_ATTRIBUTES_NAME    ODB
    MODE                    f
    NAME_PATTERN            *.odb
}

DATA_CRITERIA ODB1
{
    DATA_ATTRIBUTES_NAME    ODB
    MODE                    f
    NAME_PATTERN            *.ODB
}

ACTION Open
{
    ARG_TYPE    ODB
    TYPE        MAP
    MAP_ACTION  OpenOffice2.4
}

ACTION OpenOffice2.4Base
{
    TYPE            COMMAND
    LABEL           OpenOffice.org 2.4 Base
    EXEC_STRING     openoffice.org2.4 -base "%(File)Args%"
    ICON            openoffice.org2.4-base
    WINDOW_TYPE     NO_STDIO
}

ACTION OpenOffice2.4PrinterAdmin
{
    TYPE            COMMAND
    ARG_COUNT       0
    LABEL           Administración da impresora de OpenOffice.org 2.4!
    EXEC_STRING     openoffice.org2.4-printeradmin
    ICON            openoffice.org2.4-printeradmin
    WINDOW_TYPE     NO_STDIO
}
