org-odt.el: Include author and date in the title
commitba605e77d9e3c2e66ed787c97a08dc6ec184772f
authorJambunathan K <kjambunathan@gmail.com>
Thu, 15 Dec 2011 06:45:19 +0000 (15 12:15 +0530)
committerBastien Guerry <bzg@altern.org>
Tue, 3 Jan 2012 08:11:51 +0000 (3 09:11 +0100)
treef09dc86fcf64b174b77ee2b02ae1ae220045175b
parentd072aab7fea1a922750dc19688ec169487b730b7
org-odt.el: Include author and date in the title

* lisp/org-odt.el (org-export-odt-default-org-styles-alist):
Add styles for title and subtitle.
(org-odt-format-toc): New.
(org-odt-format-preamble): New.  Users can redefine this to
customize what goes before the document body.  Currently it
outputs title, author and email, date and toc.
(org-odt-begin-document-body): Use `org-odt-format-preamble'.
(org-odt-format-date): Renamed from
`org-odt-iso-date-from-org-timestamp'.  Also added an
additional param for format string.
(org-odt-begin-annotation, org-odt-update-meta-file): Use
`org-odt-format-date'.

* etc/styles/OrgOdtStyles.xml (Title, OrgTitle, Subtitle)
(OrgSubtitle): New styles for formatting title.
etc/styles/OrgOdtStyles.xml
lisp/org-odt.el [changed mode: 0644->0755]