Storing data associated with words 
Author Message
 Storing data associated with words

Oops, I intended to x-post this

Quote:
> I have a requirement to keep internal data associated with individual
words.
> These "words of interest" (WOI) will be inserted programmatically along
with
> a sort of "tag" or "reference" that I will use to identify the word as one
> of my WOIs.  Now, this data associated with a WOI must stay associated
with
> the WOI (and only the WOI) regardless of user actions including typing,
drag
> and drop, etc.  If the WOI is deleted, the data must also be deleted.  I
> have been trying to use bookmarks but I am having serious problems and the
> work-arounds are getting ridiculous.  Is there anything else that can be
> used for this that I may have missed?

> Here is what I have observed with bookmarks based on user actions,
relative
> to cursor and bookmark location:
>     "This is |[another] test"
>     (bookmark range matches "another" and cursor immediately bookmark)
>     User types "test "
>     Result - "This is [test |another] test"
>     Note: Same thing happens when I insert text programmatically.

> There are also similar problems related to deleting one WOI
programmatically
> before inserting another WOI and ending up with overlapped bookmarks.

> Any suggestions?



Tue, 11 Mar 2003 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. VBA Word, data stored in strings during runtime, and after closing

2. store data between sessions of word

3. storing data in a word doc

4. Challenge: Storing non-persistent data in Word documents

5. 2nd try-Auto dis-associate mail merge data source

6. Data associated w/ listbox selection

7. Associating data with a node in a treeview

8. Associating Data with a Child Form

9. Associating data values with listbox entries

10. Associating data with listbox entry

11. Action was cancelled by the associated object - Data type conversion error

12. Object reference back to Access from Word stored in Access

 

 
Powered by phpBB® Forum Software