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

List:       koffice
Subject:    [Bug 77847] Wish: Add 'PDF Format' to 'Save As' and 'Export' menu
From:       Michael Goffioul <kdeprint_bugs () swing ! be>
Date:       2004-03-25 8:02:11
Message-ID: 20040325080211.17479.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=77847      




------- Additional Comments From kdeprint_bugs swing be  2004-03-25 09:02 -------
Some interesting links:
- kdelibs/kdeprint/kprintaction.h
- KPrinter::autoConfigure(...)
- http://printing.kde.org/developer/tutorial/

Basically, exporting to PDF means something like (for example):

KPrinter prt(false);
if (prt.autoConfigure(i18n("Print to File (PDF)"), parentW))
{
   // do printing
}

Put this into a slot, and attach it to a "Export to PDF..." menu
entry, and you're done.

Michael.
____________________________________
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