cancel
Showing results for 
Search instead for 
Did you mean: 

OLE Objects in a crystal report are reduced in size when exporting to word editable

paul_marks
Participant
0 Kudos

Hi Forum

I have a question and am wondering if any other users have experienced something similar or have an answer

We have a customer who has a report. The report contains a header logo and a footer containing an OLE object that fits accross the whole page in crystal

When the user exports the report to rtf the ole objects are rendered correctly.

When the user exports to Word they are rendered ok.

When the user exports the report to Word Editable the OLE objects are reduced in size by about 50%.

Is this a known issue can someone explain if there is an issue during the rendering to word Editable formats


Also

The Word Editable resultant file is 12mb where the Word file is 250kb

I have save the editable as docx to get the file down to a sensible size to import.


I have saved teh images of the resultant exports. See attached

With Kind Regards

Paul Marks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Paul,

The export formats supported by Crystal Reports can be broadly categorized in two groups:

- Page-based formats
- Record-based formats

Page-based formats: tend to produce a more exact output. The emphasis of these formats is layout representation and formatting. Formatting refers to attributes such as font style, text color, text alignment, background color, and so on. Layout refers to object position, object size, and the relationship between these attributes and other objects. Depending on the format you choose, it may not be possible for the program to preserve all layout and formatting perfectly, but page-based formats, in general, preserve these properties as closely as possible.

Record-based formats: the emphasis is on data rather than the layout and formatting. However, in some formats—such as Microsoft Excel - Data only—you will notice that some formatting is exported. Some of the record-based formats are only data-exchange formats.


Microsoft Word (97-2003) - Editable

The Microsoft Word - Editable format is different from the Microsoft Word format;

It is a page-based format, but not all of the layout and formatting are preserved in the output.

This format converts all of the report object contents to text lines. Unlike Microsoft Word format, this format does not use text frames.Text formatting is retained, but attributes such as background color, fill pattern, and so on may not be retained.

All images in your report are inlined with the textual content and, therefore, the images automatically shift to accommodate text when the document is edited in Microsoft Word.

This format does not export line and box objects from your report. As well, the special fields Page Number and Page N of M do not work when exported in this format. The Microsoft Word - Editable format has an option to insert page breaks at the end of each report page. This option may not correspond to the page breaks created by Microsoft Word; the option is used mainly to separate your report-page contents.

Please let me know if it helps.

Regards,
István


paul_marks
Participant
0 Kudos

István

Thank you for your reply. This has certainly explained the issue. We will include the url link and pass to the client.

Thank you so much for your time

With Kind Regards

Paul

Answers (1)

Answers (1)

DellSC
Active Contributor
0 Kudos

What is the exact version of Crystal that you're using?  Also, are you exporting your reports directly from the report designer or are you exporting them through an application?  If it's through an application, which version of the SDK are you using?

-Dell

paul_marks
Participant
0 Kudos


Dell

Thank you for your reply

I am using the Developer version 2011 (14.04.738). I used this to replicate

The SDK is 13.0.5

With Kind Regards

Paul