Bug 95227 - need printing of vocabulary
Summary: need printing of vocabulary
Status: RESOLVED FIXED
Alias: None
Product: kvoctrain
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Peter Hedlund
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-15 23:14 UTC by Ronny P
Modified: 2005-06-26 00:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ronny P 2004-12-15 23:14:32 UTC
Version:           0.8.1 (using KDE KDE 3.3.1)
Installed from:    Debian testing/unstable Packages
OS:                Linux

There is no possibility to print the vocabularies. This is horrible!! :-)
It would be VERY useful to have a print function or print a pdf function.
Thank you & Regards from Graz/Austria
Ronny
Comment 1 Marc Heyvaert 2004-12-17 18:59:29 UTC
I think that a printing function may be nice, but perhaps not so easy to implement. A KVocTrain file can contain a lot of elements. What exactly should be printed? On the other hand some simple print function that displays the expressions/words in a grid layout, just like it is presented on the screen (minus perhaps the second column) may be enough to start with.

Marc
Comment 2 Peter Kozma 2004-12-17 19:16:18 UTC
Yes, a simple two-column list of words is what I was thinking about.  Making an offline copy of a lesson or two would be a nice feature so that one can learn the words while commuting, etc.. 
Comment 3 Peter Hedlund 2004-12-17 19:18:37 UTC
As a starting point comments on the printing functionality provided by KWordQuiz would be appreciated.
Comment 4 Peter Hedlund 2005-06-20 04:01:19 UTC
SVN commit 427239 by hedlund:

FEATURE: Initial printing support for KVocTrain. Only printing of the vocabulary table is supported. The present code has the following limitations:
- Only original and first translation is printed.
- Only one page width is printed.
- There is no width checking. Make sure that the printed columns fit on one page by adjusting the widths of the table columns. Printing in landscape will of course allow wider coulmns.
- Text is printed in black, grade colors are ignored.
CCBUG:95227

 M  +1 -1      Makefile.am  
 M  +4 -0      kva_init.cpp  
 M  +14 -0     kvoctrain.cpp  
 M  +2 -0      kvoctrain.h  
 M  +2 -0      kvoctraintable.h  
 M  +237 -127  kvoctrainview.cpp  
 M  +16 -20    kvoctrainview.h  
Comment 5 Peter Hedlund 2005-06-26 00:31:08 UTC
SVN commit 428964 by hedlund:

Printing vocabularies. The following improvements have been made:
- All columns (translations) are printed. 
- Grade colors are used.
- Column widths are checked to fit on page.

BUG: 95227

 M  +69 -78    kvoctrainview.cpp  
 M  +2 -2      kvoctrainview.h