<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Hi all,<br><br></div>I looked into how to make UNO components for calc and referred to Solver.idl and XSolver.idl inĀ  offapi module for more understanding.<br><br></div>I am thinking of moving the existing implementation of dataproviders and datatransformations (located at sc/source/ui/dataproviders) to two UNO components.<br><br></div>This would mean creating 4 new files in offapi/com/sun/star/sheet namely <br><br>ExternalDataProvider.idl<br></div>XExternalDataProvider.idl<br></div>DataTransformations.idl<br></div>XDataTransformations.idl<br><br></div>ExternalDataProvider will host the following methods:<br></div>1. void Import()<br></div>2. OUString& GetURL()<br><font size="2">3. <span style="font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap" id="gmail-docs-internal-guid-b8f9775a-630f-406e-c110-e496a7b6ed54">map<OUString, OUString> getDataSourcesForURL(const OUString& rURL)</span><br>4. <span style="font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap" id="gmail-docs-internal-guid-2e0ef070-630f-c0a8-210a-b8466178345f">unique_ptr<SvStream> FetchStreamFromURL(const OUString&, OStringBuffer& rBuffer)</span></font><br><br><br></div>DataTransformation will host all the methods defined in datatransformation.hxx<br><br></div>I want to convert the existing implementations to UNO so that external application developers can make use of the functionality as well. <br><br></div>Looking for suggestions and feedback.<br><br></div>Kind Regards,<br></div>Vikas Mahato<br></div>