Thanks very much for the reply, tml!<div><br></div><div>It makes a lot of sense.</div><div><br></div><div>Basically, from your experience, how many times does it cost to build a lib which has the functionality I list in my question? or you guys have already done this part?</div>
<div><br></div><div>BTW, what is the current status of porting the whole LO to iOS? </div><div><br></div><div>Thanks,</div><div>Wade</div><div> <br><br><div class="gmail_quote">On Mon, Jul 2, 2012 at 1:27 AM, Tor Lillqvist <span dir="ltr"><<a href="mailto:tml@iki.fi" target="_blank">tml@iki.fi</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> I'm going to port the spreadsheet engine to iOS platform. I was just<br>
> wondering is there anyone here who once did the same work before? Or could<br>
> someone give me some directions/suggestions to do so?<br>
<br>
</div>Well, yes, most of the LIbreOffice platform-independent code compiles<br>
just fine for iOS. What remains to be done is to fill in more of the<br>
the details so that necessary UNO components that aren't dynamically<br>
loaded on iOS but statically linked, get statically linked. Of course,<br>
which UNO components will be needed at run-time depends on the app the<br>
code is used in. And other bits and pieces. Of course if one wants to<br>
build an actual app that uses LO code to handle text, spreadsheet<br>
and/or presentation documents, all UI code is missing. Assuming the<br>
plan we have been following so far (for Android) is the right one,<br>
i.e. that UI code needs to be platform-specific, and that re-use of<br>
desktop UI components in LO for touch platforms is wrong.<br>
<br>
Just have a look in README.cross and learn to build the stuff<br>
yourself. And then you need to understand a bit about how LibreOffice<br>
works, UNO etc, before you can work on getting more of that to hang<br>
properly together. There is a unit test program in ios/qa that builds<br>
using Xcode into an iOS .app that corresponds to the sc_filters_test<br>
unt test. That is the test program I have been tinkering with now and<br>
then. All the relevant other bits of LO has to be built first, using<br>
LO's normal build mechanism, before you can build the Xcode project<br>
there.<br>
<br>
--tml<br>
</blockquote></div><br></div>