[Libreoffice-bugs] [Bug 88928] Open Basic IDE via macro command uno.BasicIDEAppear does not work
https://bugs.documentfoundation.org/show_bug.cgi?id=88928 LeMoyne Castle changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |NOTABUG Assignee|libreoffice-b...@lists.free |lemoyne.cas...@gmail.com |desktop.org | --- Comment #11 from LeMoyne Castle --- Is documentation fail and not a bug -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88928] Open Basic IDE via macro command uno.BasicIDEAppear does not work
https://bugs.documentfoundation.org/show_bug.cgi?id=88928 --- Comment #10 from LeMoyne Castle --- Created attachment 113074 --> https://bugs.documentfoundation.org/attachment.cgi?id=113074&action=edit Working macro It is rather simple to get the BasicIDE to open with a library.module in an LO file. The key is to pass the document URL as the Document option, like so: aOptions(0).Name="Document" aOptions(0).Value=ThisComponent.GetURL ' full URL of current file aOptions(1).Name="LibName" aOptions(1).Value="Standard" ' Name of library aOptions(2).Name="Type" aOptions(2).Value="Module" ' Module or Dialog aOptions(3).Name="Name" aOptions(3).Value="Module1" ' Name of Module or Dialog aOptions(4).Name="Line" aOptions(4).Value=13 ' Linenumber to place the cursor. [rest of code in attachment] Although this is not a bug in the underlying code, there seems to be a complete documentation fail for uno.BasicIDEAppear This has been considered a bug since OOo 3.0, but I'm guessing it was probably an undocumented correction/enhancement to go to a URL format for the Document to enable network file access. BasicIDEAppear is forgiving: can leave off Type, Name, etc. and just end up at the top of the first module. If Document is blank or not found, it defaults to My Macros & Dialogs (as noted). There may be some way to get it to open in the built-in Libre Office Macros & Dialogs set (URL to file containing them?). I didn't try for that figuring they are available once the IDE is open and should be treated as read-only. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88928] Open Basic IDE via macro command uno.BasicIDEAppear does not work
https://bugs.documentfoundation.org/show_bug.cgi?id=88928 --- Comment #9 from g1...@arcor.de --- Well, I spend a few hours over the weekend do look at the LibreOffice code. Expected to find a class BasicIDE with a method Appear where I can find the structure of the properties it accepts. But I did not find any. It seems to me, that there is alot of old code mixed with new code. The basicide stuff seems to be more of the old code. I found a couple of invocations of the code in my codesample sOpenMacroEditor. But this of course only means that this code worked somewhen. I can't tell if that code is still active or not used any more. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88928] Open Basic IDE via macro command uno.BasicIDEAppear does not work
https://bugs.documentfoundation.org/show_bug.cgi?id=88928 --- Comment #8 from g1...@arcor.de --- Is the code of the UNO service BasicIDEAppear available? I guess it is. The right question would be: "How can I find it." If I had it, I could try to find out what this service does. Maybe the interface just changed and nobody knows how the call is supposed to be done. Actually, since the Office menucommand Tools/Macros/manage Macros/LibreOffice Basic... opens the Basic IDE and loads the right module into it, there must be a working solution to the problem. I already tried the macro recorder of the Windows version of LibreOffice, but it just records how to open the manage Macros dialog and not how the Dialog itself opens the IDE than. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88928] Open Basic IDE via macro command uno.BasicIDEAppear does not work
https://bugs.documentfoundation.org/show_bug.cgi?id=88928 --- Comment #7 from g1...@arcor.de --- I don't see how a window title has to do with it. The dispacher gets the instruction to let the Basic IDE appear, it gets the document name, the library name, the module name and the linenumber. This is exactly the information it needs to display the code to be edited. I understand, that there might be the window title envolved somehow internally but that would be something the UNO service would have to handle (or any other componenet). On the other hand, I myself have no problem if this code doesn't work anymore (for reasons I do not know). The question than would be, what is the right call to get this done today and in the future. Maby the hole thing is just a question of documentation. But, if the code worked somewhen and now it does not work anymore, and that is not on purpose (which would have to be dokumented as being on purpose) then I would call it a bug. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88928] Open Basic IDE via macro command uno.BasicIDEAppear does not work
https://bugs.documentfoundation.org/show_bug.cgi?id=88928 raal changed: What|Removed |Added Version|3.5.4 release |Inherited From OOo OS|Linux (All) |All --- Comment #6 from raal --- I tried to rename the library but macro still open MyMacros/standard (in my case this exists). This is the same in version 3.5, linux. Setting version as Inherited from OOo - see link to forum. Leaving unconfirmed, not sure if it's a bug or macro needs to be adapted (from discussion https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=14849 : "it is because the name of the window title of the Basic IDE has changed. ") -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88928] Open Basic IDE via macro command uno.BasicIDEAppear does not work
https://bugs.documentfoundation.org/show_bug.cgi?id=88928 --- Comment #5 from g1...@arcor.de --- Well, you are right! This is already more than I got that far. What should be opened? If you look at my screenshot a little closer, the window is totally empty, no code modules to select and work on, no dialogs, not even empty modules and dialogs. I did some testing and found out, the IDE is trying to open Module1 from the Standard library from My Macros. My My Macros/Standard library is empty (no module in it, like it is the default after installation). So the IDE tried to load a module which does not exist and instead of the default behavior (when opened via the userinterface) it displays nothing at all. BUT the codesample is not supposed to load the standard library from My Macros, it is supposed to load the Standard library from the document and load the module from there and of course display it. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88928] Open Basic IDE via macro command uno.BasicIDEAppear does not work
https://bugs.documentfoundation.org/show_bug.cgi?id=88928 --- Comment #4 from raal --- (In reply to g1234 from comment #2) > Thanks. I downloaded your spreadsheet and clicked the button. It opened an > empty IDE. I do have a screenshot, but do not know how to attach it here ... And what should be opened? -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88928] Open Basic IDE via macro command uno.BasicIDEAppear does not work
https://bugs.documentfoundation.org/show_bug.cgi?id=88928 --- Comment #3 from g1...@arcor.de --- Created attachment 112951 --> https://bugs.documentfoundation.org/attachment.cgi?id=112951&action=edit Screenshot of empty IDE Window porduced by test file -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88928] Open Basic IDE via macro command uno.BasicIDEAppear does not work
https://bugs.documentfoundation.org/show_bug.cgi?id=88928 --- Comment #2 from g1...@arcor.de --- Comment on attachment 112944 --> https://bugs.documentfoundation.org/attachment.cgi?id=112944 test file Thanks. I downloaded your spreadsheet and clicked the button. It opened an empty IDE. I do have a screenshot, but do not know how to attach it here ... -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88928] Open Basic IDE via macro command uno.BasicIDEAppear does not work
https://bugs.documentfoundation.org/show_bug.cgi?id=88928 raal changed: What|Removed |Added CC||r...@post.cz --- Comment #1 from raal --- Created attachment 112944 --> https://bugs.documentfoundation.org/attachment.cgi?id=112944&action=edit test file Works OK on win7, LO 4.3.5. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 88928] Open Basic IDE via macro command uno.BasicIDEAppear does not work
https://bugs.documentfoundation.org/show_bug.cgi?id=88928 g1...@arcor.de changed: What|Removed |Added Version|4.3.3.2 release |3.5.4 release -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs