![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Image import / export Topic Summary: Created On: 19-Sep-2005 08:55 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|||
hello,
i have a problem with the im- and export of images in Doors.
The import seems to work correct, but when i export an images with exportPicture(ole,filename , formatPNG)
then they seem to be rendered down, after the export.
Fonts in a picture, are almost unreadable. Does someone had the same problem before?
thanks in advance
Ben Herfurth
|
|||
![]() |
|||
![]() |
|||
Hi Ben,
what purpose are you exporting Ole's for? Did you ever think about rtf export? Regards Hubertus |
|||
![]() |
|||
![]() |
|||
i export them for userguide documentation.
i am creating a docbook document, of the doors module, exporting the pictures and embedding the link to the picture in the docbook document. How does rtf export work?
thanks in advance
Ben Herfurth
|
|||
![]() |
|||
![]() |
|||
Hi Ben,
take a look at this. You will not loose data by exporting to rtf and have all the options of postprocessing. Fumble a bit with it to get what you want... You may also check (by oleCount ) each object whether Ole's are in and export only these which really contain OLE. Hope it helps
Regards
Hubertus
Hubertus Grobbel, Fa. iss+c GmbH, www.issc.de
string sRtfString = ""
Stream out = null
Module curMod = current Module
string docName = ""
Object o
// also without visibility possible as an option
//string modName = "Tests/simple"
//curMod = edit( modName, false)
for o in all curMod do {
sRtfString = richTextWithOle (o."Object Text")
// path to be adapted...
docName = "d:\\doors_tmp\\ref_Object_Text_" o."Absolute Number" ".rtf"
out = write docName
out << sRtfString
flush out
close out
out = null
sRtfString = ""
}
|
|||
![]() |
|||
![]() |
|||
Hubertus Grobbel, iss+c GmbH, www.issc.de wrote
I love this webeditor ... string sRtfString = "" Stream out = null Module curMod = current Module string docName = "" Object o // also without visibility possible as an option //string modName = "Tests/simple" //curMod = edit( modName, false) for o in all curMod do { sRtfString = richTextWithOle (o."Object Text") // path to be adapted... docName = "d:\\doors_tmp\\ref_Object_Text_" o."Absolute Number" ".rtf" out = write docName out << sRtfString flush out close out out = null sRtfString = "" } Edited: 19-Sep-2005 at 09:39 by Hubertus Grobbel |
|||
![]() |
|||
![]() |
|||
hi hubertus,
your script works, but not really like i want to ![]() when i run the script, i get really many rtf files. only some of them are images, the rest is either text snippets or zero-sized rtf's i need pictures which are available after export, for a docbook -> tex -> pdf conversion all this shall run automatically. So, I can't decide if the rtf is an image or just text, with my script. Thanks Ben |
|||
![]() |
|||
![]() |
|||
Ben, You may also check (by oleCount ) each object whether Ole's are in and export only these which really contain OLE. :-) |
|||
![]() |
|||
![]() |
|||
ah alright.
found a newer version of oleCount(at least the reference manual tells me ^^) --> oleIsObject(Object o) and it works ![]() ![]() btw i love this webeditor ^^ always have [br][br] in my clipboard ... thanks Ben |
|||
![]() |
|||
![]() |
|||
Hi Ben, Manual: "oleCount ...is... new version of |
|||
![]() |
|||
![]() |
|||
Hi Ben,
as I've read in this thread, you want to create a user's documention. We solved this problem a long time ago in that way : We are using a special Help Module, where hierarchically stored Mircosoft Word files with the Documentation. It should mainly contain in Object Heading the help topic and a second Attribute called "Documentation File", which contains OLE Objects (Word files) with the documetation... I've created a DXL script, which exports these files into a directory and creates all needed project and index files for the Microsoft HTML Help Workshop. So after running this script, you have only to open the created project file in the HTML Help Workshop and press the compile button ---> Then you will get a compressed HTML Help file (.chm), which easily can be used with Doors helpOnEx function. The Absolute Number of Object in Help Module can be used to display a special help topic in helpOnEx function : helpOnEx (dialog , "c:/test/help.chm", 5) Get the HTML Help Workshop I hope you will like this idea ![]() Greetings Reik Schroeder Siemens AG Berlin
------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|||
![]() |
|||
![]() |
|||
Reik,
A very nice little program. I had it up and running in about half an hour and was suitably impressed. Regards, Richard ------------------------- Regards, Richard Good |
|||
![]() |
|||
![]() |
|||
Reik,
Can't get dxl file fron the link. Any chnace of e-mailing it to kenny.mcguffie@baesystems.com? Kind Regards Kenny McGuffie |
|||
![]() |
Telelogic DOORS
» DXL Exchange
»
Image import / export
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.