ElegantJ PDF Library

 

 

Installation Guide

 

Product Version 2.0

Document Version 1.0

 
 


 


Document Information

Document ID

EJPDFL-PG-0407-V1.0

Version

1.0

Date

16-Apr-07

Recipient

NA

Author

EMTPL

 

 

Statement of Confidentiality, Disclaimer and Copyright

This document contains information that is proprietary and confidential to EMTPL, which shall not be disclosed, transmitted, or duplicated, used in whole or in part for any purpose other than its intended purpose. Any use or disclosure in whole or in part of this information without express written permission of EMTPL is prohibited.

 

Any other company and product names mentioned are used for identification purpose only, and may be trademarks of their respective owners and duly acknowledged.


 

Table of Content

 

1    Installation and Registration   4

1.1    Prerequisite  4

1.2    Installation Procedure  4

1.3    Using with Different IDEs  5

1.3.1    Borland JBuilder  5

1.3.2    Sun Java Studio Creator  6

1.3.3    NetBeans  6

1.3.4    Eclipse Editor  7

1.4    Getting and Using the License Key   7

1.4.1    How to Purchase  7

1.4.2    Configuring Directly within Source Code  7

2    Product and Support Information   8


 

1       Installation and Registration

 

1.1  Prerequisite

Before installing ElegantJ PDF Library, please ensure that your computer system and development environment are setup and working as per expectations. Person evaluating ElegantJ PDF Library is expected to be able to write and execute simple Java applications.

 

We provide free pre-purchase technical support to help you complete process of evaluation. Mail to support@ElegantJPDF.com for pre-purchase technical support.

 

To be able to use ElegantJ PDF Library, the computer system is required to have -

 

Ø       An IDE that supports Java 2 or higher, or

Ø       JDK 1.2.2 or higher

 

Please note that evaluation version of ElegantJ PDF Library cannot be deployed for commercial, non-commercial or any other purpose in any possible way. You may not build any software, applets or applications for distribution with evaluation version of ElegantJ PDF Library.

 

This evaluation version is to be solely used by you to evaluate suitability of ElegantJ PDF Library for your needs. For more details please go through License Agreement.

 

1.2  Installation Procedure

On extracting EJPDFLib.zip, following directories will be created -

 

Directory [jars] contains Jar file(s)

Directory [demos] contains demo application(s) with source code

Directory [docs] contains User Guide and Java API

 

 

Installing on Windows 95/98

 

To include ElegantJ PDF in CLASSPATH, add following statement to your autoexec.bat file,

 

set CLASSPATH= %CLASSPATH%;C:\ELEGANTJPDF\jars\ejpdf.jar;

 

Restart Windows to make changes effective.

 

 

Installing on Windows NT / 2000

 

Go to Control Panel and select System. You will find environment variables on Environment tab in Windows NT systems and on Advanced tab in Windows 2000 systems.

 

Find CLASSPATH environment variable or create it.

To include ElegantJ PDF in the CLASSPATH, specify or add following value for variable -

 

[EXISTING-CLASSES]; C:\ELEGANTJPDF\jars\ejpdf.jar;

 

 

Installing on UNIX / Linux

 

Before you begin using ElegantJ PDF, you must manually configure CLASSPATH environment variable. CLASSPATH must point to the location of classes and installation directory.

 

For example, to set CLASSPATH for ElegantJ PDF,

 

 

setenv CLASSPATH.:/usr/local/ELEGANTJPDF/jars/ejpdf.jar:

 

If you are using Bourne Shell, commands are,

 

CLASSPATH= $CLASSPATH:.:/usr/local/ELEGANTJPDF/jars/ejpdf.jar:export CLASSPATH

 

1.3  Using with Different IDEs

ElegantJ PDF Library file(s) is located in the \jars\subdirectory.

 

This set of documentation contains guidelines for importing ElegantJ PDF to different IDEs.

 

ElegantJ PDF works well with any PDF compliant Integrated Development Environment (IDE).

 

1.3.1Borland JBuilder

Follow the steps given below to create a new category and install the Bean into Borland JBuilder.

 

Create a New Category

Ø       Click menu Tools > Configure Palette. It opens Palette Properties dialog box.

Ø       Click on Add button. It opens Add Page dialog box.

Ø       Specify name (e.g., ElegantJ PDF) and click on OK button.

Ø       New Category will be created.

 

Create New Library and Install/Import Bean

Ø       On Palette Properties dialog box, click on Add components tab.

Ø       Select newly created page (e.g., ElegantJ PDF).

Ø       Click on Select Library button. It opens Select a Different Library dialog box.

Ø       Click on New button. It opens New Library Wizard dialog box.

Ø       Specify name for library and click on Add button. It opens Select One or More Directories dialog box.

Ø       Select directory where jar files are located, or select jar file to be imported. Click on OK button. Dialog box will be closed and New Library Wizard dialog box appears in front.

Ø       Click on OK button on New Library Wizard dialog box. It opens Select a Different Library dialog box.

Ø       Confirm that newly created library is selected. Click on OK button. It opens Add Components under Palette Properties.

Ø       Click on Add from Selected Libraries button. It opens Results dialog box. Click on OK button.

Ø       Results dialog box disappears. Click on OK button on Palette Properties dialog box.

Ø       ElegantJ PDF Library is ready to be used.

 

1.3.2Sun Java Studio Creator

Follow the steps given below to create a new category and install ElegantJ PDF into Sun Java Studio Creator 2.

Ø       Click menu Tools>Library Manager. It opens Library Manager dialog box.

Create New Library

Click on New Library button. It opens New Library dialog box. Write a Library Name and select Component Libraries from Library Type combo box. Click OK.

 

Load Component As a Jar File

Click on Add Jar/Folder button. It opens File dialog box. Locate jar file (i.e. /ElegantJPDF/jars/ejpdf.jar), and Click on OK button. The selected jar file appears in Library Classpath List.

 

Ø       Click on OK Button.

 

Create a new Project. (e.g., ElegantJPDF)

Ø       Right click on Created Project (e.g., ElegantJPDF).

Ø       Select property.

Ø       Project Properties dialog box will open.

Ø       Select Libraries from Categories tree on left pane.

Ø       On right pane, click on Add Library.

Ø       It opens Add Library dialog box.

Ø       Select a Library from list, which is created from Library Manager.

Ø       Click on Add Library button.

Ø       Click OK button on Project Properties dialog box.

 

1.3.3NetBeans

Follow the steps given below to create a new category and install ElegantJ PDF into NetBeans IDE.

Ø       Click menu Tools > Palette Manager. It opens Palette Manager dialog box.

 

Create New Category

Ø       Click on New Category button.

Ø       It opens New Palette Category dialog box. Write a New category Name and Click on OK button to add a category name into Palette Manager.

Ø       Click on Add From Jar button. It opens Install Component to Palette dialog box.

Ø       Choose a component from Available Components list.

Ø       Click on Next button.

Ø       Locate/Choose a jar containing components (e.g., /ElegantJPDF/jars/ejpdf.jar).

Ø       Click on Next button.

Ø       Select the Palette Category to add the components.

Ø       Click on Finish button.

Ø       The component is added into the selected Palette Category.

Ø       Click on Close button.

 

1.3.4Eclipse Editor

Follow the steps given below to create a new category and install ElegantJ PDF into Eclipse Editor.

 

Create New Project (i.e. ElegantJ PDF)

Ø       Right click on created Project (right click on ElegantJ PDF). It opens Properties dialog box for Project (i.e. ElegantJ PDF)

Ø       Select Java Build Path from Left pane tree.

Ø       On right pane, click on Libraries tab and click on Add External JARs button.

Ø       It opens File dialog box, locate a jar file.

Ø       Click on OK button on File dialog box.

Ø       The located jar file is displayed into the list.

Ø       Click on OK button on Properties dialog box.

 

1.4  Getting and Using the License Key

1.4.1How to Purchase

You can purchase a license from our Web site http://www.ElegantJPDF.com. You can also contact our sales team sales@ElegantJPDF.com.

 

On purchasing a license, you will receive a mail having your license key.

 

License key can be applied to ElegantJ PDF Library using directly with the source code.

 

1.4.2Configuring Directly within Source Code

When you use the ElegantJ PDF within code, you need to set the key by providing value in setLicenseKey method.

 

Note:

Instead of typing the license key, we suggest you to copy the license key from mail and paste it at required place. Make sure that the selection does not have leading or trailing spaces.

 

ClassName object = new ClassName();
object.setLicenseKey("LICENSE_KEY");
 

 

Example

 

PDF pdf = new PDF();
pdf.setLicenseKey("LICENSE_KEY");

 


 

2       Product and Support Information

Product and Support Information:

Ø       You can find more information about ElegantJ PDF Library and its features on www.ElegantJPDF.com.

Ø       Forward your support related mails to support@ElegantJPDF.com.

Ø       Forward your sales related mails to sales@ElegantJPDF.com.

 

Feedback and Suggestions:

Ø       We will be pleased to get your feedback as well as suggestions about our product.

Ø       Forward any feedback or suggestions related mails to support@ElegantJPDF.com.