Page 1 of 1

::tocalc [Openoffice] not run!! Solved !!

Posted: Tue Jun 12, 2012 9:57 am
by Eoeo
ACTION :oGrid:ToCalc() not run ok it made this error !!!



Code: Select all

Application
===========
   Path and name: C:\work\PRG\Family\main.Exe (32 bits)
   Size: 3,676,672 bytes
   Compiler version: xHarbour build 1.2.1 Intl. (SimpLex) (Rev. 6715)
   FiveWin  Version: FWHX 12.03
   Windows version: 5.1, Build 2600 Service Pack 2

   Time from start: 0 hours 0 mins 9 secs 
   Error occurred at: 12-06-2012, 11:57:36
   Error description: Error BASE/1004  Class: 'NIL' has no exported method: HUMANPRESENTABLENAME
   Args:
     [   1] = U   

Stack Calls
===========
   Called from:  => HUMANPRESENTABLENAME( 0 )
   Called from: .\source\classes\XBROWSE.PRG => PASTEUNFORMATTEDTEXT( 7591 )
   Called from: .\source\classes\XBROWSE.PRG => TXBRWIN7:TOCALC( 7236 )
   Called from: source\PComuni.prg => (b)COMUNI( 257 )
   Called from: Lib\vtaskbar\VMenu.prg => TVMENU:EVALACTION( 1700 )
   Called from: Lib\vtaskbar\VMenu.prg => TVMENU:LBUTTONUP( 1398 )
   Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1690 )
   Called from: Lib\vtaskbar\VMenu.prg => TVMENU:HANDLEEVENT( 905 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3153 )
   Called from:  => WINRUN( 0 )
   Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE( 980 )
   Called from: source\main.prg => TAPPLICATION:ACTIVATE( 347 )
   Called from: source\main.prg => MAIN( 58 )

Re: ::tocalc [Openoffice] not run!!

Posted: Wed Jun 13, 2012 6:06 am
by anserkk
Please make the following changes in xBrowse.Prg

Method ToCalc(), Line No:7076

Code: Select all

DEFAULT nPasteMode:=1
Change to

Code: Select all

DEFAULT nPasteMode:=2
Method ToCalc(), Line No : 7222

Code: Select all

            if ! Empty( cText )
               cText += CRLF
            endif
Change to

Code: Select all

            if ! Empty( cText )
               cText += Chr(13)
            endif
Method ToCalc(), Line No: 7255

Code: Select all

oDispatcher:ExecuteDispatch(oBook:GetCurrentController():GetFrame(), ".uno:Paste", "", 0, aProp)
Change to

Code: Select all

oDispatcher:ExecuteDispatch(oBook:GetCurrentController():GetFrame(), ".uno:Paste", "", 0, {})
Regards
Anser

Re: ::tocalc [Openoffice] not run!! Solved !!!

Posted: Wed Jun 13, 2012 7:32 am
by Eoeo
ok NOW RUN !!!!

Re: ::tocalc [Openoffice] not run!! Solved !!

Posted: Thu Jun 14, 2012 8:06 am
by Eoeo
Antonio,
pls save this modifies for the next fwh version

Re: ::tocalc [Openoffice] not run!! Solved !!

Posted: Thu Jun 14, 2012 3:38 pm
by Antonio Linares
Added for next build, thanks! :-)