From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Is it possible to export Org properties as ODT user defined fields? Date: Sat, 27 Sep 2014 23:23:43 +0200 Message-ID: <87tx3src4g.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXzSS-0000vK-5t for emacs-orgmode@gnu.org; Sat, 27 Sep 2014 17:23:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXzSK-0005N7-L7 for emacs-orgmode@gnu.org; Sat, 27 Sep 2014 17:23:12 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:55394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXzSK-0005Mc-FD for emacs-orgmode@gnu.org; Sat, 27 Sep 2014 17:23:04 -0400 In-Reply-To: (Kevin D. Robbins's message of "Mon, 22 Sep 2014 17:27:00 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Kevin D. Robbins" Cc: emacs-orgmode@gnu.org Hello, "Kevin D. Robbins" writes: > I would like to export some Org document properties as ODT user defined > fields for use in ODT templates. For example, it would be great if > something like > > #+ODT_FIELD: FOO:17 BAR:"Hello, world!" > > in the Org document exported the following user defined fields in the > content.xml. > > > text:name="FOO"/> > office:string-value="Hello, world!" text:name="BAR"/> > > > Is this currently possible? You can generate this using macros (for simple cases) or Babel. In both cases, you need to generate an export block containing the desired output: #+begin_odt ... #+end_odt See manual for more information. Regards, -- Nicolas Goaziou