Fix issues with numbering of lists found during odt to doc conversion
commit99466ce716977ed437e8e719062c6ec0a5983ff3
authorJambunathan K <kjambunathan@gmail.com>
Mon, 8 Aug 2011 06:01:17 +0000 (8 11:31 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Mon, 8 Aug 2011 06:01:17 +0000 (8 11:31 +0530)
treec2d3ed6b382d4438df21292bbb694f680362d390
parent12fc264e119fc870c1a4bf9fdf1ea017b8d86a33
Fix issues with numbering of lists found during odt to doc conversion

* contrib/lisp/org-lparse.el (org-do-lparse): Add new let
bound variable org-lparse-list-level.
(org-lparse-begin-list, org-lparse-end-list): New functions.
(org-lparse-export-list-line, org-lparse-begin-level)
(org-lparse-end-level): Use new functions.

* contrib/lisp/org-odt.el (org-odt-begin-list): Fixed
signature so that it is consistent with how org-lparse library
invokes it. Forcibly emit text:continue-numbering="false"
attribute for the top-level <text:list> element. This fixes
numbering issue found during odt to doc conversion. See
http://thread.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/14739
(org-odt-begin-list-item, org-odt-end-list-item): Use
org-lparse-begin-list and org-lparse-end-list.

* contrib/lisp/org-xhtml.el (org-xhtml-format-toc-item)
(org-xhtml-begin-toc, org-xhtml-end-toc): Use
org-lparse-begin-list and org-lparse-end-list.
(org-xhtml-begin-list): Fixed signature so that it is
consistent with how org-lparse library invokes it.
contrib/lisp/org-lparse.el
contrib/lisp/org-odt.el
contrib/lisp/org-xhtml.el