5Using Drawings, Pictures. and Graphs. Drawing in ReportSmith. Chapter

Similar documents
Drawing Tools. Drawing a Rectangle

Unit 11.Introduction to Form and Report

4Formatting and Printing. Reports. Manipulating report objects. Chapter. Resizing objects

Introducing Gupta Report Builder

The American University in Cairo. Academic Computing Services. Word prepared by. Soumaia Ahmed Al Ayyat

MET 107 Drawing Tool (Shapes) Notes Day 3

The American University in Cairo. Academic Computing Services. Excel prepared by. Maha Amer

Gloucester County Library System EXCEL 2007

Code Finix Label Designer V 1.0 User Guide

FactoryLink 7. Version 7.0. Client Builder Reference Manual

Guide to WB Annotations

Content provided in partnership with Que, from the book Show Me Microsoft Office Access 2003 by Steve JohnsonÃÃ

European Computer Driving Licence

Creating a Text Frame. Create a Table and Type Text. Pointer Tool Text Tool Table Tool Word Art Tool

Beginning PowerPoint XP for Windows

GraphWorX64 Productivity Tips

Microsoft Visio Working with Shapes

Intermediate Microsoft Office 2016: Word

File Name: Data File Pivot Tables 3 Hrs.xlsx

BusinessObjects Frequently Asked Questions

ENVI Tutorial: Introduction to ENVI

Microsoft Excel 2000 Charts

User Manual Version 1.1 January 2015

Links to Activities ACTIVITY 3.1. Links to Activities

Chapter 5 Managing Graphic Objects

Chapter 11 Graphics, the Gallery, and Fontwork

Book 5. Chapter 1: Slides with SmartArt & Pictures... 1 Working with SmartArt Formatting Pictures Adjust Group Buttons Picture Styles Group Buttons

ENVI Classic Tutorial: Introduction to ENVI Classic 2

Lesson 6 Adding Graphics

Document Editor Basics

Microsoft Excel 2010 Tutorial

Adobe InDesign CS6 Tutorial

Using Microsoft Word. Working With Objects

Table of Contents. Contents

How to create shapes. Drawing basic shapes. Adobe Photoshop Elements 8 guide

HOUR 12. Adding a Chart

Introduction to Microsoft Office PowerPoint 2010

ADOBE TRAINING CS6 PHOTOSHOP BASICS: EDITING PHOTOS & WORKING WITH TEXT - 1

Creating and Modifying Charts

3D Modeler Creating Custom myhouse Symbols

Adobe PageMaker Tutorial

Introduction to Microsoft Excel 2016

Excel 2013 Intermediate

Access Review. 4. Save the table by clicking the Save icon in the Quick Access Toolbar or by pulling

Chapter 5 Managing Graphic Objects

NUMERICAL COMPUTING For Finance Using Excel. Sorting and Displaying Data

C omputer D riving L icence

Excel Tables and Pivot Tables

Learning Word The ABCs of Microsoft Word. 8/19/2015 The Computor Tutor 1

DEVELOPING DATABASE APPLICATIONS (INTERMEDIATE MICROSOFT ACCESS, X405.5)

Microsoft Word 2007 on Windows

Microsoft Word 2010 Basics

Let s Make a Front Panel using FrontCAD

DW DIGs Model Windows Tricks

Microsoft Office Training Skills 2010

Topics Covered. Create and format a column chart Create and format a pie chart Create and format a line chart Use a trendline Insert a sparkline

Ms excel. The Microsoft Office Button. The Quick Access Toolbar

ECDL Module 6 REFERENCE MANUAL

Gloucester County Library System. Excel 2010

Statistics and Graphics Functions

Contents. CRITERION Vantage 3 Analysis Training Manual. Introduction 1. Basic Functionality of CRITERION Analysis 5. Charts and Reports 17

40. Sim Module - Common Tools

Solo 4.6 Release Notes

Working with Tables in Word 2010

Shape and Line Tools. tip: Some drawing techniques are so much easier if you use a pressuresensitive

INTRODUCTION... 1 UNDERSTANDING CELLS... 2 CELL CONTENT... 4

Microsoft Excel 2010 Basics

WinCC V4. Manual Part 2/3 C79000-G8276-C107-01

PLAY VIDEO. Fences can be any shape from a simple rectangle to a multisided polygon, even a circle.

A TUTORIAL ON WORD. Katie Gregory

JASCO CANVAS PROGRAM OPERATION MANUAL

C H R I S. Children s Registry and Information System Advanced Reports Manual. Technical Support Information

WINDOWS NT BASICS

Computer Applications Final Exam Study Guide

Getting Started Guide. Chapter 11 Graphics, Gallery, Fontwork

PowerPoint 2016 Building a Presentation

PowerPoint Tutorial 2: Adding and Modifying Text and Graphic Objects 2013

To Select a Tool: Persistence of Tools. Tools. New Graphic Tool. Do one of the following: Click a tool icon on the palette.

Microsoft PowerPoint Tutorial

Title bar: The top most bar in Word window that usually displays the document and software names.

Getting Started Guide. Chapter 11 Graphics, the Gallery, and Fontwork

Introduction to Excel 2007

Report Generator for DPOPWR

2 SELECTING AND ALIGNING

Excel 2003 Tutorial II

QDA Miner. Addendum v2.0

Microsoft Excel 2002 M O D U L E 2

Getting Started Guide. Chapter 11 Graphics, the Gallery, and Fontwork

GCSE CCEA GCSE EXCEL 2010 USER GUIDE. Business and Communication Systems

DOING MORE WITH WORD: MICROSOFT OFFICE 2010

To be able to create charts that graphically represent your worksheet data, you will: Create column charts on chart sheets by using the F11 key.

Using Charts in a Presentation 6

TSM Report Designer. Even Microsoft Excel s Data Import add-in can be used to extract TSM information into an Excel spread sheet for reporting.

Open Office Calc (Spreadsheet) Tutorial

Microsoft Excel 2010 Part 2: Intermediate Excel

Spreadsheet Concepts: Creating Charts in Microsoft Excel

Corel Draw 11. What is Vector Graphics?

Reference Services Division Presents. Microsoft Word 2

Creating Reports in Access 2007 Table of Contents GUIDE TO DESIGNING REPORTS... 3 DECIDE HOW TO LAY OUT YOUR REPORT... 3 MAKE A SKETCH OF YOUR

Clip Art and Graphics. Inserting Clip Art. Inserting Other Graphics. Creating Your Own Shapes. Formatting the Shape

Transcription:

5Chapter 5Using Drawings, Pictures Chapter and Graphs Besides system and custom report styles, ReportSmith offers you several means of achieving variety and impact in your reports, by: Drawing objects directly in ReportSmith. Displaying graphical data fields. Graphing report data. Using OLE to link or embed graphical objects in your report. Drawing in ReportSmith ReportSmith s Drawing Toolbox helps you accurately draw commonly used shapes such as lines, circles, boxes, and polygons; you can position items in back or in front of each other. You can also type text into your drawings. To open the Drawing Toolbox, choose Tools Drawing. The Drawing Toolbox appears, as shown in Figure 5.1. Figure 5.1: The Drawing Toolbox Chapter 5, Using Drawings, Pictures and Graphs 139

Using the Drawing Toolbox The following table describes the buttons in the Drawing Toolbox and their uses. Table 5.1: The Drawing Toolbox buttons Name Icon Function Arrow Select an object. Rectangle Draw a rectangle or square with 90º corners. Line Polygon Rounded Rectangle Ellipse Polyline Text Group Ungroup Bring to Front Send to Back Draw a line. Draw a closed, multi-sided figure. Draw a rectangle or square with rounded corners. Draw an ellipse or a circle. Draw a polyline figure (an open, multi-sided figure). Insert text in a text frame into a report. Group selected objects together. Ungroup selected object. Move a selected object to the front of other objects. Move a selected object to the back of other objects. Once you select a drawing tool to use, you can draw anywhere on your report headers, footers, even the data body can accept drawings. Note: If you create a drawing in one field of a column, that drawing is repeated in every field of that column, in all groups. To select a drawing object, click the Arrow tool and then select the object. To draw a rectangle or square, click the Rectangle tool and then drag the crosshair cursor to create the rectangle or square. You can use your point of origin as any corner of the rectangle: upper-right, upper-left, lower-right, or lower-left. To draw a straight line or line segment, click the Line tool and then drag the crosshair cursor. You can draw a line in any direction; you are not restricted to horizontal or vertical lines. 140 Creating Reports

To draw a closed polygon, 1 Click the Polygon tool. 2 Drag the crosshair cursor to establish a starting line. 3 Click and hold to establish the end point of the first side. 4 Repeat step 2 for each additional side. 5 Click the starting point to close the figure. or Select another tool after drawing the penultimate line of the figure. or Double-click the last point drawn, to automatically connect it to the starting point. To draw a rectangle or square with rounded corners, click the Rounded Rectangle tool and then drag the crosshair cursor to create the rectangle or square. You can use your point of origin as any corner of the rectangle: upper-right, upper-left, lowerright, or lower-left. To draw a circle or ellipse, click the Ellipse tool and then drag the crosshair cursor until the ellipse is the size and shape you want. You can draw circles and ellipses either vertically or horizontally, but not diagonally. To create an open multi-sided figure (polyline), 1 Click the Polyline tool. 2 Drag the crosshair cursor to establish a starting line. 3 Click and hold to establish the end point of the first line. 4 Repeat step 2 for each additional line. 5 Double-click the last point drawn, to tell ReportSmith you have completed the figure, and to place it in your report. To insert text, click the Text button and then click your report and begin entering text. See Chapter 4, Formatting and Printing Reports, for details on inserting and formatting text. To group graphical objects, 1 Click the Arrow tool. 2 Ctrl-click to select each object. 3 Click the Group tool. The selected graphical objects are now grouped as a single object and can be moved, copied, or deleted as such. To select an object within the group, first select the group and then select the object. Chapter 5, Using Drawings, Pictures and Graphs 141

To ungroup objects, select the group, and then click the Ungroup tool. To move graphical objects in front of other objects, select the object and then click the Bring to Front tool. If you want the object to be at the front of several layers of objects, you may need to repeat this step several times. To move graphical objects in back of other objects, select the object and then click the Send to Back tool. If you want the object to be at the back of several layers of objects, you may need to repeat this step several times. Displaying graphical data fields Note: Data is not always textual; it often takes the form of pictures, illustrations, or diagrams. For example, you might have an employee table that contains pictures of your employees, or a customer table with simple maps to each customer s location. Customarily, file names of the relevant graphics are stored in a column in the table, pointing to the directory paths and names of the graphics files. When you view the table in ReportSmith, these file names appear by default. However, you can choose to display the graphics to which they refer. To display graphical data fields, 1 Choose Tools Options. The Options dialog box appears, as in Figure 4.5 on page 119. 2 In the Picture File Search Path text box, enter the directory path where you have stored the graphics files for the table(s) in your report. If the full path name is included for each graphic filename in the table, you need not perform steps 1 and 2 above. 3 Select the column containing graphics file names, and then choose Format Display As Picture. The Display as Picture dialog box appears, as in Figure 5.2 Figure 5.2: The Display as Picture dialog box. Percentage of original graphic size for graphic display in report. File format for display in report. (Usually will match original graphic file format.) Names and displays sample of first graphic in table. 142 Creating Reports

Note: 4 Select options as appropriate and then choose OK. ReportSmith now displays the graphics represented by the file names in your report. ReportSmith bases row height on the height required for the first graphic in the table. You can adjust all of the rows by resizing the row and then the picture. All graphics in any one column must be of the same type. For example, a single column cannot contain both *.BMP and *.PCX files. Example of Graphical Fields The following example report contains two columns. The first column, Name, contains the name of a picture (or.bmp) file. The second column, Graphic, contains the file name of each picture. After using the Format Display As Picture command to set options to Windows Bitmap format and the size to 50%, the report looks like this: Chapter 5, Using Drawings, Pictures and Graphs 143

Using OLE to link or embed graphical objects Note: You can also use Object Linking and Embedding (OLE) to link or embed graphical objects in your reports. The graphic is then updated in the report whenever the original graphic file changes. An additional advantage is that you can place the linked or embedded object anywhere in the report; you are not restricted to placing it in a header or footer. The following sections in this chapter are intended only as a guide to linking or embedding graphical objects within a report. Choosing to link or embed You can add graphic files to reports by either linking or embedding the graphics. Linked and embedded graphical objects look identical and act much the same in a document. However, there is an important difference. An embedded object loses its identity as a file and becomes part of another document; a linked object maintains its identity as a separate file. Since a linked object remains a separate file, making changes to it changes it in every report to which it is linked. An embedded object, on the other hand, is changed only in the report in which you make the change, not in other reports in which it is embedded or within the original. Choose linking when: You want to be able to make changes to the original and have those changes reflected in all documents linked to that original. The graphical object is to be inserted into several reports or widely distributed. The original graphic file is likely to be frequently modified. The original graphic file is unlikely to be moved. The graphical object is large, and you will be distributing it via a network or electronic mail. You need to conserve disk space by having only one copy of the graphical object. Choose embedding when: You want to be able to make changes to the object and have those changes reflected only in one particular document. The object is to be inserted into only a few documents or will not be widely distributed. The original file is unlikely to be frequently modified. The original file is likely to be frequently moved. The object is small, or when the object is large but you will not be distributing it via a network or electronic mail. You do not need to conserve disk space by having only one copy of the object. 144 Creating Reports

Note: Choosing how to link or embed There are two ways to embed a graphical object in a report, and one way to link it: You can link or embed a graphical object by copying the object to the Clipboard and then pasting it into the report where you want it in one of two ways. You can embed a graphical object in a document by using the Insert Object command within the report. You cannot link a graphical object with this method. Using Copy and Paste to link or embed You can add a graphical object to a report by copying a graphical file to the Clipboard and then pasting it into the report. A linked or embedded graphical file becomes a graphical object within the report to which it has been added. To add a graphical object to a report using copy and paste, 1 Open both the application supplying the graphic and the report in which you want to paste the graphical object. 2 Open or create the graphical object that you want to add to the report. 3 In the graphic application, choose Edit Copy. The graphical object is copied to the Clipboard. 4 Switch to the report in which the graphical object is to be inserted and place the insertion point where you want to paste the graphical object. 5 Choose Edit Paste to embed the object. or Choose Edit Paste Link to link to the object. (This command may not be available for all objects; consult your Windows documentation for details.) A graphic must have been saved as a file before you can link it to a report. Using the Edit Paste Special dialog box When linking or embedding a graphical object by pasting, you can use the Edit Paste Special command in ReportSmith (and the resulting dialog box) to specify which file type to use for the embedded object. This can sometimes affect whether the object is static or editable. See your Windows documentation for details. You can also use the Edit Paste Special command and the resulting dialog box to specify whether the object should be linked or embedded, and whether it should be shown in its entirety or displayed as an icon representing the graphic file itself. To use the Edit Paste Special dialog box, follow steps 1 through 4 above in Using Copy and Paste to link or embed, and then choose Edit Paste Special. Set the options in the dialog box as desired, and then choose OK. Chapter 5, Using Drawings, Pictures and Graphs 145

Note: Using Insert Object to embed You can create a new graphic and embed it as a graphical object in a report by using ReportSmith's Insert Object menu command. The graphic must be created in an application that supports OLE. To add an object using the Insert Object menu command, 1 In your report, place the insertion point where you want to add the object. 2 Choose Insert Object. The Insert Object dialog box appears. 3 In the Object Type box, select the appropriate file type. 4 Choose OK. ReportSmith opens the graphics applications associated with the file type you specified. A particular graphics application only appears if you selected that application as the default OLE application for this file type during setup. This is normally done automatically by the application s installation program. 5 In your graphics application, create the graphical object you want to add to your document. 6 Choose File Update to save the changes. 7 Choose File Exit and Return. The graphical object is placed in the report at the insertion point. 8 Save your report. Editing linked or embedded graphical objects When you double-click a graphical object from within a report, the graphical object s parent application opens. If the parent application supports only OLE 1.0, the application itself opens, and you can edit the graphical object within that application before returning to ReportSmith. If the parent application supports OLE 2.0, its menu structure replaces that of ReportSmith, and you can edit the graphical object in place. To edit a graphical object from within a report, 1 In the report, double-click the graphical object. The graphical object s parent application appears or replaces ReportSmith s menu structure. 2 Edit the graphical object. 3 Choose File Save for a linked object, or choose File Update for an embedded object. 146 Creating Reports

Note: Changes to an embedded graphical object do not affect the original graphical object. Changes to a linked object are made to the original graphics file and are updated automatically in all documents that are linked to it. Graphing report data Note: ReportSmith utilizes the charting and graphing capabilities of Microsoft Graph to instantly transform report data into graphs. You can create any type of graph, including pie charts, line graphs, area graphs, column graphs, and combination graphs that you can format to suit your needs. You must have Microsoft Graph installed on your computer system to graph ReportSmith report data. If you have installed Microsoft Word or Excel, you will probably have Graph installed on your computer system, as it can be run only from within another application. ReportSmith offers three ways to create a graph: Using the Graph ribbon button. Defining a graph from scratch. Using the Crosstab pop-up menu. Graph location The location of a graph within your report controls the data included and how often the graph appears within the report. Graphs can be inserted only into headers or footers, but the specific type of header or footer determines what data is graphed. If you drop into a global region such as a page header or report footer, this creates a graph using data from the entire report, and the graph will appear in each recurrence of the header or footer. If you place the graph in a group header or footer, this creates a graph based on the data in only that group, and ReportSmith places the graph only in the group header or footer. ReportSmith places the upper-left corner of the graph wherever you click within the header or footer, regardless of whether that header/footer is global or group-specific. You can reposition or format the graph as necessary just as you would with any other report element after inserting it. Chapter 5, Using Drawings, Pictures and Graphs 147

Graphing a columnar report This method of creating a graph offers the simplest, fastest, and most straightforward means of graph creation. Use this technique with up to three columns of grouped and sorted data in columnar reports to create columnar graphs focusing on simple visual comparisons of values. Ordinarily, when graphing a columnar report, each report group becomes one data series (axis) of the resulting graph, and each column becomes the other data series (axis). For example, Figure 5.3 depicts a graph of total video sales by group the data contained in the report itself. CSTMR_NAME was selected, as an entire column, to become the horizontal data series. (Graph will, by default, place non-numerical data series along the horizontal axis of a column graph.) Each customer name, which is also each report group, then became a column grouped in a horizontal row in the graph. Likewise, TOTAL was selected to become the other data series. (By default, Graph places numerical data series as the vertical axis of a column graph, automatically detecting the highest value and creating a scale accordingly.) Because the graph was placed in a report header, the figures shown in the graph represent the report-wide total sales for each customer name. Figure 5.3: An example of a columnar-report graph 148 Creating Reports

Tip: To graph columnar report data using the visual method, 1 Select one, two, or three columns of data in a columnar report. A single-column graph will have little practical value, as there is no scale or standard against which to compare the graphed data. The number of columns you select will affect the graph types available to you, as well as the relative effectiveness of each type. For details, see online Help in Microsoft Graph. 2 Click the Graph ribbon button. The graph cursor appears. 3 Move the graph cursor to a header or footer, and then click to create and place the graph. or To cancel graph creation, click anywhere except a header or footer, or press Esc. To use Graph to define a report graph, 1 Deselect any report elements you might have selected. 2 Click the Graph ribbon button. The Graph cursor appears. 3 Click the header or footer where the graph will appear. Microsoft Graph appears. (Refer to online Help in Graph or to the relevant documentation in the application that installed Graph for detailed information on using Graph.) 4 When you have defined your report graph and data sheet, choose File Update. 5 To return to ReportSmith, choose File Exit and Return to <Report File Name>. or Click anywhere outside the Graph window. Chapter 5, Using Drawings, Pictures and Graphs 149

Note: Graphing a Crosstab The technique for graphing a crosstab is slightly different from that used to create a graph of a columnar report, because you need not define the data series within the crosstab. To graph a crosstab, 1 Select the crosstab. 2 Click the Graph ribbon button. The Graph cursor appears. 3 Move the graph cursor to a header or footer, and then click to create and place the graph. or To cancel graph creation, click anywhere except a header or footer, or press Esc. Moving, resizing, or modifying graphs Once you have created a graph, you can move it or resize it within the boundaries of the header or footer in which it was placed. You can also use Graph to edit or reformat the graph. To move a graph, click the graph to select it and then drag it to the desired location within its header or footer. To resize a graph, click the graph to select it and then drag the sizing handles until the graph no longer overlaps the header/footer boundaries. (You may need to resize the header or footer itself to show the graph at a desired size.) To edit or modify a graph, 1 Double-click the graph and then use Microsoft Graph to make modifications. As you make your changes in Microsoft Graph, you see them in your ReportSmith report. (For detailed information, see online Help in Graph or the relevant documentation for the application that installed Graph.) 2 When you have finished modifying your graph, close Microsoft Graph and then save your report to keep your changes. Because Microsoft Graph can only be run from within another application, you cannot close a ReportSmith report until you have closed Graph. 150 Creating Reports

Chapter 5, Using Drawings, Pictures and Graphs 151

152 Creating Reports

Chapter 5, Using Drawings, Pictures and Graphs 153

154 Creating Reports

Chapter 5, Using Drawings, Pictures and Graphs 155

156 Creating Reports