![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Object Text Format Issue Topic Summary: Carriage return action within object text Created On: 11-Oct-2006 15:17 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: That's exactly what I saw when moving from DOORS 7 to DOORS 8 (actually I think the change in behavior came in DOORS 7.1 patch 14 or so). I was pretty annoyed to put it mildly. Whatever happened to backward compatibility on upgrade. Grrrr! Any, regardless, the "fix" was a pain, and was exactly that of changing hard new lines to soft new lines, as Ron stated. I had to write a DXL script to go "fix" my existing objects to replace the hard newline to a soft newline. Use Ron's method going forward for new objects. For what it's worth, here's the code I cobbled together to replace the hard newline \par with soft newline \line in the rich text for the "Object Text" of all objects, to give you an idea of what needed to be done. You'll see that I got it to skip objects with OLE, and bullet lists etc. Some things are easier to tweak manually, when you know _exactly_ how it should be.... Season the script to taste. Regards, Stuart | |
![]() |
|
I am trying to get consistent handling of object text when I export to Word. I have one object with text that ends up generating word paragraph breaks between the paragraphs in the DOORS object text and another that generates carriage returns. When I edit the object text in DOORS, for the object that generates carriage returns, DOORS automatically leaves space between paragraphs when I hit the "Enter" key on the keyboard. The DOORS object that generates paragraph breaks, does not leave space and I end up hitting "Enter" twice to obtain the same look in DOORS (one blank line between paragraphs). I can not seem to discover what is triggering the different edit action in the two different objects. I can probably live with either behavior, but I need them to be consistent. I would prefer to have DOORS export and generate paragraph breaks, but I can write a Word macro to change the carriage returns to paragraph breaks if necessary.
Does anyone know how to set the edit behavior for the "Enter" key? |
|
![]() |
|
![]() |
|
This seems to be a problem between soft newlines vs. hard newlines. How do I set the text input mode to hard newlines when I type text into an object text field?
|
|
![]() |
|
![]() |
|
Not sure if I followed you thoughts but try the following info
To ensert new paragraph select Key : return To ensert a soft return select keys: shift control return |
|
![]() |
|
![]() |
|
That's exactly what I saw when moving from DOORS 7 to DOORS 8 (actually I think the change in behavior came in DOORS 7.1 patch 14 or so). I was pretty annoyed to put it mildly. Whatever happened to backward compatibility on upgrade. Grrrr!
Any, regardless, the "fix" was a pain, and was exactly that of changing hard new lines to soft new lines, as Ron stated. I had to write a DXL script to go "fix" my existing objects to replace the hard newline to a soft newline. Use Ron's method going forward for new objects. For what it's worth, here's the code I cobbled together to replace the hard newline \par with soft newline \line in the rich text for the "Object Text" of all objects, to give you an idea of what needed to be done. You'll see that I got it to skip objects with OLE, and bullet lists etc. Some things are easier to tweak manually, when you know _exactly_ how it should be.... Season the script to taste. Regards, Stuart |
|
![]() |
|
![]() |
|
I have used the above script and changed \par to \line, ie hard returns to soft returns, in certain objects however when I export them they still export as a hard return. I use WEXP v11.4 for most exports but have also tried the DOORS Word export and both give the same result. ------------------------- - Martin |
|
![]() |
Telelogic DOORS
» General Discussion
»
Object Text Format Issue
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.