org-odt: Various improvements to table and image references.
commit3820c301247dbd672225ce69049d3b744f49d6c4
authorJambunathan K <kjambunathan@gmail.com>
Sun, 10 Apr 2011 10:06:30 +0000 (10 15:36 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Sun, 10 Apr 2011 10:06:30 +0000 (10 15:36 +0530)
tree460a5b8ef677da7c049552d06cd0e79e215ff368
parent7df3ac361c5108dfaf729efcb24b4c80b9b1e2ff
org-odt: Various improvements to table and image references.

* lisp/org-odt.el (org-odt-parse-label): New utility
routine. Parses labels in to it's component parts the entity
catgory (like Figure, Illustration etc) and it's sequence
number.
(org-export-odt-preprocess): Use org-odt-parse-label. Sequence
references now use "category and value" setting. Emit the
place holder text in the new format..
(org-odt-default-entity): New variable. The default entity to
which an image or table belongs when the label leaves it
unspecified.
(org-odt-format-entity-caption) : Use org-odt-parse-label and
org-odt-default-enity. Also re-defined the param list.
(org-odt-begin-table, org-export-odt-do-format-image):
Modified to accomodate the changes in signature of
org-odt-format-entity-caption.
lisp/org-odt.el