Introduction To Computers Lab Manual 3: University of Engineering and Technology, Taxila
Introduction To Computers Lab Manual 3: University of Engineering and Technology, Taxila
Introduction to Computers
Lab Manual 3
Microsoft Word 2016
Statement Purpose:
The objective of this lab is to cover all features of Microsoft Word 2016 Design and Layout Tab.
The Design and layout tab is where you can change the appearance of the entire Word
document.
Resources required:
1. A desktop computer
2. Microsoft Office 2016
THEMES
The first section of the Design tab is Themes. Themes is a great feature if you are typing an
elaborate document and want to use a variety of fonts and colors and then duplicating those fonts
and colors on another document or throughout a long document. A document theme is a set of
formatting choices that include a set of theme colors, a set of theme fonts that you can specify a
heading and body text font, and a set of theme affects you can choose, lines and fill effects.
Style Set:
You can save this document’s current style set and use it in other documents by right-clicking
and then clicking save.
Theme Colors:
Quickly change all the colors used in your document by picking a different color palette. This
will update the colors available to you in the color picker along with any theme colors in your
document. No matter what palette you choose, your document will look perfectly coordinated.
Theme Fonts:
Quickly change the text in your document by picking a new font set. For this to work, your text
must be formatted using the ‘body’ and ‘heading’ fonts.
Paragraph Spacing:
Quickly change the line and paragraph spacing of your document. This option will change the
spacing of your entire document including new paragraphs. You can choose between predefined
values or specify your own.
Effects:
Quickly change the general look of objects in your document. Each option uses various borders
and visual effects, such as shading and shadow, to give your objects a different look.
Page Background
Watermark
To include a watermark on the page, such as ‘Confidential’ or ‘Draft’, select Watermark from
the Page Background group and then select one of the pre-defined watermarks or Custom
Watermark to specify the text you would like to see appear as a watermark on the page.
Page Color
Allows you to change the color of document's background. This includes solid colors and fill eff-
ects (gradients, textures, patterns, and pictures).
Page Borders
Allows you to add borders around your document. There are many choices that can be made for
creating borders, such as using art, the line style, colors, the setting of it, the width, and more.
Example:
Page Border with Art and Shading:
Layout Tab:
Margins
To set the margin for your document, click on Margins and then select from the list of pre-
defined margins or click Custom Margins to enter your own margins.
Orientation
To change the page orientation of your document, click on Orientation and then select Portrait or
Landscape.
Size
To change the paper size, click on Size and then select from the list of pre-defined paper sizes or
click More Paper Sizes to enter a customized size.
Columns
To create columns within your document, click on Columns and then select from the list of pre-
defined column types or click More Columns to enter a customized column style.
Example:
Breaks: Choose different ways to jump to the next "top" area. A Page Break, for example,
will jump from your current position to the top of the next page; a Column Break will jump
from your current position to the top of the next column. And so on.
Line Numbers: You can add numbers to the side of each line, if you wish.
Hyphenation: You can have the computer break words into parts and add hyphens, to make
Justified or other-aligned text look more even.
By clicking on the dialog box button, you can get the Page Setup dialog box.
Position
To move an object one step closer to the front of the stack, click the arrow next to Bring Forward, and
then click Bring Forward.
To bring an object to the top of the stack, click the arrow next to Bring Forward, and then click Bring to
Front.
To move an object one step down within the stack, click the arrow next to Send Backward, and then
click Send Backward.
To move an object to the bottom of the stack, click the arrow next to Send Backward, and then click
Send to Back.
Selection Pane
This tool helps you find graphic objects in your document and change their visibility and order.
You can use the feature to hide, rename, reorder, and select graphics in your documents.
A. Use the given text and design the document as shown below. Marks: 5
B. Use the given text and design the document as shown below. Marks: 5
Given Text:
The critical mass of available web services, let alone semantic ones, is still quite limited today. This is an
important practical barrier for the advancement of research and innovation in this field, which is difficult
to achieve without a sufficient testbed to try and evaluate the innovations. Artificial examples (i.e. built
by the innovators themselves) hardly provide an objective basis for measuring the usefulness and
performance of new proposals, not to mention the considerable cost implied in building the testbed,
just for experimentation purposes.
The semi-automatic generation of web services, from such a widespread commodity as are web
applications, can help with this necessity, and is an interesting research problem by itself. Of course, the
expected quality of automatically generated services should not be the same as that of manually defined
ones, but we aim at achieving a sufficient quality for the services to be useful for a variety of purposes,
where of course, if needed, the generated web services can be completed or refined by a programmer.
Moreover, such a facility as we are proposing here can be helpful in the transition from the current
World Wide Web of applications to a (Semantic) Web of services.
The idea of the automatic generation of web services from web applications has already been addressed
in former research works. Because of its relevance for our research, it is worth citing the work
developed by Pham (2004), which already proposes the creation of web services from web applications.
In Pham’s proposal, web services are used only as gateways to web applications, so that any program
can invoke programmatically the functionalities provided by web applications. When the generated web
services are called, they translate their input parameters to HTTP parameters, send them to the
application server, and wait for the response.
Our work takes a step further from this, by recognizing or generating data types, finding associations of
types with ontology concepts, if any, and automatically classifying the generated services. Overall, our
research aims to push forward the goals undertaken by Pham et al towards the generation of
semantically-enhanced web service descriptions. It is also interesting to cite the early work by Sahuguet
et al (1999) in a similar direction. Although this work does not use an explicit notion of web service,
since web service standards had not yet seen the light by that time, their approach is very similar to the
one proposed by Pham. The main differences can be attributed to the status of the technology at the
time of publication – while Pham uses web service languages and tools to build a gateway to web
applications, Sahuguet et al. use non-standard descriptions (manually generated) and generate Java
applications as a gateway to the functionality.
The process flow of our approach to the generation of web services is shown in Figure 1. The input to
the automatic generation system is the entry web page of an application. The page is parsed (“HTML
parser” box in the figure) into a easier to process in-memory data structure, which is analyzed in order
to produce a WSDL description (WSDL Generator module) for the service to be generated, plus some
additional semantic descriptions (Semantics Generator module). An implementation of the WSDL service
is automatically generated (Service Implementor module) and deployed into a web service support
platform (Axis and Tomcat have been used). Once the service is deployed, it can be invoked from any
web service client that adheres to the generated WSDL description. One such client is automatically
generated for testing purposes. Calls to the generated web service (SOAP requests) are automatically
deferred to the original web application (HTTP request) by the generated service implementation. The
result (a web page source code) is returned to the service client (SOAP response). The steps enumerated
above will be explained in more detail in each of the following subsections. More precisely, in section
2.1, we explain how WSDL descriptions are extracted from the web interface of applications. In section
2.2, the linkage of web services with web application functionality, and the deployment of the service,
are described. Then, in section 2.3, we show how the execution of the generated web services is
managed.