vector.com|Contact
Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

apple*
Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Search:
Advanced search

Huge RTF Report File with State Diagrams

Last updated: 2015-01-21
Issue:
The RTF report file generated by CANdelaStudio 7.5 and 8.0 becomes very huge (> 10 MB) if it contains state diagrams and is saved to RTF or DOC (not DOCX) format.
Solution:
Workaround 1: suppress automatic update of fields in RTF
In CANdelaStudio, uncheck Tools|Options|Specification|Automatically update fields…. Export to the RTF file. Open the generated RTF file in Word, save it in DOCX format, only then update fields (e.g. using keys Ctrl-A, then F9) and save the file again. Or use any other suitable application to process the RTF file.

Workaround 2: suppress duplication of graphics by Word
In Windows, adapt your registry manually or install a registry fix provided by Microsoft, as described in http://support.microsoft.com/kb/224663

Background:
With the option (described in Workaround 1) checked, CANdelaStudio runs Microsoft Word to update all fields within the generated RTF file. Updating fields in an RTF file that contains images (like state diagrams) lets the file become huge when you save it to Rich text format (RTF) or to Word 6.0/95 format (DOC).

This functionality is by design in Microsoft Word. If an EMF, a PNG, a GIF, or a JPEG graphic is inserted into a Word document, when the document is saved, two copies of the graphic are saved in the document: 1. the original graphic (in EMF, PNG, GIF, or JPEG format) and 2. a copy in the WMF (Windows Metafile) format. The resulting RTF file may be bigger by a factor of 10 or even more.

A Windows registry setting controls whether Word actually adds the WMF graphics copy. If you turn this off, some other applications (like Microsoft WordPad) will fail to display the images in the generated RTF file.

For details, see http://support.microsoft.com/kb/224663

 
Article Options
2015-01-21
Views: 698