org-odt.el: Sanitize formatting of Images
commit86409e89c0a872388ecc18e2095b641445ada1c3
authorJambunathan K <kjambunathan@gmail.com>
Wed, 7 Sep 2011 17:12:33 +0000 (7 22:42 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Thu, 8 Sep 2011 13:26:08 +0000 (8 18:56 +0530)
treea2949e12de44db92461e985be9700d1b856e2d25
parent2178b635455fbeacfe447a94fb2bbf95ccc9622e
org-odt.el: Sanitize formatting of Images

* contrib/lisp/org-odt.el (org-odt-format-frame): New.
(org-odt-format-textbox): Use the above function.
(org-export-odt-do-format-image): Use the above two functions.
Use the new custom styles for the Frame and Graphics elements.
(org-odt-image-attrs-from-size): Remove this.

* contrib/odt/styles/OrgOdtAutomaticStyles.xml: Removed all
Frame and Graphics entries.

* contrib/odt/styles/OrgOdtStyles.xml: Added following custom
styles - OrgSimpleGraphics, OrgCaptionedGraphics,
OrgCaptionFrame, OrgInlineGraphics and OrgInlineFormula.
contrib/lisp/org-odt.el
contrib/odt/styles/OrgOdtAutomaticStyles.xml
contrib/odt/styles/OrgOdtStyles.xml