Hi Mark,

Thanks for your email.

> Apologies for delay in replying. I wanted to refresh my memory of the 
> wxWidgets printing framework before replying, but I still 
> have not found 
> the time.

No probs.

> My original thoughts on finding an existing wxPdfDocument 
> installation 
> or building a new installation were to copy the methods of 
> Alien::wxWidgets. However, I now think it would be better to copy the 
> approach used by Ahmad Zawawi for Wx::Scintilla - always build 
> wxPdfDocument with Wx::PdfDocument. That way it makes it much 
> simpler to 
> co-ordinate updates etc.

I'm not clear how either would work, so I don't have an opinion.

> As a general approach for an implementation within 
> Wx::PdfDocument, I'm 
> not sure really. Amending the richtextprint.cpp/.h in the wxWidgets 
> build isn't really an option for us (unless it is something 
> we could get 
> accepted upstream - which seems unlikely given it is wxPdfDocument 
> specific)

Is there, or could we not have, a compile option (like the OpenGL one) which
says if wxPdfDocument  is installed or not?

> Maintaining and 
> updating our own entire copy of richtextprint.cpp seems unattractive.

I agree.  

I also agree with the braod thrust of your implementation approach.  I'll
look at in more detail when I get a moment.

> If you have no objection, I'll write to Mark Wardell and ask 
> if I can be 
> added to list of Wx::PdfDocument maintainers to get a first 
> implementation out.

Please do.

Regards

Steve

Reply via email to