[sc-dev] Trouble with ScInterpreter::MFastMult

2010-08-12 Thread Regina Henschel
Hi all, in interpr5.cxx you find void ScInterpreter::MFastMult(ScMatrix* pA, ScMatrix* pB, ScMatrix* pR, SCSIZE n, SCSIZE m, SCSIZE l) // Multipliziert n x m Mat a mit m x l Mat b nach Mat r But actually it calculates R = B * A and A has size m x n and B

Re: [sc-dev] OpenOffice 3.2 Calc adding bitmap image to a cell

2010-08-12 Thread Jari Kosonen
Can you advice how to change the pivot point in the calc -macro? oLinked.RotateAngle=rot oLinked.Position=aPos oLinked.Pivot=aPos?? Does not work, since I don't know the internal structure's name... oLinked.Size=aSize oLinked.Name=sDie oDrawPage.add(oLinked) -- Jari On

Re: [sc-dev] OpenOffice 3.2 Calc adding bitmap image to a cell

2010-08-12 Thread Regina Henschel
Hi Jari, this is the wrong list for your questions. Macros belong to the udk or the api project and images belong to the graphics project. Kind regards Regina Jari Kosonen schrieb: Can you advice how to change the pivot point in the calc -macro? oLinked.RotateAngle=rot

Re: [sc-dev] Add a new Calc spreadsheet function

2010-08-12 Thread Eike Rathke
Hi Marina, On Monday, 2010-08-09 15:21:39 +0200, Marina Plakalovic wrote: I have added new function by following the tutorial: http://wiki.services.openoffice.org/wiki/Calc/Implementation/Spreadsheet_Functions This works fine when the arguments of the function are scalar, but if I want to

Re: [sc-dev] Trouble with ScInterpreter::MFastMult

2010-08-12 Thread Eike Rathke
Hi Regina, On Thursday, 2010-08-12 09:24:59 +0200, Regina Henschel wrote: in interpr5.cxx you find void ScInterpreter::MFastMult(ScMatrix* pA, ScMatrix* pB, ScMatrix* pR, SCSIZE n, SCSIZE m, SCSIZE l) // Multipliziert n x m Mat a mit m x l Mat b nach

Re: [sc-dev] Add a new Calc spreadsheet function

2010-08-12 Thread Marina Plakalovic
Hi Eike, Working with ranges inside the functions is not the issue, but registering function is. I followed steps described in http://wiki.services.openoffice.org/wiki/Calc/Implementation/Spreadsheet_Functions, and it seems that some additional changes must be made for functions that take range

Re: [sc-dev] Changing values in matrix which is parameter

2010-08-12 Thread Regina Henschel
Hi Eike, Eike Rathke schrieb: Hi Regina, On Sunday, 2010-08-08 20:38:21 +0200, Regina Henschel wrote: in method LINEST I get pMatX from the stack. That is a reference to the matrix MatX. I calculate the means column wise getting a matrix MeanX with associated reference pMeanX. In next step I