https://bugs.documentfoundation.org/show_bug.cgi?id=156471
--- Comment #20 from Lionel Elie Mamane <[email protected]> --- (In reply to prrvchr from comment #17) > It is not me who chose to display the step to choose the connection URI but > the Wizard... >From glancing at the code of the wizard (dbaccess/source/ui/dlg/dbwiz.cxx), function IMPL_LINK(ODbTypeWizDialog, OnTypeSelected, OGeneralPage&, _rTabPage, void) it looks to me like it makes that decision by calling m_pCollection->isConnectionUrlRequired(m_eType) which itself (iun dbaccess/source/core/misc/dsntypes.cxx) seems to just look at whether the driver registers with a pattern of URLs (ending with "*") or with a single URL (not ending with "*"). So the question is what URL or URL pattern the drivers you add register in the xcu file that you ship... Or maybe I read it wrong, and the choice is made in ODsnTypeCollection::fillPageIds in that case, you probably have to add a new value DST_EMBEDDED_UNKNOWN in the enum DATASOURCE_TYPE in dbaccess/source/inc/dsntypes.hxx and then add that to the treatment throughout the dsntypes.cxx file, everywhere there is a switch(eType) and also in function ODsnTypeCollection::determineType > And we may criticize Java, but it is still thanks to it that we can use > SQLite (the first database to be used in the world) under LibreOffice and in > a fairly simple way: > install java > install LibreOffice > install extensions > > In my opinion, we can never make it that simple... Oh, with some development work, we can make it much easier for the user, just: install LibreOffice. "all we have to do" is develop an sdbc driver that calls the SQLite C library directly (not through JDBC), and ship that within LibreOffice. Would be easier for the user, but more development work for us :) Or even if it is an extension and not integrated into LibreOffice proper, it would still remove one step for the user, it would just be: install LibreOffice install extension But still much more development work for the person(s) that develop the extension. -- You are receiving this mail because: You are the assignee for the bug.
