Contents - Index - Previous


Data Transfer 

 

The general mechanism of the data transfer between Shadow Analyzer and other applications like MS Photo Editor, MS Word, MS PowerPoint, and MS Excel is described in the topic Copy to Clipboard of the chapter "Advanced Options". This mechanism uses the Clipboard of the Windows system as an intermediate data storage, to which you can copy data from Shadow Analyzer. Then the common mechanisms of the Windows system are working, when you insert (paste) data from the Clipboard to other application like graphical editors, text processors, and electronic tables.

 

There are three types of data that you can transfer from Shadow Analyzer to other applications:

 

 

 

 

User interface of the data transfer

 

Here we remind the commands described in the Copy to Clipboard topic.  

 

There are two sections of the Edit menu: "Set Window Size of" and "Copy To Clipboard".

 

The commands of the section "Set Window Size of" allow you to set the window size in pixels:

 

 

The commands of the section "Copy To Clipboard" allow you to copy the following contents:

 

 

 

Each copy command automatically empties the previous Clipboard contents before to copy new information.

 

 

How to paste the Clipboard contents into other applications

 

Here we repeat another important section of the Copy to Clipboard topic.

 

Once you copied something into the Clipboard, you can activate another application, find the Paste command in its menu, and implement it. If the application has the shortcut keys CTRL+V for this action, you can use your keyboard.

 

The Paste command is very simple for images. Once you copied the image into the Clipboard, open for example the MS Photo Editor, open its Edit menu, and use the command "Paste as New Image".

 

To implement the Paste command for text and tables copied from Shadow Analyzer, keep the following rules.

 

We use the TAB-separated table format, when we copy tables into the Clipboard. It means that each table row is copied as a text line, where the cells of the original table are TAB-separated to correspond to the table columns. The first row contains the column names.

 

Note that some "solar" windows contain a mixture of the plane text lines and tables. The line with the table title stands before the table, and does not belong to the TAB-separated format of the table.

 

When you paste a table from the Clipboard into the MS Excel table, it allocates the rows and columns automatically, while each plane text line occupies the first cell of a separate row of the Excel table.

 

When you paste the table contents from the Clipboard into the MS Word document, it represents the table firstly as a text with the TAB-separated cells, but without any graphical lines or borders between rows and columns. To transform this text into the table with borders, you need to select precisely the table inside the Word document, and then use the command "Table"/"Insert"/"Table..." of the MS Word menu. Do not include the table title line in the selected fragment (but include the line with the column names).

 

Practical example

 

Note, here we use some screen shots from the previous version of our software. We can do it, because the data transfer options do not depend on the contents of the transferred information.

 

Working with images

 

The following screen shots show the images of the "Solar Table" and "Solar Year" windows. The "Table" window displays the numerical data of the function curves of the "Year" window.

 

   

 

Both the images were copied into Clipboard with the command "Solar Wnd/Tab in Frame".

 

Firstly, we activated the "Table" window of Shadow Analyzer and implemented the command "Solar Wnd/Tab in Frame" of the section "Copy To Clipboard" of the Edit menu of Shadow Analyzer. Then we opened the MS Photo Editor, and implemented the command "Paste as New Image" of its Edit menu. Then (working in the MS Photo Editor) we saved the image in a file of the PNG format. Finally, we opened the "HelpScribble" editor and inserted the PNG image file into the HTML Help file (or into the Web Help file), just one of which you are reading now.

 

Then we repeated the same procedure with the "Year" window of Shadow Analyzer. 

 

Working with text and tables

 

The following screen shot shows how the contents of the "Solar Table" windows looks after it was transferred into the Notepad. Note that it is the same "Table" window, which image we considered above.

 

 

Firstly, we activated the "Table" window of Shadow Analyzer and implemented the command "Solar Table text" of the section "Copy To Clipboard" of the Edit menu of Shadow Analyzer. Then we opened the Notepad application, and implemented the command "Paste" of its Edit menu.

 

The following screen shot shows how the legend of "Solar Year" window and the contents of the "Solar Table" window look after they were transferred into the MS Excel table.

 

 

Firstly, we activated the "Year" window of Shadow Analyzer and implemented the command "Solar Window text". Then we opened the MS Excel table, selected the cell A1, and implemented the command "Paste" of the Edit menu of MS Excel.

 

It is interesting to note that of the "Year" window legend occupies in the MS Excel cells from A1 to C21, and all the long text lines from 1 to 18 belong to the cells of the leftmost column A, while the mini-table of the legend occupies cells from A19 to C21. Just these cells (from A19 to C21) you need to select if you want to make a table inside the Word document when you are working with the MS Word application.  

 

Then, we activated the "Table" window of Shadow Analyzer and implemented the command "Solar Table text". Then we opened the same MS Excel table, selected the cell F1, and again implemented the command "Paste" of MS Excel.

 

It is interesting to note that MS Excel reformatted the column G for "Date" according to its default format settings.

 

If you are familiar with MS Excel, you can imagine how much additional information you can gain from the Shadow Analyzer calculations using its data transfer options.