![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: DOORS 8.1 - Rich Text Corruption Topic Summary: “ becomes “ Created On: 27-Sep-2006 19:20 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Has anyone run into this issue with rich text processing? When looping through rich text elements in a rich text paragraph (as in for rt in rp do ... string = rt.text), pulling out the text property causes data corruption.
For example: This describes the "what" from the customer point of view. becomes: This describes the “what†from the customer point of view. The rich text of the original string is: This describes the \ldblquote what\rdblquote from the customer point of view. Which becomes: This describes the "what" from the customer point of view. The \ldblquote is being interpreted and convereted to " by calling rt.text. The problem is then when setting the attribute value using "richText()": "what" becomes: “what†which in rich text looks like: \uc1\u8220 ?what\u8221 ? I've also run into this problem with accented characters and copyright symbols. It's clearly a unicode issue, but has anyone found a work-around? Thanks! Shawn ------------------------- Shawn Stepper shawn.e.stepper@wellsfargo.com |
|
![]() |
|
![]() |
|
I am not using ver 8.1, but have noticed similar issues when I exported to WORD (etc.) documents, the font map that was used by Doors was using wacky fonts that did not map well to "standard" fonts. As well the color maps were not standard and my colors were thrown off. My eventual output looked a lot like what you are describing. I modified the font and color maps and it corrected the output.
|
|
![]() |
|
![]() |
|
Shawn, I just tried this on DOORS 8.1 and I cannot reproduce the error.
I am able to extract the text using rt.text and assign it to an attribute without problem. Doesn't seem to matter whether I assign using o.attr = rt.text or o.attr = richText(rt.text). Could this be something to do with your locale? ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
quote: We've also seen these sorts of problems. How did you modify the maps? Was it in DOORS, or Word? Chris |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
DOORS 8.1 - Rich Text Corruption
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.