Function: org-odt-format-section

org-odt-format-section is a byte-compiled function defined in ox-odt.el.gz.

Signature

(org-odt-format-section TEXT STYLE &optional NAME)

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-odt.el.gz
;;;; Section

(defun org-odt-format-section (text style &optional name)
  (let ((default-name (car (org-odt-add-automatic-style "Section"))))
    (format "\n<text:section text:style-name=\"%s\" %s>\n%s\n</text:section>"
	    style
	    (format "text:name=\"%s\"" (or name default-name))
	    text)))