IT Practical

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 12

INDEX

S.No. Practicals Page No. Teacher’s


Signature

1. Creating and editing a Template

2. Creating Table of Contents

3. Merging data source with main


document (Mail Merge)
4. Inserting and cropping image

5. Group and ungroup drawing objects

6. Creating of Subtotals

7. Data Consolidation

8. Goal Seek

9. Scenario

10. Create & Record Macro


Activity-01: Creating and editing a Template

Creating a template

1. Open a new or existing document of the type you want to make


into a template (text document, spreadsheet, drawing,
presentation).
2. Add the content and styles that you want.
3. From the main menu, choose File > Templates > Save. The
Templates dialog opens.
4. In the New template field, type a name for the new template.
5. In the Categories list, click the category to which you want to
assign the template. Click OK to save the new template.

Editing a template

1. From the main menu, choose File > Templates > Organize. The


Template Management dialog opens.
2. In the box on the left, double-click the folder that contains the
template that you want to edit. A list of all the templates contained
in that folder appears underneath the folder name.
3. Select the template that you want to edit.
4. Click the Commands button and choose Edit from the drop-down
menu.
5. Edit the template just as you would any other document. To save
your changes, choose File > Save from the main menu.
Activity-02: Creating Table of Contents

Creating a Table of Contents

Writer’s table of contents feature let us build an automated table of


contents from the headings in your document. Before we start, make
sure that the headings are styled consistently. For example, we can use
the Heading 1 style for chapter titles and the Heading 2 and Heading 3
styles for chapter subheadings.

Opening Writer's Table Of Contents Feature

1. When we create our document, use the following paragraph styles for
different heading levels (such as chapter and section headings): Heading
1, Heading 2, and Heading 3. These are what will appear in our table of
contents. We can use more levels of headings, but the default setting is
to use only the first three levels in the table of contents.
2. Place the cursor where you want the table of contents to be inserted.
3. Select Insert > Indexes and Tables > Indexes and Tables.
4. Change nothing in the Insert Index/Table dialog. Click OK.

If we add or delete text or change headings, we need to update the table


of contents. To do this:

1. Place the cursor within the table of contents.


2. Right-click and select Update Index/Table from the pop-up menu.

Protecting Against Manual Changes


To protect the table of contents from being changed accidentally, check
the Protected against manual changes check box.

Activity-03: Merging data source with main document (Mail Merge)


Create the Mail Merge

To create a mail merge letter, you need a text document that you make
the source document for your mail merge letters.
If your address data source is not registered yet, you will receive a
message.
Register Data sources
1. Select Starting document
Step 1: select "Use the current document" and click Next >.
2. Select Document type
Step 2: select "Letter" and click the Next > button.
3. Insert Address Block
Step 3: Click on "Select Address List”
A window will appear then click on create button to create new list.
Click on New button to take new fields for address. Now, save the
address list.
When all the fields are displayed as desired, click the Next > button.
4 . Create letter salutation
Step 4: check "This document should contain a salutation" and "Insert
personalized salutation".
Add "Field name" and "Field value" as shown in the screenshot.
Right below the "Preview" you can jump to the next documents to see
the corresponding preview.
Click Next >.
5. Adjust Layout of Adress Block and Salutation
Step 5: the position for the address block in the letter is displayed.
We can adjust the position of the address field according to your needs.
We exit the Mail Merge Wizard and click Finish.
You can now still manually intervene in the layout if necessary.
6. Save Outgoing document
Save the Outgoing document in the File ▸ Save menu.

The further control or the process is done via the "Mail Merge" Toolbar,
via View ▸ Toolbars ▸ Mail Merge menu

Activity-04: Inserting and cropping image


Cropping images

When we are only interested in a section of the image for the purpose of
our document, We can crop (cut off) parts of it. To start cropping the
image, right-click on it and select Picture from the pop-up menu. In the
Picture dialog box, select the Crop page.

In the Crop dialog box, you can control the following parameters:

 Keep scale / Keep image size options: when Keep scale is


selected (default), cropping the image does not change the scale of
the picture. When Keep image size is selected, cropping produces
enlargement (for positive cropping values), shrinking (for negative
cropping values), or distortion of the image so that the image size
remains constant.
 Left, Right, Top, and Bottom: the function of these boxes
changes according to the choice made between Keep
scale and Keep image size. In both cases, when a value is entered
in one of these boxes, the image is cropped by that amount. For
example, a value of 3cm in the Left box will cut 3 cm from the left
side of the picture.

Activity-05: Group and ungroup drawing objects


It is often convenient to group shapes together so that they are treated as
a single shape by Impress. A group of shapes can be formatted as if it
was a single shape, moved, rotated, deleted and so on.
To group shapes together, do as follows:
1. Select the shapes to be grouped. To do this, use the selection tool
on the drawing toolbar and draw a rectangle around the shapes to
be grouped, or click on each shape to be added to the group while
pressing the Shift key.
2. When the green resizing handles show, select Format > Group >
Group or press Control+Shift+G on the keyboard.
Once the group is defined, click on any of the shapes in the group to
select the group. To edit only the elements of the group, press F3 when
the group is selected or select Format > Group > Enter group from the
menu bar..
To ungroup objects:

1. Select the group of shapes.


2. When the green resizing handles show, select Edit > Format >
Group > Ungroup from the menu bar.

Activity-06: Creating of Subtotals

SUBTOTAL is a function listed under the Mathematical category when


you use the Function Wizard (Insert > Function). Because of its
usefulness, the function has a graphical interface accessible from Data >
Subtotals.
As the name suggests, SUBTOTAL totals data arranged in a array—that
is, a group of cells with labels for columns.
To insert subtotal values into a sheet:

1. Ensure that the columns have labels.


2. Select the range of cells that you want to calculate subtotals for,
and then choose Data > Subtotals.
3. In the Subtotals dialog, in the Group by list, select the column by
which the subtotals need to be grouped. A subtotal will be
calculated for each distinct value in this column.
4. In the Calculate subtotals for box, select the columns containing
the values that you want to create subtotals for. If the contents of
the selected columns change later, the subtotals are automatically
recalculated.
5. In the Use function box, select the function that you want to use to
calculate the subtotals.
6. Click OK.

Activity-07: Data Consolidation

Data Consolidation allows you to gather together your data from


separate worksheets into a master worksheet. In other words, the
Data Consolidation function takes data from a series of worksheets
or workbooks and summaries it into a single worksheet that we
can update easily.

Steps for Data Consolidation:

1) Open the document that contains the cell ranges to be consolidated.


2) Choose Data > Consolidate to open the Consolidate dialog
3) If the Source data range list contains named ranges, we can select a
source cell range to consolidate with other areas
4) Click Add. The selected range now appears on the Consolidation
ranges list.
5) Select additional ranges and click Add after each selection.
6) Specify where you want to display the result by selecting a target
range from the Copy results to box.
7) Select a function from the Function list such as AVERAGE, MIN,
MAX etc.
8) Optionally click more in the Consolidate dialog to display additional
settings.
Select Link to source data, Under Consolidate by, select either Row
labels or Column Labels.
9) Click OK to consolidate the ranges.

Activity-08: Scenarios 
Scenarios are a tool to test “what-if” questions.
Use Tools > Scenarios to enter variable contents—scenarios—in the
same cell. Each scenario is named, and can be edited and formatted
separately, and chosen from a drop-down list in the Navigator and the
title bar of the scenario. When we print the spreadsheet, only the
contents of the currently active scenario is printed.
By adding a scenario, you can quickly change the arguments of a
formula and view the new results. For example, if we wanted to
calculate different interest rates on an investment, we could add a
scenario for each interest rate, and quickly view the results
Creating scenarios
To create a scenario, select all the cells that provide the data for the
scenario.

1. Select the cells that contain the values that will change between
scenarios. To select multiple cells, hold down the Ctrl key as you
click each cell.
2. Choose Tools > Scenarios.
3. On the Create Scenario dialog, enter a name for the new scenario.
It’s best to use a name that clearly identifies the scenario, not the
default name as shown in the illustration. This name is displayed
in the Navigator and on the title bar of the scenario on the sheet
itself.
4. Optionally add some information to the Comment box. The
example shows the default comment. This information is displayed
in the Navigator when you click the Scenarios icon and select the
desired scenario.
5. Optionally select or deselect the options in the Settings section. See
below for more information about these options.
6. Click OK to close the dialog. The new scenario is automatically
activated.

Activity-09: Goal Seek


Goal Seek: Goal seeking is the process of finding the correct input value
when only the output is known. The function of goal seek can be built
into different kinds of computer software program like open office Calc.
Goal seek Example:

To calculate annual interest (I), create a table with the values for the
capital (C), number of years (n), and interest rate (i). The formula is
I = C*n*i.

Let us assume that the interest rate r of 7.5% and the number of years n
(1) will remain constant. However, if we want to know how much the
investment capital C would have to be modified in order to attain a
particular return I. For this example, calculate how much capital C
would be required if you want an annual return of $15,000.

Steps for Goal Seek:

1. Place the cursor in the formula cell (the cell containing the interest
I), and choose Tools > Goal Seek.
2. Place the cursor in the Variable cell field. In the sheet, click in the
cell that contains the value to be changed, in this example it is the
cell with the capital value C.
3. Enter the desired result of the formula in the Target value field. In
this example, the value is 15000.
4. Click OK. A dialog appears informing you that the Goal Seek was
successful. Click Yes to enter the result in the cell with the variable
value.

Activity 10: Create & Record Macro


The following steps create a macro that performs paste special with
multiply.

1. Open a new spreadsheet.


2. Enter numbers into a sheet.

3. Select cell A3, which contains the number 3, and copy the value to
the clipboard.
4. Select the range A1:C3.
5. Use Tools > Macros > Record Macro to start the macro recorder.
The Record Macro dialog is displayed with a stop recording
button.
6. Use Edit > Paste Special to open the Paste Special dialog.

7. Set the operation to Multiply and click OK. The cells are now


multiplied by 3.
8. Click Stop Recording to stop the macro recorder. The
OpenOffice.org Basic Macros dialog opens.
9. Select the current document. For this example, the current Calc
document is Untitile1. Existing documents show a library named
Standard. This library is not created until the document is saved, or
the library is needed, so at this point your new document does not
contain a library..

10. Click New Module. If no libraries exist, then the Standard


library is automatically created and used. In the New Module
dialog, type a name for the new module or leave the name as
Module1.

11. Click OK to create a module named Module1. Select the


newly created Module1, enter the macro name Paste Multiply and
click Save.

You might also like