Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: select text between bookmarks
Topic Summary:
Created On: 22-Dec-2006 13:59
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Dennis Lockshine, on Tuesday, December 26, 2006 9:25 AM

Answer:
Subrojyoti,

I've done this in a Word document to convert a selection to a table. The steps you need to do are:

1. Find and select "Bookmark a"
2. Get the START_POSITION of the colored text which is at the end of the selection +1
3. Find and select "Bookmark b"
4. Get the END_POSITION of the colored text which is at the start of the selection
5. Select all text between START_POSITION and END_POSITION

-Dennis
 22-Dec-2006 13:59
User is offline View Users Profile Print this message


Subrojyoti Sengupta

Posts: 52
Joined: 18-Nov-2005

Hi


I am writing a dxl to do foreground color of a specific text in word document.I am able to add a bookmark at the start and end of the text that has to be colored. I need a dxl which will select text between the bookmarks "Bookmark a" and "Bookmark b".






Edited: 22-Dec-2006 at 14:09 by Subrojyoti Sengupta
Report this to a Moderator Report this to a Moderator
 22-Dec-2006 18:25
User is offline View Users Profile Print this message


Dennis Lockshine

Posts: 113
Joined: 7-Apr-2003

Answer Answer
Subrojyoti,

I've done this in a Word document to convert a selection to a table. The steps you need to do are:

1. Find and select "Bookmark a"
2. Get the START_POSITION of the colored text which is at the end of the selection +1
3. Find and select "Bookmark b"
4. Get the END_POSITION of the colored text which is at the start of the selection
5. Select all text between START_POSITION and END_POSITION

-Dennis
Report this to a Moderator Report this to a Moderator
 26-Dec-2006 10:08
User is offline View Users Profile Print this message


Subrojyoti Sengupta

Posts: 52
Joined: 18-Nov-2005

Dennis,

Thanks, after some customization the dxl code is working .
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 2 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.