[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] PythonUNO in libreoffice
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] PythonUNO in libreoffice |
Date: |
Sat, 16 Jun 2012 13:59:19 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sat, Jun 16, 2012 at 12:58:59PM +0200, Slappinjohn wrote:
> if you work with fields in the template you can have more than one regex
> on each line, so what's the problem?
It is not about having regexen in lines of the LO document.
It is rather about having the LO API do regex searches
against the document text in order to *find* embedded
placeholders.
If a line reads:
the patient $<firstname>$ $<lastname>$ was here
LO will not be able to detect *each* placeholder
*separately*. It will find the first "$<" and the last ">$"
and it will think the actual placeholder is
"firstname>$ $<lastname"
If we don't use placeholders directly embedded into the text
flow (but rather use the LO internal placeholder mechanism)
the template cannot (to my knowledge) control the
placeholder font/stroke/etc.
Nonetheless, we also do support the LO-style placeholder
element which, indeed, does allow more than one per line.
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
- Re: [Gnumed-devel] PythonUNO in libreoffice, (continued)
- Re: [Gnumed-devel] PythonUNO in libreoffice, Sebastian Hilbert, 2012/06/15
- Re: [Gnumed-devel] PythonUNO in libreoffice, Karsten Hilbert, 2012/06/15
- Re: [Gnumed-devel] PythonUNO in libreoffice, Karsten Hilbert, 2012/06/15
- Re: [Gnumed-devel] PythonUNO in libreoffice, Sebastian Hilbert, 2012/06/15
- Re: [Gnumed-devel] PythonUNO in libreoffice, Karsten Hilbert, 2012/06/15
- Re: [Gnumed-devel] PythonUNO in libreoffice, Sebastian Hilbert, 2012/06/16
- Re: [Gnumed-devel] PythonUNO in libreoffice, Karsten Hilbert, 2012/06/20
- Re: [Gnumed-devel] PythonUNO in libreoffice, Sebastian Hilbert, 2012/06/20
- Re: [Gnumed-devel] PythonUNO in libreoffice, Karsten Hilbert, 2012/06/20
- Re: [Gnumed-devel] PythonUNO in libreoffice, Slappinjohn, 2012/06/16
- Re: [Gnumed-devel] PythonUNO in libreoffice,
Karsten Hilbert <=
- Re: [Gnumed-devel] PythonUNO in libreoffice, Slappinjohn, 2012/06/16
- Re: [Gnumed-devel] PythonUNO in libreoffice, Karsten Hilbert, 2012/06/16
Re: [Gnumed-devel] PythonUNO in libreoffice, Sebastian Hilbert, 2012/06/15