Apache OpenOffice (AOO) Bugzilla – Issue 86563
Multiline tooltips for dialog elements
Last modified: 2013-02-24 21:08:45 UTC
Hi together, I tried to create multiline tooltips for dialog elements in Java. I can only create single line dialogs: -----%<----- Object inputModel03 = xMSF.createInstance("com.sun.star.awt.UnoControlEditModel"); XPropertySet xPSetInput03 = (XPropertySet) UnoRuntime.queryInterface( XPropertySet.class, inputModel03); xPSetInput03.setPropertyValue("PositionX", new Integer(160)); xPSetInput03.setPropertyValue("PositionY", positionY - 2); xPSetInput03.setPropertyValue("Width", new Integer(60)); xPSetInput03.setPropertyValue("Height", new Integer(14)); xPSetInput03.setPropertyValue("HelpText", "Hello World"); xPSetInput03.setPropertyValue("Name", "Hello"); -----%<----- Is there a possibility to create multiline dialogs? I tried \n within the HelpText string, but it did not work. In some cases I would like to add more information to a tooltip. But this more information generates an extreme long tooltip that looks very bad. Greetings, Tobias
jsc -> cd: can you help