gtk print dialog and OOo

Caolán McNamara caolanm at redhat.com
Wed Mar 18 14:09:18 UTC 2009


We've supported a gtk print dialog integration in OOo for a while, but
there has always been a few little gotchas, and now that the "built-in"
OOo dialog has some nifty extras there are extra gotchas. So I'll be
reverting to the "built-in" dialog for F11, a quick dump of the gotchas
are..

*) Need an extra "Selection" option for printing.
http://bugzilla.gnome.org/show_bug.cgi?id=344519
http://bugzilla.gnome.org/show_bug.cgi?id=563619

OOo can print just the selected text, selected graphic or selected
cells, but no way to show that in the gtk print dialog.

*) Way to specify the page size and orientation (esp. when using n-up
printing)
http://bugzilla.gnome.org/show_bug.cgi?id=551409
http://bugzilla.gnome.org/show_bug.cgi?id=551726

Most OpenOffice.org applications have per-page orientations rather than
global per print-job orientation, but when printing multiple pages in
one sheet of paper through cups, its desirable to have a way to specify
the orientation and page size of the combined sheet. We could do this
with a custom tab, but see next entry

*) Emit a signal when a printer is selected.
http://bugzilla.gnome.org/show_bug.cgi?id=564854

So e.g. a custom tab that should only exist for say, printing to a cups
backend, or using save as .pdf file can be shown/hidden depending on the
printer selection, e.g. pdf encryption options or pdf "read-only except
for filling in fields" directives which only make sense in a save
as .pdf context. Hackable around with nasty switch-page callback on the
notebook widget if you rummage around horrifically through the dialog
hierarchy looking for it.

*) Spreadsheet printing
No "All Sheets", "Selected Sheets" in addition to the pages options for
spreadsheets that may have multiple sheets each of which can span
multiple pages. "Page 1 of 2 sheets selected out of 3 sheets in total".
Could do a gnumeric and do this in a custom tab though

*) Presentation printing
Want to select notes, or outline, or handouts. Could do this in a custom
tab though.




More information about the Fedora-desktop-list mailing list