Next: , Previous: , Up: Office integration   [Contents]


3.7.1 OLE embedding

Since one of the main uses of Msc-generator is to paste charts into presentations or documents, Msc-generator supports OLE embedding of charts in the MFC GUI from version 2.2.

You can take a chart and embed it as a component in a compound document such as a Word, Excel or Powerpoint document. To do this, copy the chart to the clipboard by clicking on the Copy Entire Chart button and paste it into the compound document3. Later you can edit the chart by double clicking the chart in the document4.

Right clicking an embedded chart in a document will bring up a menu of options, where you can select Edit or Open for editing in a separate window; or View Full Screen to view (but not edit) the chart in full screen.

We note that page, chart design and layout settings you select on the ribbon are saved with embedded documents along with entity/box collapse/expand state, but not when you save the chart into a file.

See more details in Advanced OLE Considerations.

Best common practice workflow You start editing the chart in Msc-generator. At some point select Copy Entire Chart and then use Paste Special... to paste into a PowerPoint or Word document (select Msc-generator Signalling Chart Object). Then any time later, simply double-click the chart to open and edit it. Saving the chart in such a session will update the embedded graphics.


Footnotes

(3)

Make sure you paste the chart using ‘Paste Special...’ as an ‘Msc-generator Chart Object’.

(4)

In place editing is no longer supported from version 3.4.1.