Re: "Need help for "Bug 59397 - UI: Use more precise wording at 'Find & Replace - More Options - Styles' "
On Sun, 2013-01-20 at 23:51 +0530, Vishv Brahmbhatt wrote: > I am planning to create a separate CheckBox(with modified Text) for > "calc" ,similar to which is defined in the src file and then create a > function similiar to aLayoutBtn in this cxx file and make necessary > changes at the change line mentioned below.Is this the correct > approach or some other approach possible? You've got two possibilities. Either: a) in the .src add another CheckBox with the different string at the same Pos and Size, so they are both in the same place, and set them both to "Hide" b) in the .cxx add another CheckBox where aLayoutBtn appears, and do the same thing to it as happens to aLayoutBtn, you need to set the same ClickHandler on it. b) then in the code where currently there is aLayoutBtn.Show/Hide then toggle on bCalcApp vs bWriterApp which one you want to set to visible Or: There is also the option, which is potentially a little easier in this case because b) above is a lot of work in the old .src-using dialog code, to instead add a String resource to the .src with the alternative title and just call SetText(THE_CALC_TITLE) on the existing CheckBox if you need the non current-default string. e.g. see STR_WORDCALC in that .src and aCalcStr in the .cxx for an example of something like that. C. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: "Need help for "Bug 59397 - UI: Use more precise wording at 'Find & Replace - More Options - Styles' "
Hi, I need help for this bug https://bugs.freedesktop.org/show_bug.cgi?id=59397. I am slightly confused with my approach in solving this bug, so I need help for it. I am using this approach for solving the bug: I am planning to create a separate CheckBox(with modified Text) for "calc" ,similar to which is defined in the* src *file and then create a function similiar to *aLayoutBtn* in this* cxx *file and make necessary changes at the *change *line mentioned below.Is this the correct approach or some other approach possible? *src* file - http://opengrok.libreoffice.org/xref/core/svx/source/dialog/srchdlg.src#284 *cxx *file - http://opengrok.libreoffice.org/xref/core/svx/source/dialog/srchdlg.cxx#282 *change* line- http://opengrok.libreoffice.org/xref/core/svx/source/dialog/srchdlg.cxx#728 Hoping for the needed guidance in this matter. Regards, Vishv On Fri, Jan 18, 2013 at 12:11 AM, Joren wrote: > > Op 17-01-13 19:14, Vishv Brahmbhatt schreef: > > Hi, > > I need help for this bug > https://bugs.freedesktop.org/show_bug.cgi?id=59397 . > > Can someone help me in suggesting the good starting point/code pointer > for this hack? > > Also where can I find the layout file for *Edit->Find & Replace* in > Writer & Calc (i.e in which module is it defined)? > > I think you can find it here > http://opengrok.libreoffice.org/xref/core/svx/source/dialog/srchdlg.src#284 > > Kind regards, > Joren > > > > ___ > LibreOffice mailing list > LibreOffice@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/libreoffice > > ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: "Need help for "Bug 59397 - UI: Use more precise wording at 'Find & Replace - More Options - Styles' "
Op 17-01-13 19:14, Vishv Brahmbhatt schreef: Hi, I need help for this bug https://bugs.freedesktop.org/show_bug.cgi?id=59397 . Can someone help me in suggesting the good starting point/code pointer for this hack? Also where can I find the layout file for *Edit->Find & Replace* in Writer & Calc (i.e in which module is it defined)? I think you can find it here http://opengrok.libreoffice.org/xref/core/svx/source/dialog/srchdlg.src#284 Kind regards, Joren ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
"Need help for "Bug 59397 - UI: Use more precise wording at 'Find & Replace - More Options - Styles' "
Hi, I need help for this bug https://bugs.freedesktop.org/show_bug.cgi?id=59397 . Can someone help me in suggesting the good starting point/code pointer for this hack? Also where can I find the layout file for *Edit->Find & Replace* in Writer & Calc (i.e in which module is it defined)? Eagerly waiting to get some answers in this query. Regards, Vishv ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice