Pinned topic print only ole in Object Text
Is there a way of only printing the ole if the object Text contains both ole and text? Thank you.
Dragos.Cojocari 270001QUCG1654 Posts
Re: print only ole in Object Text2012-12-20T14:56:26ZThis is the accepted answer. This is the accepted answer.Hey Jim,
Attached is an RPE 1.2 template that does this and a test DOORS module. The script code is documented but at a very high level it does the following: checks if the XHTML that is received from DOORS contains a certain text that is present for OLEs and if that's the case it extracts the OLE from it otherwise it renders the text as is.
Do note that the script is very crude and will only works in the following conditions:
- the text type="application/ole" is not present in the object text
- the object text contains a single OLE and no additional images
These shortcomings can be addressed by improving the script code in my example.
Also note that processing XHTML will take its toe on performance.
Heather_Linsk 270001TJP856 Posts
Re: print only ole in Object Text2015-04-23T14:13:49ZThis is the accepted answer. This is the accepted answer.
Hi Dragos -
I have a set of objects where there is an image and text all in the object text.
I need to display the image and pull out the caption text and make it a figure caption.