I have a strange problem: - I have a swing UNO application that displays a listbox which is constantly updated with a visual hierarchy of the documents heading levels...
- I use XEnumerationAccess and XEnumeration to enumerate paragraph heading levels... -Since the document is being edited the user, i use a swing timer which is invoked every 3 seconds to refresh the list box.... this is the problem: If the user places the cursor somewhere in the document, and scrolls down (without placing the cursor on the document again), the next time the timer invokes the paragraph enumeration, the document automatically scolls back to the last point where the user placed the cursor. If the user scrolls down and places the cursor in a different this "automatic" scrolling does not happen. I am not using the View cursor for any of these enumerations..., I am using a normal textcursor gotten from the XTextDocument.... so why is this strange behaviour happening ? thanks ashok --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
