Apache OpenOffice (AOO) Bugzilla – Issue 87156
PopUp for InputField in Autotext, not shown if Autotext is inserted via API
Last modified: 2013-02-24 21:07:43 UTC
- PopUp for InputField in Autotext, not shown if Autotext is inserted via API - When I have an AutoText entry with an InputField, and choose to insert via UI (Window/Short Name/Toolbar) a popUp for the InputField shows up NB See Issue 87155 for a problem related to that) When I insert the same AutoText Entry via code, the popUp doesn't show ( Code used to insert AText: oTextCursor = ThisComponent.currentController.getViewCursor() oAutoTextContainer = createUnoService("com.sun.star.text.AutoTextContainer") oGroup = oAutoTextContainer.getByName(sCategory) oEntry = oGroup.getByName(sName) oEntry.applyTo(oTextCursor) )
seems to be one for you
.
->cornouws: How do you want to handle the input field dialog in your code? The use of the API should not pop up dialogs at all.
@ os: hmm, I see. Indeed better would be triggering the update of inputfields by code at the time that my code is ready for it. Especially when more autotext are placed one after each other. Sorry for the issue, thanks for the implicit explanantion. Cor
close the invalid issue