[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: Opening KWord Templates an passing variables?
From:       David Faure <faure () kde ! org>
Date:       2004-05-07 10:46:09
Message-ID: 200405071246.09723.faure () kde ! org
[Download RAW message or body]

On Friday 07 May 2004 12:25, Philipp Frenzel wrote:
> Hi,
> 
> is it possible to open kword with parameters e.g.:
> 
> kword --tepmplate="default.kwt" --variables="name=Frenzel&vorname=philipp&..."
> so that these variables can be used inside the template, if they have the same 
> name, or are already inside the template?

--template exists (but needs the full path to the template)
--variables doesn't exist   ... I would suggest filing a wish on bugs.kde.org, 
but that won't get it done any time soon anyway. Better would be if you could
add support for it :)

Another solution is to write a script that copies the template to a .kwd file and
sets the value of the custom variables inside it. Should be pretty easy with 
unzip/perl/zip.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic