Thanks Eike, that is a lot of information and provides the answers
to all the questions that I had regarding how text is entered in the
input line. I understand  things better now !!
Can't thank you enough !

Rash


On 12/16/09, Eike Rathke <[email protected]> wrote:
> 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 [email protected] account, which I use for
>  mailing lists only and don't read from outside Sun. Use [email protected]
> Thanks.
>


-- 
" Happiness makes up in height for what it lacks in length." (Robert Frost)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to