Function: org-odt--paragraph-style

org-odt--paragraph-style is a byte-compiled function defined in ox-odt.el.gz.

Signature

(org-odt--paragraph-style PARAGRAPH)

Documentation

Return style of PARAGRAPH.

Style is a symbol among quoted, centered and nil.

Source Code

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

(defun org-odt--paragraph-style (paragraph)
  "Return style of PARAGRAPH.
Style is a symbol among `quoted', `centered' and nil."
  (let ((up paragraph))
    (while (and (setq up (org-element-property :parent up))
		(not (memq (org-element-type up)
			   '(center-block quote-block section)))))
    (cl-case (org-element-type up)
      (center-block 'centered)
      (quote-block 'quoted))))