[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Generate and fill PDF-forms by org-mode?!
From: |
Thomas Holst |
Subject: |
Re: [O] Generate and fill PDF-forms by org-mode?! |
Date: |
Mon, 19 Aug 2013 09:18:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) |
Hi Torsten,
ยท On Aug 15 2013, Torsten Wagner <address@hidden> 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
=xte= which is part of the xautomation package [1]. =xte= 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 =xte= 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/
--
Bis neulich ...
Thomas