Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

I had built an extension to transfer data over raw sockets using an
extension to libreoffice (link below to original post)
http://nabble.documentfoundation.org/libreoffice-dev-libreoffice-4-0-waiting-on-multiple-sockets-td4031915.html

It doesn't seem to work with upgrade to 4.2. Would someone know of the top
of their head if following calls are compatible with 4.0 .
below is the pseudo code of relevant calls (lock controllers, get Cell
range, set data in loop and set data array with it. unlock controllers:

xModel_->lockControllers();
getCellRange (SYM_COLS, _count+1);  // function code included below
// loop to set data
   data_[shmIdx+1][0] <<= shmIdx;  // i can print the data here - it is
present
xCellRangeData_->setDataArray(data_);
xModel_->unlockControllers();

void ObjView::getCellRange (int _cols, int _count)
{
  Reference< XCellRange >           xCellRange1( sheet_, UNO_QUERY );
  Reference< XCellRange >           xCellRange =
xCellRange1->getCellRangeByPosition( 0, 0, _cols, _count );
  Reference< XCellRangeData >       xCellRangeData1( xCellRange, UNO_QUERY
);
  Sequence < Sequence < Any > >     data = xCellRangeData1->getDataArray();
  xCellRangeData_   = xCellRangeData1;
  data_             = data;
}

thanks
Neeraj
-- 
=====
Intuition - is the inability to figure out the facts on which we based the
decision.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.