Hi rashi, On Tuesday, 2009-12-15 22:49:42 +0300, rashi dhing wrote:
> - Is it possible to build the installation set just for the spreadsheet rather > than the entire openoffice suite. No, but you can build only the sc module ( cd sc; build debug=true ) and copy the resulting libraries from sc/$INPATH/lib/*.so (respectively sc/$INPATH/bin/*.dll on Windows) to an installation of the full build, <InstallPath>/openoffice.org/basis3.2/program/ > - The "SetTextString" function in "inputwin.cxx" is responsible for setting > the text in the input-line but only when it is entered from the cells. > When text is directly entered in the input-line is it the edit engine that > comes into play ? Can you tell me which function handles this ? Yes, it is the EditEngine. In this case the raw text string is set in ScTextWnd::StopEditEngine(), but only after the input was confirmed or canceled. Key input is handled via ScTextWnd::KeyInput(), which calls SC_MOD()->InputKeyEvent() that in turn calls ScInputHandler::KeyInput() and ScInputHandler::DataChanged() where for example also formula mode status is updated through UpdateFormulaMode() that calls ScInputWindow::SetFormulaMode(). For cell input key input is also handled by ScInputHandler::DataChanged() and ScInputWindow::SetTextString() called from there. So that may seem a strategic point for you to add new functionality, for example after UpdateFormulaMode() if bFormulaMode==TRUE. However, this would not catch the Function Wizard's input, that needs ScTextWnd::SetTextString() again. The entire string is set with ScInputWindow::SetFuncString() when closing the dialog. Eike -- OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer. SunSign 0x87F8D412 : 2F58 5236 DB02 F335 8304 7D6C 65C9 F9B5 87F8 D412 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't send personal mail to the e...@sun.com account, which I use for mailing lists only and don't read from outside Sun. Use er...@sun.com Thanks.
pgpwG8z811Mbk.pgp
Description: PGP signature