home *** CD-ROM | disk | FTP | other *** search
/ Freelog 65 / Freelog065.iso / BAS / Bureautique / Gnumeric / gnumeric-1.3.92-rc1.exe / graphics-overview.xml < prev    next >
Text File  |  2004-11-01  |  19KB  |  489 lines

  1.  
  2. <sect1 id="sect-graphical-overview">
  3.   <title>The basics of Graphical Elements</title>
  4.  
  5.   <para>
  6.     <application>Gnumeric</application> provides several types of
  7.     graphical elements which can be added to a worksheet. The
  8.     creation, manipulation and deletion of these elements all occur in
  9.     similar ways. When these elements are part of a worksheet, they
  10.     all "float" above the cell grid, possibly hiding data in the cells
  11.     underneath.
  12.   </para>
  13.  
  14.   <para>
  15.     <application>Gnumeric</application> currently displays four
  16.     different types of graphical elements: data graphs, images,
  17.     widgets, and drawings. Data graphs allow users to present
  18.     worksheet data visually in charts containing several kinds of
  19.     plots including pie plots, bar and column plots, and
  20.     scatterplots. Images in many standard computer formats can be
  21.     added to a worksheet. Graphical user interface widgets can also be
  22.     added to a worksheet and connected to the values contained in
  23.     worksheet cells. Drawings allow users to add simple graphical
  24.     elements on top of a worksheet including lines, arrows and simple
  25.     polygons.
  26.   </para>
  27.  
  28.   <figure id="fig-gnumeric-graphical-elements">
  29.     <title>
  30.       The four types of graphical elements.
  31.     </title>
  32.     <screenshot>
  33.       <mediaobject>
  34.         <imageobject>
  35.           <imagedata fileref="figures/graphical-elements.png" 
  36.               format="PNG" />
  37.         </imageobject>
  38.         <textobject>
  39.           <phrase>
  40.              An image of <application>Gnumeric</application> showing
  41.              the four types of graphical elements which can be added
  42.              to a worksheet: a data graph with a column plot, an image
  43.              showing a map of France, a scrollbar which can be
  44.              used to alter the value in cell "I6", and a drawing
  45.              element: a red arrow.
  46.           </phrase>
  47.         </textobject>
  48.     <caption>
  49.       <para>
  50.             The four types of graphical elements which can be added to
  51.             a worksheet: a data graph with a column plot, an image
  52.             showing a map of France, a scrollbar which can be
  53.             used to alter the value in cell "I6", and a red arrow drawing
  54.             element.
  55.           </para>
  56.     </caption>
  57.       </mediaobject>
  58.     </screenshot>
  59.   </figure>
  60.  
  61.   <para>
  62.     The various graphical elements which can be added to a
  63.     <application>Gnumeric</application> worksheet all behave in
  64.     similar ways. The graphical elements all "float" above the cells
  65.     in the cell grid and may obscure the contents of the cells
  66.     behind, without affecting the contents of these hidden cells. All
  67.     graphical elements are added in essentially the same way by
  68.     selecting the element to add and then using the mouse, either with
  69.     a simple click to place the element with a default size or with a
  70.     click and drag to select the area of the worksheet to be covered
  71.     by the element. These objects are moved or re-sized by clicking on
  72.     the object with the primary mouse button and using the object
  73.     body, border and "handles" (the small circles which appear at the
  74.     corners and in the middle of each side) to manipulate the
  75.     object. All of these objects will present a context menu through
  76.     which to change the properties of the object, to save the object
  77.     as an image, to change the stacking order (which graphical
  78.     elements are in front of others), or to delete the object. Each of
  79.     these operations will be summarized below and then explained in
  80.     greater detail in the sections which follow.
  81.   </para>
  82.  
  83.  
  84.   <sect2 id="sect-graphical-overview-adding">
  85.     <title>Adding Graphical Elements</title>
  86.  
  87.     <para>
  88.       All graphical elements are added in similar ways which differ
  89.       only in the original selection and configuration of the
  90.       element. Data graphs are added using the <interface>Graph
  91.       Guru</interface>, which is invoked either through the
  92.       <guimenu>Insert</guimenu> menu or with the toolbar button, to
  93.       define the properties of the graph. Images are added using the
  94.       <guimenu>Insert</guimenu> menu
  95.       <guimenuitem>Image...</guimenuitem> menu entry, selecting the
  96.       name of the file with the appropriate image and clicking on the
  97.       <guibutton>Open</guibutton> button. Widgets and drawing elements
  98.       are added by selecting the appropriate button on the object
  99.       toolbar.
  100.     </para>
  101.  
  102.     <para>
  103.       After any of these steps, the mouse cursor will change into a
  104.       thin cross-hair cursor, <inlinemediaobject>
  105.             <imageobject>
  106.               <imagedata fileref="figures/pointer_cross_hair.png" />
  107.             </imageobject>
  108.             <textobject>
  109.               <phrase>An image of the thin cross hair mouse pointer.</phrase>
  110.             </textobject>
  111.            </inlinemediaobject>,
  112.       when the mouse pointer is placed over the cell grid area.
  113.     </para>
  114.  
  115.     <para>
  116.       The graphical element can be placed in the workbook by moving
  117.       the cursor onto the worksheet and clicking once with the primary
  118.       mouse button. The graphical element will appear at its default
  119.       size with the top right hand corner defined by the position of the
  120.       mouse cursor.
  121.     </para>
  122.  
  123.     <para>
  124.       Alternatively, the graphical element can both be placed on the
  125.       worksheet and have its size determined which is done by
  126.       click-dragging with the mouse. When the cursor has changed to
  127.       the thin cross-hair, the graphical element can be inserted by
  128.       moving the pointer over the worksheet to determine one of the
  129.       corners of the resulting element, clicking and holding the
  130.       primary mouse button, dragging the pointer to the opposite
  131.       corner, and releasing the mouse button. The graphical element
  132.       will then appear between the place where the primary mouse
  133.       button was pressed and the place the button was released.
  134.     </para>
  135.  
  136.   </sect2>
  137.  
  138.  
  139.   <sect2 id="sect-graphical-overview-selecting">
  140.     <title>Selecting Graphical Elements</title>
  141.  
  142.     <para>
  143.       Selecting the graphical element requires placing the mouse
  144.       pointer over the element and then clicking the primary mouse
  145.       button. <application>Gnumeric</application> indicates the
  146.       element is selected by drawing eight 'grab handles' around the
  147.       element; these are small circles at the four corners and in the
  148.       middle of the four edges of a rectangle surrounding the
  149.       graphical element.
  150.     </para>
  151.  
  152.   <figure id="fig-gnumeric-graphical-elements-selectd">
  153.     <title>
  154.       A graphical element which has been selected.
  155.     </title>
  156.     <screenshot>
  157.       <mediaobject>
  158.         <imageobject>
  159.           <imagedata fileref="figures/graphical-elements-selected.png" 
  160.               format="PNG" />
  161.         </imageobject>
  162.         <textobject>
  163.           <phrase>
  164.              An image of several graphical elements of which one has
  165.              been selected, and is therefore showing its grab handles.
  166.       </phrase>
  167.         </textobject>
  168.     <caption>
  169.       <para>
  170.             The graphical column plot has been selected as evidenced
  171.             by the eight small circular 'grab handles' at the corners
  172.             and in the middle of each edge.
  173.           </para>
  174.     </caption>
  175.       </mediaobject>
  176.     </screenshot>
  177.   </figure>
  178.  
  179.  
  180.     <para>
  181.       The mouse pointer will also change shape when placed over a
  182.       selected element or over the element's 'grab handles'. When the
  183.       pointer is placed over a selected element, the mouse pointer
  184.       will change to the 'move' shape, <inlinemediaobject>
  185.             <imageobject>
  186.               <imagedata fileref="figures/pointer_four_way_arrow.png" />
  187.             </imageobject>
  188.             <textobject>
  189.               <phrase>An image of the move mouse pointer.</phrase>
  190.             </textobject>
  191.            </inlinemediaobject>;
  192.       when the pointer is placed over the element's 'grab handles' it
  193.       will change to one of the resizing mouse pointer shapes, which
  194.       are presented in <xref linkend="sect-gui-mouse" />.
  195.     </para>
  196.  
  197.     <note>
  198.       <para>
  199.         Some elements, such as the widget scrollbars, may be difficult
  200.         to select because they interact themselves with the primary
  201.         mouse button. An alternative selection process, which involves
  202.         first invoking the context menu and then dismissing it, can be
  203.         used for these elements and will work with any graphical
  204.         element. When the mouse pointer is anywhere over the graphical
  205.         element, clicking with one of the secondary mouse buttons will
  206.         cause the element to be selected and a context menu to appear.
  207.         If the primary mouse button is then pressed while the pointer
  208.         is anywhere over the desktop other than over the menu, the
  209.         context menu will be dismissed but the element will stay
  210.         selected.
  211.       </para>
  212.     </note>    
  213.  
  214.   </sect2>
  215.  
  216.  <sect2 id="sect-graphical-overview-moveNresize">
  217.     <title>Moving and Resizing Graphical Elements</title>
  218.  
  219.     <para>
  220.       Graphical elements can be moved from their original location on
  221.       the worksheet or can be changed in size or shape. All of these
  222.       operations first require selecting the graphical element with
  223.       the primary mouse button and then using this mouse button and
  224.       the mouse pointer to manipulate the element.
  225.     </para>
  226.  
  227.  
  228.     <sect3 id="sect-graphical-overview-moveNresize-mouse">
  229.       <title>Moving elements with the mouse</title>
  230.  
  231.     <para>
  232.       Moving the graphical element can be performed by first selecting
  233.       the graphical element, then placing the mouse pointer over the
  234.       element which will change it to the 'move' mouse shape,
  235.         <inlinemediaobject>
  236.             <imageobject>
  237.               <imagedata fileref="figures/pointer_four_way_arrow.png" />
  238.             </imageobject>
  239.             <textobject>
  240.               <phrase>An image of the move mouse pointer.</phrase>
  241.             </textobject>
  242.            </inlinemediaobject>,
  243.       clicking and holding the primary mouse button and moving the
  244.       mouse pointer to a new location. As the mouse is moved with the
  245.       primary mouse button held down, the graphical element will move
  246.       along with the mouse cursor. When the mouse button is released,
  247.       the object will stay in its new location.
  248.     </para>
  249.  
  250.     </sect3>
  251.  
  252.     <sect3 id="sect-graphical-overview-moveNresize-move-keys">
  253.       <title>Moving elements with the arrow keys</title>
  254.  
  255.       <para>
  256.         Once they are selected, graphical elements can be moved with
  257.         the arrow keys on the keyboard. The movement can be made in
  258.         smaller increments if the <keycap>Ctrl</keycap> key is held
  259.         simultaneously. 
  260.       </para>
  261.  
  262.     </sect3>
  263.  
  264.     <sect3 id="sect-graphical-overview-moveNresize-resize">
  265.       <title>Resizing and reshaping elements</title>
  266.  
  267.     <para>
  268.       Changing the size or shape of the graphical element can be
  269.       performed by selecting the graphical element, placing the mouse
  270.       pointer over one of the 'grab handles' at the corners or edges
  271.       of the rectangular box around the element, which will cause the
  272.       mouse pointer to change shape to one of the resize pointers,
  273.       clicking and holding with the primary mouse button, dragging the
  274.       corner or edge to a new position, and releasing the mouse
  275.       button. If one of the corner 'grab handles' is used, the
  276.       graphical element can be altered into any new rectangular
  277.       shape and size. If one of the edge handles is used, the element
  278.       can only be reshaped perpendicular to the chosen edge.
  279.     </para>
  280.  
  281.     </sect3>
  282.  
  283.   </sect2>
  284.  
  285.  
  286.   <sect2 id="sect-graphical-overview-contextmenu">
  287.     <title>Invoking the Context Menu for Graphical Elements</title>
  288.  
  289.     <para>
  290.       Many operations on graphical elements, including changing their
  291.       internal properties, saving elements as images, modifying the
  292.       stacking order of the elements, and deleting the elements, are
  293.       performed through the context menu. The context menu appears
  294.       when the mouse pointer is placed over the graphical element and
  295.       one of the secondary mouse buttons is clicked. When the mouse
  296.       pointer moves over a graphical element, it will change from the
  297.       usual wide cross cursor to a right pointing arrow
  298.       cursor. Clicking with the primary mouse button will select the
  299.       graphical element but clicking with one of the other mouse
  300.       buttons will open the context menu. The specific button that
  301.       will trigger this menu depends on the specific hardware and
  302.       configuration of the computer. By default it is usually the
  303.       rightmost mouse button.
  304.   </para>  
  305.  
  306.   <figure id="fig-gnumeric-graphical-overview-contextmenu">
  307.     <title>
  308.       The context menu for graphical elements.
  309.     </title>
  310.     <screenshot>
  311.       <mediaobject>
  312.         <imageobject>
  313.           <imagedata fileref="figures/menu-context-graph.png" 
  314.               format="PNG" />
  315.         </imageobject>
  316.         <textobject>
  317.           <phrase>
  318.              An image of <application>Gnumeric</application> showing
  319.              the context menu of a graph element.
  320.           </phrase>
  321.         </textobject>
  322.     <caption>
  323.       <para>
  324.             The context menu for graph elements is the most
  325.             complete. It includes an entry to modify the internal
  326.             properties of the graph, an entry to save the graph as an
  327.             image, four entries to reorder the stacking of the graph
  328.             in front or behind other graphs and one entry to delete
  329.             the graph.
  330.           </para>
  331.     </caption>
  332.       </mediaobject>
  333.     </screenshot>
  334.   </figure>
  335.  
  336.  
  337.   </sect2>
  338.  
  339.  
  340.   <sect2 id="sect-graphical-overview-modifing">
  341.     <title>Modifying Graphical Elements</title>
  342.  
  343.     <para>
  344.       Many of the graphical elements have internal properties which
  345.       can be changed. This includes the contents of a particular
  346.       graph, the association of a widget and the contents of a
  347.       spreadsheet cell, or the characteristics of a drawing
  348.       element. These properties can be altered using the
  349.       <guimenuitem>Properties...</guimenuitem> menu item in the
  350.       context menu which appears when the mouse pointer is placed over
  351.       the graphical element and one of the secondary mouse buttons is
  352.       clicked. After the context menu appears, clicking on this menu
  353.       item will open up a dialog allowing the user to alter the
  354.       properties of the element. Since these properties are specific
  355.       to each element, these dialogs will be discussed in each of the
  356.       sections below.
  357.     </para>
  358.  
  359.   </sect2>
  360.  
  361.   <sect2 id="sect-graphical-overview-saving">
  362.     <title>Saving Graphical Elements as Images</title>
  363.  
  364.     <para>
  365.       Some of the graphical elements, the data graphs and the image
  366.       elements, provide an item in the context menu which allows the
  367.       element to be saved to a file containing only an image of that
  368.       element. Graphical plots can be saved in Scalable Vector
  369.       Graphics (SVG), Portable Network Graphics (PNG) or JPEG
  370.       formats. Images can be saved to their original format, or to PNG
  371.       and JPEG formats. 
  372.     </para>
  373.  
  374.     <para>
  375.       Elements which can be saved as images can be output to a file
  376.       using an entry in the element's context menu. First the context
  377.       menu must be invoked by placing the mouse pointer over the
  378.       graphical element and clicking with one of the secondary mouse
  379.       buttons. Next the <guimenuitem>Save as Image</guimenuitem> or
  380.       the <guimenuitem>Save as</guimenuitem> menu items must be
  381.       selected by placing the mouse pointer over that item and
  382.       clicking with the primary mouse pointer. This will open up the
  383.       <interface>Save As</interface> dialog which will allow the user
  384.       to name the file which will be created, select where the file
  385.       will be created, select the file type to use for the image and
  386.       then generate the file.
  387.     </para>
  388.  
  389.   </sect2>
  390.  
  391. <!-- TODO: explain the image object Save As dialog better. -->
  392.  
  393.  
  394.   <sect2 id="sect-graphical-overview-restacking">
  395.     <title>Restacking Graphical Elements</title>
  396.  
  397.     <para>
  398.       Graphical elements can overlap when they are placed over the
  399.       cell grid area. Conceptually, each graphical element occupies
  400.       one layer in a stack of all the elements. By default, elements
  401.       which have been created more recently will overlap in front of
  402.       elements which were created earlier.
  403.     </para>
  404.  
  405.   <figure id="fig-gnumeric-graphical-overview-stacking">
  406.     <title>
  407.       Stacked graphical elements.
  408.     </title>
  409.     <screenshot>
  410.       <mediaobject>
  411.         <imageobject>
  412.           <imagedata fileref="figures/graphical-elements-stacked.png" 
  413.               format="PNG" />
  414.         </imageobject>
  415.         <textobject>
  416.           <phrase>
  417.              An image of <application>Gnumeric</application> showing
  418.              stacked graphical element.
  419.           </phrase>
  420.         </textobject>
  421. <!--    <caption>
  422.       <para>
  423.           </para>
  424.     </caption>
  425. -->
  426.       </mediaobject>
  427.     </screenshot>
  428.   </figure>
  429.  
  430.     <para>
  431.       The order of each element in the stack can be changed using the
  432.       four menu items in the context menu. The
  433.       <guimenuitem>Top</guimenuitem> will bring the selected element
  434.       in front of all the other objects. The
  435.       <guimenuitem>Up</guimenuitem> menu item will bring the selected
  436.       element forward one layer.  Conversely, the
  437.       <guimenuitem>Down</guimenuitem> menu item will move the selected
  438.       element one layer towards the back, and the
  439.       <guimenuitem>Bottom</guimenuitem> menu item will palace the
  440.       selected element at the very back of the stack of
  441.       elements. Jointly, these menu items allow the user to specify
  442.       exactly which order in which the graphical elements should appear.
  443.     </para>
  444.  
  445.     <warning>
  446.       <para>
  447.         The stacking of graphical elements in version 1.3 of
  448.         <application>Gnumeric</application> is currently not working
  449.         correctly. Widget elements are always placed above the other
  450.         elements and do not honor the same ordering scheme as the rest
  451.         of the elements. A large amount of work will be required to
  452.         fix this and a decision has been made to ignore this problem
  453.         until the developers have the time to fix this problem
  454.         correctly.
  455.       </para>
  456.     </warning>
  457.  
  458.   </sect2>
  459.  
  460.  
  461.   <sect2 id="sect-graphical-overview-deleting">
  462.     <title>Deleting Graphical Elements</title>
  463.  
  464.     <para>
  465.       All of the graphical elements in
  466.       <application>Gnumeric</application> can be deleted using the
  467.       context menu. Deleting a graphical element will never alter the
  468.       data contents of the cells in the workbooks.
  469.     </para>
  470.  
  471.     <para>
  472.       Deleting a graphical element requires using the context
  473.       menu. First the mouse pointer must be placed over the graphical
  474.       element. Next, the context menu must be invoked by clicking with
  475.       one of the secondary mouse buttons. Finally, the
  476.       <guimenuitem>Delete</guimenuitem> menu item must be selected by placing
  477.       the mouse pointer over this menu item and clicking with the
  478.       primary mouse button. When this menu item is selected, the
  479.       graphical element will disappear from the worksheet and will not
  480.       be saved as part of the spreadsheet file the next time the file
  481.       is saved.
  482.     </para>
  483.  
  484.   </sect2>
  485.  
  486.  
  487. </sect1>
  488.  
  489.