Added callbacks for OUTLINE and OUTLINE-TEXT.
commitd1e6e6984ff5d576db69915e6ed62a937e3b5942
authorJambunathan K <kjambunathan@gmail.com>
Tue, 3 May 2011 05:28:51 +0000 (3 10:58 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Tue, 3 May 2011 05:28:51 +0000 (3 10:58 +0530)
treee49b5f9462cae24054c1a2a56b13247521ee86e3
parent0e21b17c6729fef858efdd5fcf27a5bd05be9ef3
Added callbacks for OUTLINE and OUTLINE-TEXT.

* lisp/org-html.el (org-html-entity-control-callbacks-alist):
Removed following control entities - LEVEL and SECTION. Added
following entities - OUTLINE and OUTLINE-TEXT.
(org-html-begin-section, org-html-end-section): Removed.
(org-html-begin-outline, org-html-end-outline)
(org-html-begin-outline-text, org-html-end-outline-text): New
handlers for OUTLINE and OUTLINE-TEXT parser callbacks.
(org-parse-target-from-snumber)
(org-parse-get-targets-from-title)
(org-parse-suffix-from-snumber): New helper routines. These
were factored out from org-html-level-start.
(org-parse-begin-level, org-parse-end-level): Renamed from
org-html-begin-level and org-html-end-level respectively.
(org-parse-outline-text-open): New variabale let-bound during
org-do-export.
(org-parse-begin-outline-and-outline-text)
(org-parse-end-outline-text-or-outline)
(org-parse-begin-outline-text): New routines factored out from
org-html-begin-level.
(org-do-export, org-html-begin-toc, org-html-end-toc)
(org-html-begin-document-body, org-html-end-document-body):
Propagate above changes.

* lisp/org-odt.el (org-odt-entity-control-callbacks-alist):
Removed following control entities - LEVEL and SECTION. Added
following entities - OUTLINE and OUTLINE-TEXT.
(org-odt-begin-section, org-odt-end-section): Removed.
(org-odt-begin-outline, org-odt-end-outline)
(org-odt-begin-outline-text, org-odt-end-outline-text): New
handlers for OUTLINE and OUTLINE-TEXT parser callbacks.
lisp/org-html.el
lisp/org-odt.el