From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Holst Subject: Re: Generate and fill PDF-forms by org-mode?! Date: Mon, 19 Aug 2013 09:18:50 +0200 Message-ID: References: Reply-To: thomas_holst@gmx.de Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBJqH-0002eq-2P for emacs-orgmode@gnu.org; Mon, 19 Aug 2013 03:25:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VBJq9-00020n-Nv for emacs-orgmode@gnu.org; Mon, 19 Aug 2013 03:25:32 -0400 Received: from imta21.fe.bosch.de ([139.15.243.226]:28746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VBJq9-00020P-IQ for emacs-orgmode@gnu.org; Mon, 19 Aug 2013 03:25:25 -0400 Received: from smtp6-v.fe.bosch.de (imta23.fe.bosch.de [139.15.243.227]) by imta21.fe.bosch.de (Postfix) with ESMTP id DBA51C044B for ; Mon, 19 Aug 2013 09:19:08 +0200 (CEST) In-Reply-To: (Torsten Wagner's message of "Thu, 15 Aug 2013 11:27:25 +0200") 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: Torsten Wagner Cc: Org Mode Mailing List Hi Torsten, =B7 On Aug 15 2013, Torsten Wagner wrote: > [How to fill in a form from org?] I have only one form to fill in, print it, sign it and hand it in. But this one is very boring :-(. The form is available as pdf or dot. Here is how I do it. When I was on Windows I used XL and word with a VBA macro. Now I switched to Linux. I use org and LibreOffice. I have all the information gathered in an org-table. A babel elisp block extracts the information from this table. To fill in the form I use =3Dxte=3D which is part of the xautomation package [1]. =3Dxte=3D is a commandline tool which emulates key strokes and sends them to the active window. I open the form (dot) in LibreOffice and execute the babel block. The items to fill in the form are extracted from org-table and sent to =3Dxte=3D via `call-process-shell-command'. This might not be the best way, but for me it works. I also tried to use the pdf form in the same way. But it did not work well. Neither in Adobe Reader nor in evince. [1] http://sourceforge.net/projects/xautomation/ --=20 Bis neulich ... Thomas