From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: How do I convert org to OpenOffice? Date: Wed, 03 Nov 2010 10:28:27 +0530 Message-ID: <817hgvovf0.fsf@gmail.com> References: <87hbh85tev.fsf@MagnumOpus.khem> <878w2k5r8b.fsf@MagnumOpus.khem> <10354.1285789401@alphaville.usa.hp.com> <87sk0sux62.fsf@MagnumOpus.khem> <14934.1285793982@alphaville.usa.hp.com> <81k4kvbl2m.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=50242 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDVR4-0000xs-FP for emacs-orgmode@gnu.org; Wed, 03 Nov 2010 00:58:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDVR2-00012P-S4 for emacs-orgmode@gnu.org; Wed, 03 Nov 2010 00:58:58 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:46988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDVR2-00012L-MI for emacs-orgmode@gnu.org; Wed, 03 Nov 2010 00:58:56 -0400 Received: by gyh20 with SMTP id 20so228393gyh.0 for ; Tue, 02 Nov 2010 21:58:55 -0700 (PDT) In-Reply-To: (Lennart Borgman's message of "Wed, 3 Nov 2010 02:06:20 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Lennart Borgman Cc: nicholas.dokos@hp.com, Org Mode Hello Lennart I uploaded a snapshot of org-7.3 and committed my workarea files to repo.or.cz. For now, rely on the commits and the logs to get started with what I have done till now. Web Interface: - http://repo.or.cz/w/org-mode/oo.git/ Push URL: - ssh://repo.or.cz/srv/git/org-mode/oo.git Read-only URL: - git://repo.or.cz/org-mode/oo.git - http://repo.or.cz/r/org-mode/oo.git Admin URL: - http://repo.or.cz/editproj.cgi?name=org-mode/oo I will send the admin password separately to you (Lennart) and Matt separately so that you can add yourself to committers. >>> Interesting that two people are working on org->OpenOffice exporter. The >>> other person is me. >>> >>> I made this announcement roughly one week in to the project. >>> - http://lists.gnu.org/archive/html/emacs-orgmode/2010-10/msg00372.html >> >> Ah, very good. I missed that one. I started this thread a month ago >> and hoped there where more people interested. > > > Hi again Jambunathan, > > > I just tried to test what you have written. Then I noticed that you > have a separate file styles.xml. > You have to place the styles somewhere, but I wonder if I do not like > the idea used in muse-odt.el by Paul Rivier better. He instead uses a > default.odt file from which he grabs the styles.xml. > If you do it Paul's way the user can easily edit the styles from > within LibreOffice (or OpenOffice.org if someone still wants to use > that - when LibreOffice is released). > I rewrote the zipping together from Paul's file in a way that should > be easy to use with your solution otherwise. I agree that working with a template file is more user-friendly than working with an xml file. Which codebase should we start from? I started with org-html.el because it assured me a stable and feature-rich base that is also XMLish. One of the problems that I see with org-html.el route is that it is a bit monolithic - there is a one big blob that does everything. The side-effect of this is that our merges are most likely to conflict (even if we work on two independent functional pieces) If you look at org-odt.el, you will see that I have siphoned off the Table Of Contents in to smaller routines, partly for my own understanding and mostly because I wanted to break up the monolithic structure of org-export-as-odt. I also have a feeling that (my) org-odt.el has started becoming a beast of it's own resembling less and less like org-html.el that it started with. Jambunathan K.