![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: RTF export and pictures Topic Summary: Created On: 10-Nov-2004 15:49 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
OK, and now for another RTF export question.
We've inserted a few pictures into some moduels. When we want to export these modules to RTF documents these pictures are ignored. However, the picures that were in the original RTF that was imported into the DOORS module is exported! Both pictures have the picture atribute set to true, the original import one has a name "RTF picture #" while the inserted one is just called "picture #". The original also has information in the RTF NonShpPict and RTF ShpPict attributes while the inserted one does not. Anyone have any help on how to get the pictures out in the export? Export to MS Word does include these pictures, so it seems as if it should be possible. ------------------------- Kristian Bøe Extenda AB Kristian.Boe@extenda.se |
|
![]() |
|
![]() |
|
We're facing this same issue.
It turns out that exporting of pictures to RTF isn't supported by DOORS. Also, as you say, if a picture was imported via Import RTF, it will have the RTF ShpPict and other attributes, and will (maybe) be exported. Telelogic Support has confirmed this to me. From looking at the export code, I can explain *why* Export to Word has the pictures but to RTF does not. As for a workaround, I'm not sure. The imported pictures are stored in the object-level attributes as RTF, and then exported back to RTF from there. But, that's not (from what I can tell) how DOORS actually stores the pictures for its own use (i.e., to display in a module). The only ways I can find to get a picture back *out* from DOORS is to put it on the clipboard or save it to a file---neither of which is very handy for exporting to RTF, where you're writing the data to a file. (The Word export copies to the clipboard and then pastes into Word.) Perhaps one could (in the Export to RTF script) export the picture to a file, then open it as a stream and get the binary/hex data out and put THAT into the RTF (as RTF stores pictures as hex/binary in "plaintext")..... Chris |
|
![]() |
Telelogic DOORS
» General Discussion
»
RTF export and pictures
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.