libreoffice-draw.dt 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. ######################################################################
  2. #
  3. # Common Desktop Environment (CDE)
  4. #
  5. # Action and DataType Definition File
  6. #
  7. # Generated by the CreateAction tool
  8. #
  9. # $Revision: 1.0
  10. #
  11. # $KEY: 108
  12. #
  13. ######################################################################
  14. #
  15. # WARNING:
  16. #
  17. # This file was generated by the CDE CreateAction tool.
  18. # If this file is modified by some other tool, such as vi,
  19. # the CreateAction tool will no longer be able to load and
  20. # update this file. For this reason, changes to this file
  21. # should be handled through CreateAction whenever possible.
  22. #
  23. ######################################################################
  24. ACTION libreoffice-draw
  25. {
  26. LABEL Draw
  27. TYPE COMMAND
  28. EXEC_STRING libreoffice --draw "%Arg_1%"
  29. ICON libreoffice-draw
  30. WINDOW_TYPE NO_STDIO
  31. DESCRIPTION Libre Office DRAW.
  32. }
  33. DATA_ATTRIBUTES libreoffice-draw_FILE_1
  34. {
  35. ACTIONS Open,Print
  36. ICON libreoffice-draw
  37. DESCRIPTION Open Document Draw file.
  38. }
  39. DATA_CRITERIA libreoffice-draw_FILE_1A
  40. {
  41. DATA_ATTRIBUTES_NAME libreoffice-draw_FILE_1
  42. MODE !d
  43. PATH_PATTERN *.odg
  44. }
  45. ACTION Open
  46. {
  47. ARG_TYPE libreoffice-draw_FILE_1
  48. TYPE MAP
  49. MAP_ACTION libreoffice-draw
  50. LABEL Open
  51. }
  52. ACTION libreoffice-draw_FILE_1_PRINT
  53. {
  54. TYPE COMMAND
  55. EXEC_STRING libreoffice -p "%Arg_1%"
  56. WINDOW_TYPE NO_STDIO
  57. }
  58. ACTION Print
  59. {
  60. ARG_TYPE libreoffice-draw_FILE_1
  61. TYPE MAP
  62. MAP_ACTION libreoffice-draw_FILE_1_PRINT
  63. LABEL Print
  64. }
  65. DATA_ATTRIBUTES libreoffice-draw_FILE_4
  66. {
  67. ACTIONS Open,Print
  68. ICON libreoffice-draw
  69. }
  70. DATA_CRITERIA libreoffice-draw_FILE_4A
  71. {
  72. DATA_ATTRIBUTES_NAME libreoffice-draw_FILE_4
  73. MODE !d
  74. PATH_PATTERN *.fodg
  75. }
  76. ACTION Open
  77. {
  78. ARG_TYPE libreoffice-draw_FILE_4
  79. TYPE MAP
  80. MAP_ACTION libreoffice-draw
  81. LABEL Open
  82. }
  83. ACTION libreoffice-writer_FILE_4_PRINT
  84. {
  85. TYPE COMMAND
  86. EXEC_STRING libreoffice -p "%Arg_1%"
  87. WINDOW_TYPE NO_STDIO
  88. }
  89. ACTION Print
  90. {
  91. ARG_TYPE libreoffice-draw_FILE_4
  92. TYPE MAP
  93. MAP_ACTION libreoffice-draw_FILE_4_PRINT
  94. LABEL Print
  95. }