Issue 87156 - PopUp for InputField in Autotext, not shown if Autotext is inserted via API
Summary: PopUp for InputField in Autotext, not shown if Autotext is inserted via API
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All Windows XP
: P3 Trivial
Target Milestone: ---
Assignee: Oliver Specht
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-17 22:04 UTC by cno
Modified: 2013-02-24 21:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description cno 2008-03-17 22:04:50 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) 
  )
Comment 1 jsc 2008-03-18 15:16:22 UTC
seems to be one for you
Comment 2 thomas.lange 2008-03-19 09:42:45 UTC
.
Comment 3 Oliver Specht 2008-03-19 09:59:17 UTC
->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.
Comment 4 cno 2008-03-19 10:19:27 UTC
@ 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
Comment 5 Mechtilde 2008-11-06 19:29:57 UTC
close the invalid issue