Function: org-odt-do-reachable-formats

org-odt-do-reachable-formats is a byte-compiled function defined in ox-odt.el.gz.

Signature

(org-odt-do-reachable-formats IN-FMT)

Documentation

Return verbose info about formats to which IN-FMT can be converted.

Return a list where each element is of the form (CONVERTER-PROCESS . OUTPUT-FMT-ALIST). See org-odt-convert-processes for CONVERTER-PROCESS and see org-odt-convert-capabilities for OUTPUT-FMT-ALIST.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-odt.el.gz
(defun org-odt-do-reachable-formats (in-fmt)
  "Return verbose info about formats to which IN-FMT can be converted.
Return a list where each element is of the
form (CONVERTER-PROCESS . OUTPUT-FMT-ALIST).  See
`org-odt-convert-processes' for CONVERTER-PROCESS and see
`org-odt-convert-capabilities' for OUTPUT-FMT-ALIST."
  (let* ((converter
	  (and org-odt-convert-process
	       (cadr (assoc-string org-odt-convert-process
				   org-odt-convert-processes t))))
	 (capabilities
	  (and org-odt-convert-process
	       (cadr (assoc-string org-odt-convert-process
				   org-odt-convert-processes t))
	       org-odt-convert-capabilities))
	 reachable-formats)
    (when converter
      (dolist (c capabilities)
	(when (member in-fmt (nth 1 c))
	  (push (cons converter (nth 2 c)) reachable-formats))))
    reachable-formats))