ox-odt.el: Use options instead of hard-coded variables
commit1811d1a09e641a5738bf3a11950b4dad0ea7da38
authorVaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com>
Mon, 2 Mar 2015 15:34:33 +0000 (2 21:04 +0530)
committerVaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com>
Wed, 4 Mar 2015 08:28:12 +0000 (4 13:58 +0530)
tree3b8d90e89a73fc3b9c6275794741ec4c6c9eadd4
parentfd97fcd5a7a7259a055eef25f72633493d4affe9
ox-odt.el: Use options instead of hard-coded variables

* lisp/ox-odt.el (org-odt-content-template-file)
(org-odt-display-outline-level, org-odt-fontify-srcblocks)
(org-odt-format-drawer-function, org-odt-format-headline-function)
(org-odt-format-inlinetask-function, org-odt-inline-formula-rules)
(org-odt-inline-image-rules, org-odt-pixels-per-inch)
(org-odt-styles-file, org-odt-table-styles)
(org-odt-use-date-fields): Replace these hard-coded variables with
options.

(org-odt-do-format-code): Change signature.
(org-odt-fixed-width, org-odt-latex-environment)
(org-odt-format-code): Propagate above change.

(org-odt--image-size): Change signature.
(org-odt-link--inline-image): Propagate above change.

Partial port of commit 3c22bb19e025e350ebcc25c6fc23e2dd59e49693.
lisp/ox-odt.el