Hi Yvan,

On Thursday 19 October 2006 23:12, Yvan Barthélemy wrote:

> For Aqua implementation, I intend to use the Print dialog provided by
> the native Aqua API rather than the one implemented in svtools. To do
> this, ericb2 advices me to create a class AquaPrintDialog.
>
> My question is :
> How can I tell OpenOffice to use my AquaPrintDialog rather than the
> default PrintDialog ?

Have the MacOSX team already implemented the file picker?  I would recommend 
you to start with that one if not.  If I am not mistaken, there's no nice UNO 
API to plug your own print dialog yet; however there is one for the file 
picker - have a look at the 'fpicker' module to get the idea, there you can 
see Win32 or Gnome implementations.

Of course, if you have the Aqua file picker already, the printer dialog itself 
is in svtools/inc/printdlg.hxx and svtools/source/dialogs/printdlg.cxx - 
would be great to 'UNOitize' all this similarly to the file picker.  Other 
platforms would be grateful for the possibility to plug their native print 
dialog easily as well :-)  I'm afraid that currently the only way are 
#ifdef's...

Regards,
Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to