Re: A question about extension and sidebar
Hi, I haven't find any solution yet. I've not on IRC now, Il will connect. Ludovic Le 05/02/2014 11:35, Miklos Vajna a écrit : Hi Ludovic, On Mon, Jan 27, 2014 at 03:11:39PM +0100, ludovic SMADJA ludo...@castor-et-herlie.fr wrote: I can detect that the loaded document is present in intranet but I don't know how to open a sidebar panel via API. Is there any way to do that ? is a dispatch command to open a sideba panel ? Did you sort this out in the end? I saw some related discussion on IRC with Kendy, not sure what was the outcome. Miklos ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
A question about extension and sidebar
Hi every one, I've developped a extension, in order to connect LO (or OO) to our intranet product. The application is working fine but a feature is missing. We want to open the extension sidebar when a document present in intranet is loaded, instead of clicking on the panel. I can detect that the loaded document is present in intranet but I don't know how to open a sidebar panel via API. Is there any way to do that ? is a dispatch command to open a sideba panel ? Regards, -- Ludovic SMADJA RD engineer - build process and development JALIOS SA http://www.jalios.com ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: Changement de license pour ooeclipse
Ok pour moi All of my past future contributions to LibreOffice may be licensed under the MPL/LGPLv3+ dual license Ludovic Le bonheur est la seule chose qui se double si on le partage. Albert Schweitzer Le hasard, c'est Dieu qui se promène incognito. (Albert Einstein / 1879-1955)Ok pour moi All of my past future contributions to LibreOffice may be licensed under the MPL/LGPLv3+ dual license On 03/04/2013 13:15, Cedric Bosdonnat wrote: All of my past future contributions to LibreOffice may be licensed under the MPL/LGPLv3+ dual license ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] question about image control
Hi, I'm creating a new ToolPanel for my product. I want to a an image which is the icon of a remote document, which can be edited in LO. I can't display image. If I inserted a button with the same image, the button displays correctly the icon but not the controlImage. What I've missed ? Here's the portion of the code which add components. Regards, Ludovic SMADJA Code start *** Object btnControl = ControlHelper.createControl(mainPanel.getContext(), UnoControlButton, 0, position, 20, fontHeight, new String[]{ImageURL, BackgroundColor}, new Object[]{imgUrl, 0xff1234}); XControl xBtnControl = UnoRuntime.queryInterface(XControl.class, btnControl); searchResultPanel.addControl(img_ + i, xBtnControl); Object imgControl = ControlHelper.createControl(mainPanel.getContext(), UnoControlImage, 20, position, 20, fontHeight, new String[]{ImageURL, BackgroundColor}, new Object[]{imgUrl, 0xff1234}); XControl xImgControl = UnoRuntime.queryInterface(XControl.class, imgControl); searchResultPanel.addControl(img2_ + i, xImgControl); Object docControl = ControlHelper.createControl(mainPanel.getContext(), UnoControlFixedText, 40, position, size, fontHeight, new String[]{Label}, new Object[]{name}); XControl xDocControl = UnoRuntime.queryInterface(XControl.class, docControl); searchResultPanel.addControl(doc_ + i, xDocControl); Code end *** -- ludovic ludovic.sma...@jalios.com JALIOS SA RD ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] add control (like button) inside custom XToolPanel
Hi everyone, I'm trying to develop a small gui in an XToolPanel. I've read and followed example about xToolPanel in c++ and convert it to java code with success, now I've my green panel displayed. What I'm doing now is to add some control inside (like button). I can add controls but they are all stacked on the top left edge of the panel, all on the same place. I think that it must miss a container with some layout or fixed position but the only container I've found in documentation and example is unoControlDialog. With this, my button are correctly placed but in a modal dialog and not in my panel. I'm lost, I cannot see what's the way I should use. Could send me a simple piece of code to add correctly a button inside a XToolPanel ? The panel code can be read at http://pastebin.com/QfFx8TKQ. Regards, Ludovic SMADJA -- ludovic ludovic.sma...@jalios.com JALIOS SA RD ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice