[Bug 208164] New: Generate Letters in odf format

Viktor Engelmann Viktor.Engelmann at RWTH-Aachen.de
Tue Sep 22 10:41:41 BST 2009


https://bugs.kde.org/show_bug.cgi?id=208164

           Summary: Generate Letters in odf format
           Product: kaddressbook
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: Viktor.Engelmann at RWTH-Aachen.de
                CC: tokoe at kde.org


Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

kaddressbook should be able to create letters to contacts in odf format. you
could do it like this:

have a directory for odf template-files (you could have subdirs according to
different $LANG values). the odf format would allow you to create the template
files using oowriter and just writing something like %ownaddress% %address% etc
in places where you want them to be put. then you'd just have to unzip the
template file, change the file content.xml using sed (replacing %address% with
the address taken from kaddressbook etc), zipping it to some temporary location
and opening it in oowriter

I wrote a bash script for that purpose, that I'll give you (btw: you should
make shure that the replacements don't contain a / or something that would
confuse sed)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list