cancel
Showing results for 
Search instead for 
Did you mean: 

Rendering a Microsoft Word OLE Object

Former Member
0 Kudos

Hi,

I am using the Crystal Reports for Eclipse 2.0 ( cr4e_2.0.0 ) in my Java web application.

Also I am using the Crystal Report Developer (or designer) version 11.5.3 to design my reports.

I have pre made documents in Microsoft Word which I have to enter into crystal reports..these documents consist mainly of tables. I'm thinking the easiest way of doing this is to insert the word document as an OLE object. When I do so, the preview of this OLE object is fine launched inside the designer, however, when I render this page inside of my

Java web application, the text inside of the tables gets pushed up a little bit making the text appear outside of a few of the table cells. I have tried fiddling around with it but to no vail.

The question is that is this happening because I am using the crystal report for eclipse Java viewer at runtime? Or there are a few settings

that I can play with to produce a nicely fitted OLE object?

If this means that I can not improve the way the tables inside the OLE object are being displayed, what is the next best solution for writing up these word documents inside of crystal?

Thank you very much for your time.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The main reason you are facing a problem is because OLE objects (other than pictures) are unsupported for Crystal Reports for Eclipse at runtime.

you can check it out on the following link for What's New in Crystal Reports for Eclipse 2.0

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/301717ef-3ad3-2b10-5aad-8d9b73a6...

Thanks.

Akshara.

Former Member
0 Kudos

Thanks AksharaP! Quite a usefull link.

So knowing that an OLE object can not be used how is one supposed to draw a table inside of a report?

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You could try using lines and box objects. You can designate your fields to have borders and modify the size so that they all touch and look like a grid.

Hope this helps.

Akshara.

Former Member
0 Kudos

OK thanks Akshara! It sounds weird how Crystal doesn't have a table function as such though. Oh well, I will fiddle around using boxes and lines.

Cheers

Former Member
0 Kudos

I've posted up a follow up question?