Bug 341751

Summary: add support for editing grantlee themes for printing
Product: [Applications] kaddressbook Reporter: Martin Tlustos <martin.tlustos>
Component: printingAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: montel, tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.0

Description Martin Tlustos 2014-12-10 16:57:50 UTC
I just crave to be able to print address labels from within KDE without haven to refer to Gnome software (glabels). Grantlee seems to be able to do the trick, but I just can't find any documentation on it, and right now it seems to be cumbersome.
I'd like to have something like a graphical frontend for grantlee printing (rows, lines, data to be filled in etc.)

Reproducible: Always
Comment 1 Laurent Montel 2014-12-10 17:10:32 UTC
you can find doc in "kaddressbook/printing/grantlee/themes/"
you have example too.
It's just a html file.

Indeed there is still not a gui for it.

Regards
Comment 2 Martin Tlustos 2014-12-12 07:37:12 UTC
In my case it's under /usr/share/kde4/apps/kaddressbook/printing/themes. There are some examples, but it still took me about two hours of trial and error to figure out how to get my addresses printed, and I'm still not where I would like to be.
Grantlee support has the chance to become a full-featured replacement for kbarcode (which does not exist any longer).
Comment 3 Laurent Montel 2015-01-21 21:40:14 UTC
Git commit c1fdedc0b5311fa8b4d15c6da0f36a71cf91b60b by Montel Laurent.
Committed on 21/01/2015 at 21:39.
Pushed by mlaurent into branch 'master'.

Start to implement contactprintthemeeditor

M  +1    -1    grantleeeditor/CMakeLists.txt
A  +40   -0    grantleeeditor/contactprintthemeeditor/CMakeLists.txt
A  +4    -0    grantleeeditor/contactprintthemeeditor/Messages.sh
A  +30   -0    grantleeeditor/contactprintthemeeditor/contactprintthemeeditorui.rc
A  +34   -0    grantleeeditor/contactprintthemeeditor/defaultcompletion.cpp     [License: GPL (v2)]
A  +29   -0    grantleeeditor/contactprintthemeeditor/defaultcompletion.h     [License: GPL (v2)]
A  +97   -0    grantleeeditor/contactprintthemeeditor/editorpage.cpp     [License: GPL (v2)]
A  +47   -0    grantleeeditor/contactprintthemeeditor/editorpage.h     [License: GPL (v2)]
A  +60   -0    grantleeeditor/contactprintthemeeditor/main.cpp     [License: LGPL (v2+)]
A  +11   -0    grantleeeditor/contactprintthemeeditor/org.kde.contactprintthemeeditor.desktop
A  +128  -0    grantleeeditor/contactprintthemeeditor/themeconfiguredialog.cpp     [License: GPL (v2)]
A  +52   -0    grantleeeditor/contactprintthemeeditor/themeconfiguredialog.h     [License: GPL (v2)]
A  +30   -0    grantleeeditor/contactprintthemeeditor/themedefaulttemplate.cpp     [License: GPL (v2)]
A  +30   -0    grantleeeditor/contactprintthemeeditor/themedefaulttemplate.h     [License: GPL (v2)]
A  +360  -0    grantleeeditor/contactprintthemeeditor/themeeditormainwindow.cpp     [License: GPL (v2)]
A  +89   -0    grantleeeditor/contactprintthemeeditor/themeeditormainwindow.h     [License: GPL (v2)]
A  +327  -0    grantleeeditor/contactprintthemeeditor/themeeditorpage.cpp     [License: GPL (v2)]
A  +83   -0    grantleeeditor/contactprintthemeeditor/themeeditorpage.h     [License: GPL (v2)]
A  +34   -0    grantleeeditor/contactprintthemeeditor/themeeditorutil.cpp     [License: GPL (v2)]
A  +29   -0    grantleeeditor/contactprintthemeeditor/themeeditorutil.h     [License: GPL (v2)]
A  +39   -0    grantleeeditor/contactprintthemeeditor/themeeditorwidget.cpp     [License: GPL (v2)]
A  +33   -0    grantleeeditor/contactprintthemeeditor/themeeditorwidget.h     [License: GPL (v2)]
A  +57   -0    grantleeeditor/contactprintthemeeditor/themetemplatewidget.cpp     [License: GPL (v2)]
A  +48   -0    grantleeeditor/contactprintthemeeditor/themetemplatewidget.h     [License: GPL (v2)]

http://commits.kde.org/kdepim/c1fdedc0b5311fa8b4d15c6da0f36a71cf91b60b
Comment 4 Laurent Montel 2015-01-27 13:05:34 UTC
Fixed in kf5
Comment 5 Martin Tlustos 2015-01-27 13:55:13 UTC
Great, thank you very much!