org-odt.el: Support for styling of tables using table templates
commite73bca63cf658f8cb659ab6d00e4e93afaba8b42
authorJambunathan K <kjambunathan@gmail.com>
Tue, 13 Sep 2011 14:07:13 +0000 (13 19:37 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Wed, 14 Sep 2011 09:26:30 +0000 (14 14:56 +0530)
tree4af1797eec129aba3645821238ac6a80a0be8c21
parent11dec73c0c88e2f25da51a6012367c68bbf4c5aa
org-odt.el: Support for styling of tables using table templates

* contrib/lisp/org-odt.el (org-odt-table-style)
(org-odt-table-style-spec): New variables.
(org-export-odt-table-styles): New user-customizable variable.
(org-odt-begin-table): Init `org-odt-table-style' from the
attributes.
(org-odt-get-table-cell-styles): New function.
(org-odt-end-table): Use the above function.
(org-odt-get-style-name-for-table-cell): Removed.  Now folded
in to `org-odt-get-table-cell-styles'.
(org-odt-get-style-name-cookie-for-table-cell): Modified to
accommodate new user-defined styles.

Users now have the option of choosing Org's own way of styling or
using custom styling.
contrib/lisp/org-odt.el