![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Symbol Mixup? Topic Summary: Less than or equal signs getting changed. Created On: 10-Jul-2006 21:33 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Yeah, sorry, I program on a different computer and its kind of a hassle to get my code over to here. Thanks for that help though, I think I figured out what I was missed. | |
![]() |
|
I have a very basic script that just merges selected object text into one object. It just basically concatenates the object text from each selected object. The problem arises when a less than or equal to symbol or a greater than or equal to symbol is inserted via DOORS and then merged using the script. For some reason it changes the less than sign to a superscript 3 and the greater than sign to a Lira symbol. I was wondering if there is any reason/fix for this.
|
|
![]() |
|
![]() |
|
Should have posted the script. If you are retrieving the rich text from the objects then you have set the value as rich text. If you don't retrieve rich text then don't set it using rich text. Script should look like one of the following:
[1] Text1 = richTextWithOle(o1, "Object Text") Text2 = richTextWithOle(o1, "Object Text") o1."Object Text" = richText(Text1 "\n" Text2) [2] Text1 = o1."Object Text" Text2 = o2."Object Text" o1."Object Text" = Text1 "\n" Text2 - Louie |
|
![]() |
|
![]() |
|
Yeah, sorry, I program on a different computer and its kind of a hassle to get my code over to here. Thanks for that help though, I think I figured out what I was missed.
|
|
![]() |
|
![]() |
|
I would be interested in hearing what you figured out, Matt. We've run into this problem too, in a script that follows links and dumps text out to an Excel via a tab-separated file. I seem to remember not being able to find a good way to get it to come out of DOORS right, or to show up properly in Excel (of course, just because I couldn't find a way doesn't mean there isn't one
![]() What I ended up doing was to scan the text after getting it out of DOORS, and replace the '£' (lira) with ">=" and the other as appropriate. This same problem shows up in the DOORS Import RTF script too. Chris |
|
![]() |
|
![]() |
|
Upon further inspection, the "Export to DOORS" function in Word correctly gets the greater- and less-than-or-equal symbols. Seems kind of strange...
|
|
![]() |
|
![]() |
|
Yeah, it seems there are two "types" of greater than or less than symbols... the kind you import from Word, and the kind you can add within DOORS. It was the DOORS symbols that I was having issues with, the Word ones worked just fine. Per Louie's suggestion, I used the [1]st snippet of code and DOORS merged the symbols just fine. I must point out that the proper from of the richTextWithOle(o1."Object Text") is a dot, not the comma as it appears above. Small typo but it gives you the ever popular dxl error.
I don't know if that will help you in the export, but good luck with that.
Matt
|
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Symbol Mixup?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.