Pinned topic OLE Images exported as such lose formatting
The problem is that the result is the OLE image without the assigned style, and a blank line immediately below the OLE image WITH the correct style. For example, say that I have assigned the “Center” style to the OLE image in DOORS (via Paragraph Style). My RPE template assigns the “Paragraph Style” attribute to the object in the generated document. For all other objects, this is done successfully. For OLE images in the generated document, the image itself is not “Center” style, but the blank line after the image is “Center” style.
I believe the problem is based on the way that RPE exports the OLE images. It places a field in the generated document that references a file in the "ref" folder. There is a paragraph mark after that field. When looking at the reference file, it is an OLE image also with a paragraph mark. This results in two paragraph marks, and thus, the addtional line.
With the above information, is this a limitation with RPE, or am I doing some wrong? Is there something additional I can do to solve my problem? Perhaps there is a Microsoft Word macro that will fix this problem.
RPE 188.8.131.52 iFix 1
SystemAdmin 110000D4XK1299 Posts
Re: OLE Images exported as such lose formatting2012-12-29T14:25:59ZThis is the accepted answer. This is the accepted answer.I am experiencing the same issue. Has anyone found a workaround? I would really like to center some of my OLE pictures and remove the extra newlines in the document.
Horia 270001G6WS89 Posts
Re: OLE Images exported as such lose formatting2013-01-08T15:22:25ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
I recall formatting of the OLEs to have been improved at some point so it is worth evaluating newer RPE and DOORS versions.
Regards / Horia
Kyle_W 270006360918 Posts
Re: OLE Images exported as such lose formatting2014-03-11T20:05:07ZThis is the accepted answer. This is the accepted answer.
Bump this old topic. Anybody resolve this yet? I have a bunch of OLE figure/tables in a module, and everything in RPE comes out perfectly, but i get 2-3 extra line feeds after each OLE object. Nothing else in the document has this extra white space.
I'm running DOORS 184.108.40.206
This is the only thing limiting me from having a clean document free of post processing.
Dragos.Cojocari 270001QUCG1654 Posts
Re: OLE Images exported as such lose formatting2014-03-17T10:47:37ZThis is the accepted answer. This is the accepted answer.
- Kyle_W 2700063609
that extra space seems to be Word's behavior as I observed it both with the OLE update done by RPE as well as with a manual field update in Word ( select all, F9) even though the source RTF does not contain any extra space. At a first glance we would have to implement in RPE the kind of post processing you do now in macros ( remove the first empty paragraph after an OLE). Please raise an RFE for RPE via the IBM Software RFE community