Thread "Open Document suites compatibility"

Tabs

  • ilario.truppa
    Ilario Truppa | ilario.truppa | 22. Jul 2020, 10:08 Select
    Open Document suites compatibility
    Is there a specific reason why this marvelous software is not compatible with OpenOffice / Libreoffice?

    ILIAS is open source and would be great to use this script with open source office suites too.
  • wischniak
    Stanislav Wischniak | wischniak (Moderator) | 22. Jul 2020, 10:57 Select
    Open Document suites compatibility
    Hello Ilario,

    that's a good question. The code is written in VBA, which is created by Microsoft.
    OO/LO does not support VBA, IMHO. It does support LibreOffice Basic.. which is different, though.



    So we did not have any requests on adopting to OO/LO yet (this is the first one) and would be able to do this with some funding.

    Regards,
    Stanislav
  • Deleted
    Deleted | 18. Aug 2020, 00:48 Select
    Edited on: 19. Aug 2020, 01:50 - by Deleted
    Open Document suites compatibility
    After I playing with ILIAS since three months I have developend a libreoffice calc macro for import and manage user accounts. It is a young project but is running stable and usable for ILIAS 6 (tested with 6.1). The appended file have version 1.4. I am waiting for some ideas and bugfixes.

    (appended file updated to version 1.6)
  • wischniak
    Stanislav Wischniak | wischniak (Moderator) | 18. Aug 2020, 19:01 Select
    Open Document suites compatibility
    Wow! Great job!
    I've checked quickly the code so far, looks pretty good. Will check on it again after my vacation.

    This would be a great alternative for unix and mac systems, I guess.

    Best,
    Stas
  • Deleted
    Deleted | 19. Aug 2020, 01:49 Select
    Open Document suites compatibility
    Today I have made some futher optimizations with the LibreOffice Macro. And I added a small documentation about the columns. The appended file is version 1.6.
  • Deleted
    Deleted | 19. Aug 2020, 23:10 Select
    Open Document suites compatibility
    Today I have added translations ("de" and "fr") to the LibreOffice Macro Dialogs.
    The appended file is version 1.7.
  • Deleted
    Deleted | 20. Aug 2020, 14:34 Select
    Edited on: 20. Aug 2020, 14:49 - by Deleted
    Open Document suites compatibility
    Here is the next version 1.8 of this Libreoffice file with macro. I have added some modes about creating Loginnames and and a more simple (old) mode about creating Passwords.
  • wischniak
    Stanislav Wischniak | wischniak (Moderator) | 3. Sep 2020, 17:18 Select
    Open Document suites compatibility
    Great! I've put a link to this post on the main page.
    Thanks.
  • Deleted
    Deleted | 7. May 2021, 10:53 Select
    Open Document suites compatibility
    Unfortenately the file crashed when I start the "Generate XML ImportFile"
    I have attached a screenshot. I use LibreOffice 7.1.2.2

    It would be great, if I can get a little support.

    Rgds
    Sven
    Attachments
    Error.PNG
  • wischniak
    Stanislav Wischniak | wischniak (Moderator) | 7. May 2021, 12:08 Select
    Open Document suites compatibility
    Hi Sven.

    joo4mart is needed for this.

    But just from the screenshot the error is about reading/writing the file.
    Either something with the filename or maybe with the target path.

    You could try to save your import file somewhere else and see if this works.

    regards,
    Stas
  • Deleted
    Deleted | 7. May 2021, 12:58 Select
    Open Document suites compatibility
    Hi Stas,
    I think the solution is shown in the attachement. I'm not good with VBA, but now it works.
    May be joo4mart has a smarter solution as mine :-)

    Thanks for your comment and stay healthy

    Rgds
    Sven
    Attachments
    Solution.PNG
  • Deleted
    Deleted | 7. May 2021, 16:47 Select
    Open Document suites compatibility
    Finally I have LO 7.1.3 installied. While testing the basic macro (v1.8) generating XML I do not get any errors. It seems you really have a write problem, perhaps the path 'sFullPath' in line 784 is gone?

    I will try to create an execption handling while writing to files. But that is not easy in Libreoffice/Basic.
  • Deleted
    Deleted | 10. May 2021, 09:38 Select
    Open Document suites compatibility
    Hello Joachim,
    attached a screenshot with the output of your original variable sXmlFile. That makes no sense. Therefore I have modified the variable sXmlFile as you can see in line 792.

    The same issue I have with your version 2.2.

    Rgds
    Sven
    Attachments
    Solution_1.PNG
  • Deleted
    Deleted | 7. May 2021, 16:51 Select
    Open Document suites compatibility
    In March I have already created version 2.2 of the macro. So here is the updated LibreOffice Calc file with the updated macro.