From: ashish on 21 Nov 2006 13:51 I have been playing with the wxRichtextCtrl sample, and if you start deleting portions, at somepoint the print preview stops working. -ashish ashish wrote: > I am trying to print from the richtextctrl. I can print from the > richtext sample with the default loaded data, but When I created my own > xml file with the control printing does not work. > > download the file: > http://labscribe.com/update/rich_print.xml > > open it up in the richtext sample, the print preview will show a blank > page. > > -ashish
From: ashishiworx on 22 Nov 2006 09:26 Thanks, I will take a look at it. -ashish Julian Smart wrote: > Sorry, there was a bug when there was only 1 page - should be fixed in > CVS now (src/richtext/richtextprint.cpp). > > Regards, > > Julian > > ashish wrote: > > I am trying to print from the richtextctrl. I can print from the > > richtext sample with the default loaded data, but When I created my own > > xml file with the control printing does not work. > > > > download the file: > > http://labscribe.com/update/rich_print.xml > > > > open it up in the richtext sample, the print preview will show a blank > > page. > > > > -ashish > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org > > For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org > For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
From: ashishiworx on 22 Nov 2006 11:10 Thanks Julian it works, I am trying to set the wxRichTextPrinting::m_printData using the wxPageSetupDialogData::SetPrintData function, but the changes do not hold. wxPageSetupDialogData::SetPrintData(const wxPrintData& printData) sets the local m_printData but the changes never get to the wxRichTextPrinting. -ashish ashishiworx(a)gmail.com wrote: > Thanks, > I will take a look at it. > > -ashish > > Julian Smart wrote: > > Sorry, there was a bug when there was only 1 page - should be fixed in > > CVS now (src/richtext/richtextprint.cpp). > > > > Regards, > > > > Julian > > > > ashish wrote: > > > I am trying to print from the richtextctrl. I can print from the > > > richtext sample with the default loaded data, but When I created my own > > > xml file with the control printing does not work. > > > > > > download the file: > > > http://labscribe.com/update/rich_print.xml > > > > > > open it up in the richtext sample, the print preview will show a blank > > > page. > > > > > > -ashish > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org > > > For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org > > For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
From: Julian Smart on 22 Nov 2006 12:11 Hi, I've added: void wxRichTextPrinting::SetPrintData(const wxPrintData& printData); void wxRichTextPrinting::SetPageSetupData(const wxPageSetupData& pageSetupData); in CVS. Does this help? Regards, Julian ashishiworx(a)gmail.com wrote: > Thanks Julian it works, > > I am trying to set the wxRichTextPrinting::m_printData using the > wxPageSetupDialogData::SetPrintData function, but the changes do not > hold. > > wxPageSetupDialogData::SetPrintData(const wxPrintData& printData) sets > the local m_printData but the changes never get to the > wxRichTextPrinting. > > -ashish > > > > ashishiworx(a)gmail.com wrote: > >> Thanks, >> I will take a look at it. >> >> -ashish >> >> Julian Smart wrote: >> >>> Sorry, there was a bug when there was only 1 page - should be fixed in >>> CVS now (src/richtext/richtextprint.cpp). >>> >>> Regards, >>> >>> Julian >>> >>> ashish wrote: >>> >>>> I am trying to print from the richtextctrl. I can print from the >>>> richtext sample with the default loaded data, but When I created my own >>>> xml file with the control printing does not work. >>>> >>>> download the file: >>>> http://labscribe.com/update/rich_print.xml >>>> >>>> open it up in the richtext sample, the print preview will show a blank >>>> page. >>>> >>>> -ashish >>>> >>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org >>>> For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org >>>> >>>> >>>> >>>> >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org >>> For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org >>> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org > For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
From: ashishiworx on 22 Nov 2006 13:45 Hi, Thanks, that does transfer the info, but the control does not like to print in landscape mode. I checked the printdata structure has the m_paperID set to wxPAPER_LETTER_ROTATED, but the preview window, shows the data in portrait mode, and that is what gets printed. -ashish Julian Smart wrote: > Hi, > > I've added: > > void wxRichTextPrinting::SetPrintData(const wxPrintData& printData); > void wxRichTextPrinting::SetPageSetupData(const wxPageSetupData& > pageSetupData); > > in CVS. Does this help? > > Regards, > > Julian > > ashishiworx(a)gmail.com wrote: > > Thanks Julian it works, > > > > I am trying to set the wxRichTextPrinting::m_printData using the > > wxPageSetupDialogData::SetPrintData function, but the changes do not > > hold. > > > > wxPageSetupDialogData::SetPrintData(const wxPrintData& printData) sets > > the local m_printData but the changes never get to the > > wxRichTextPrinting. > > > > -ashish > > > > > > > > ashishiworx(a)gmail.com wrote: > > > >> Thanks, > >> I will take a look at it. > >> > >> -ashish > >> > >> Julian Smart wrote: > >> > >>> Sorry, there was a bug when there was only 1 page - should be fixed in > >>> CVS now (src/richtext/richtextprint.cpp). > >>> > >>> Regards, > >>> > >>> Julian > >>> > >>> ashish wrote: > >>> > >>>> I am trying to print from the richtextctrl. I can print from the > >>>> richtext sample with the default loaded data, but When I created my own > >>>> xml file with the control printing does not work. > >>>> > >>>> download the file: > >>>> http://labscribe.com/update/rich_print.xml > >>>> > >>>> open it up in the richtext sample, the print preview will show a blank > >>>> page. > >>>> > >>>> -ashish > >>>> > >>>> > >>>> > >>>> > >>>> --------------------------------------------------------------------- > >>>> To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org > >>>> For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org > >>>> > >>>> > >>>> > >>>> > >>>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org > >>> For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org > >>> > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org > > For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org > For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
|
Next
|
Last
Pages: 1 2 3 Prev: wxDbTable with arrays Next: wxAnimation and wxANIM_TYPE_ANY [wxMSW 2.8.0] |