Àctive Document

Certain applications allow interaction with another application via OLE (Object Linking and Embedding). Examples of such applications are Microsoft Word or Microsoft Excel. OLE allows the document of one application (the OLE server) to be placed (embedded) inside the document of another (the OLE container).

FindGraph  has been designed to act as COM (OLE) server. This means, that WINDOWS registers format (extension 'fgr') as 'FindGraph.Document'. FindGraph’s  documents (plots) can thus be added to a container and edited from within container just as easily as if they were being directly edited from within FindGraph . This is beneficial if you want to prepare the report with Word (Excel) and to layout many FindGraph’s  plots on a single page.

To embed the plot in the container (for example, Excel), follow these steps:

  1. Click the button Copy Plot  or select menu item <Edit><Copy Plot>.
  2. All plot will be put it on the Clipboard as OLE object.
  3. Open Excel.
  4. Click the button Paste  or select Excel’s menu item <Edit><Paste>.
  5. FindGraph’s  plot will appear as embedded object.

To activate and edit the object, double click inside FindGraph’s  window.  Excel’s menu and toolbar will been replaced by those of FindGraph , and the graph is ready for editing. To deactivate the object, and have Excel’s menus and toolbars revert to normal, left click anywhere inside Excel, but outside FindGraph’s  window.


Notes

FindGraph  is shipped with  the program Crov. It is the simple container of FindGraph’s  and Excel’s objects . The program Crov was designed to contain several plots on page of the format À4  for printing the report. Also some examples of usage of methods of automation are included. The registered users will receive the program Crov in the source texts on VC ++.