Monday 29 April 2013

Adding different headers and footers to different pages - in Word 2007



First of all you need to add the section breaks, so that you can clearly add different headers and footers for different sections.
This is the way to add section breaks to your document.
Click on the page that you want to END a section.
Go to Page Layout ribbon and select Breaks from Page Setup panel.


Select Next Page from the option tiles.


Now you have sectioned your document.
You can check whether you have done your task correctly. For this purpose, click on each page. Then examine the bottom right of your word document. So you can see the section you are in. 

I'm in Section: 2. See below.



Now you can start to add and edit your headers and footers. I'll give an example to add different headers. Adding different footers are done similarly.

Go to Insert ribbon, find Header panel and select Edit Header.
Try to add a general header, so that it will appear in every section you have created.


Go to Page Layout ribbon. From the Page Setup panel, click on the little arrow with the square.


You will land at the page setup window. Go to Layout tab in the Page Setup window.

You can select Different first page check box from the headers and footers and choose From this point forward to separately add a header to the document.

Or else here is a more clear way. You can click on the header in each section and select This Section from the Layout tab at the Page Setup window.



Now you can modify your header according to the sections you have already created. Click on the header in each section and edit the header accordingly. And remember to deselect the Link to Previous button before editing the header for each section.


So now you have completed the task !!!

Wednesday 17 April 2013

Adding Executable Buttons to PDFs


You can use Adobe Acrobat 8 or 9 to work with buttons. I have used images related to Adobe Acrobat 8 in this post.

Initially you need to complete your document in MS Word and convert it to a PDF. If you are facing problems in converting your word document with Adobe Acrobat, then simply use the pdf converter plugin downloaded from Microsoft site to complete this task.

Open your pdf document and follow the steps below.

Go to Tools--> Forms --> Button Tool






Draw a rectangle or square at the place where you need to have the button on pdf document.

The Button property box will appear when the drawing is finished.





Properties in General tab

Give a unique name to button Name, which is going to be the identifier for the button. Remember that this is not going to be the button label. 

Tooltip can be used to add a caption to the button. So that, the Tooltip will be displayed when the mouse is pointed to the created button. 

In Form Field there are options to select, for visibility (Visible, Hidden, Hidden but printable, visible but doesn't print options are available) of the created button. 

In Orientation you can change the point of reference of the button.  

Properties in Appearance tab



Border Color, Line Thickness, Fill Color and Line Style properties can be modified using the Borders and Colors panel. 

Text panel can be used to adjust the Font Size, Text Color and Font type of the text appear in the label.

You can use non for Border Color and Fill Color and proceed without other modifications, if you are willing to use a text field or image available in the pdf document itself.


Properties in Options tab






In Options tab, we can set the Layout of the button. The selections available for Layout are as follows.

Label Only, Icon Only, Icon top label bottom, Label top icon bottom, Icon left label right, Label left icon right, Label over icon.


  • Use Icon Only, and proceed to Actions, if you need to use the already available text in the document. 
  • Use Label Only if you are not using the available text, but creating a text for the button using Label field.
  • Use Label Over Icon, if you are planning to add an Icon image to your button and a Label description as well. 
  • Other available selections can be used according to the preferences as well.

Behavior of the button can be selected from the Behavior drop down. Different States will be available under State for different behaviors.

Edit the label field available at Label to set text to the button.  Use Choose Icon button to browse and add a button image.



The button icon will display inside the field for icon as below.




Properties in Actions tab




Actions tab can be used to add actions for each and every mouse trigger.

Use Select Trigger to choose a trigger and Select Action to set a suitable action. Add button can be used to add required actions after selecting an action.

For an example choose Mouse Down as the Select Trigger and Go to a page view as the Select action. Click on Add button so that a window giving instructions to set the link will appear. Use scroll, zoom or select tools to select the target. So that when you click on the created button, you’ll be directed to the target.

Following is a simple button created in the pdf document.














Sunday 14 April 2013

Working With Adobe LiveCycle Designer

Adobe live cycle designer is usually used to create 'forms'. You can use your own form or you can use templates and modify them according to your needs. 

It is very easy to create forms for varying needs using Adobe LiveCyle Designer. I have experienced creating 'forms' using Adobe LiveCycle Designer available with Adobe Acrobat 8 and 9. So I can say it for sure that these two versions can support you with creating Adobe 'forms'.

So lets start to create a form. I am going to give examples using Adobe Acrobat 9. Whether it is Acrobat 8 or 9, you have two options to create a 'form'.

1. Using available templates.
2. Start with your own.




Click on 'New form Template' to start from a template. You will get a whole lot of templates to choose one from.Look at the list in the window below.




Select the template you want and click next to proceed. You will be taken through the available steps where you get a place to insert all the company details and ultimately creating the required form. 

You can even set the email address to forward the form, a print button to facilitate printing as shown in the window below. And lot more things after  template creation as well

Click on Finish to finish the creation.




So now you got your 'form' and you can even customize it according to your needs. Here you can see the Design view.





Click on the Preview PDF tab to preview the PDF. You will be getting a view as below.




Then you can go again to the Design tab and use Object Library as shown below to to do modifications to your 'form'. You can drag and drop objects from the object library.





You can edit the gragged and dropped objects as well. For that, first of all you have to click on the object you want to edit. Ex: Radio Button. Then go to View --> Object Editor




You will get the following view. In Adobe 8, you wont get this view. Instead you will get a nice Object Property window to proceed with editing.




So now do the changes to the objects according to your wish. Add or remove objects and try to land in your desired form.







Saturday 13 April 2013

Central Authentication Service(CAS)


CAS is a trusted way of authenticating a user. CAS provides an enterprise single sign-on protocol for a web.

What is a single sign-on protocol?

A single sign on protocol allows a user to enter a user name password once and gain access to multiple applications or systems.  So CAS enables a user of several applications to log in once, providing credentials and use all the applications or modules. From the application's side, this eliminates multiple prompts which are needed when user switches from one application to the other. 

A single sign on protocol operates very strictly with the applications which are being accessed by a web browser. It operates in a nice way.

Lets say there is a request to access a web resource which is using single-sign on. This request is initially being obstructed by a component in the web browser, or by the resource/application it self. So then what happens is that, the unauthenticated users are diverted to an authentication service and returned only after a successful authentication. 

Following are the advantages of using CAS

  • CAS has a centralized user login implementation and experience.
  • The application pool which uses the central authentication service does not know the password of the user so that there exist less opportunity for a password to be exposed by a weak application.
  • CAS offers features for proxy authentication as well.
  • Ability to enforce uniform enterprise authentication and authorization policies across a system is another advantage.
  • End to end user audit sessions to improve security reporting and auditing is another benefit.
  • Application developers are at ease as they are relieved from understanding and implementing identity security  in applications.


Image courtesy : https://confluence.ucdavis.edu/confluence/display/IETP/About+CAS

Saturday 6 April 2013

Creating Table of Content in Word 2007


Most of the time the writers start to think about adding a Table of Contents(ToC) at the completion of the document. It is not a good thing to practice. I was used to do this in past. I faced a lot of troubles since I planned at the end and ended up with adding tables and content separately. 

We need to apply built in Styles or our own creations (user defined styles) to the document as the initial step, before adding a Table of Contents. So that we have a structure and also we  are aware of the text that is going to be appeared on our ToC. 

So start the below steps when your ready with your document.

1. Click on the page to add table of contents.Go to References tab and locate Table of Contents panel.

2. Click on Table of Contents





3. You will get a menu with built in ToCs. If you have your own preferences, then these built in ToCs might not be useful to you.Still there is an option for you.  Click on Insert Table of Contents to start customizing your own.

 
Table of contents tab will be open for you to edit fields once you have selected Insert Table of Contents option.

4. Change Show levels field to increase or decrease the number of heading levels to be appeared on your ToC. The Print Preview will change accordingly, giving an idea on the ToC's appearance.



5. Use Options button to open Table of Contents Options.

If you want to remove a particular heading from the Available styles  then click on relavent TOC level text boxes and delete it. Then assign the TOC level numbers to the preferred TOC level fields.



 6. Use Modify button to change the font style appearing on the ToC. We can modify each ToC level by selecting each TOC.



 After doing all the modifications click on OK and the Table of Content will appear at the selected page.

Then what you have to do when you have updated your document with new content.Simply right click on your table of contents and select on Update field. Select from the options; Update page numbers only or Update entire table according to the requirement.