org-odt.el: Include author and date in the title
commitf5add81f4b2b0d39f0597967fae4076fa5f8eff0
authorJambunathan K <kjambunathan@gmail.com>
Thu, 15 Dec 2011 06:45:19 +0000 (15 12:15 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Thu, 15 Dec 2011 06:55:35 +0000 (15 12:25 +0530)
tree4701f5c13df5a64fc44e5753a109e001673c68b3
parentfb8cd0297c7756101fe4dab004019706d2f8fa5b
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]