/* 
 * Copyright 2001-2013 Aspose Pty Ltd. All Rights Reserved.
 *
 * This file is part of Aspose.Cells. The source code in this file
 * is only intended as a supplement to the documentation, and is provided
 * "as is", without warranty of any kind, either expressed or implied.
 */
 
package programmersguide.asposecells.workingwithfiles.utilityfeatures.excel2pdfconversion.java;

import com.aspose.cells.*;

public class Excel2PDFConversion
{
    public static void main(String[] args) throws Exception
    {
        // The path to the documents directory.
        String dataDir = "src/programmersguide/asposecells/workingwithfiles/utilityfeatures/excel2pdfconversion/data/";

        Workbook workbook = new Workbook(dataDir + "Book1.xls");

        //Save the document in PDF format
        workbook.save(dataDir + "OutBook1.pdf", SaveFormat.PDF);

        // Print message
        System.out.println("Excel to PDF conversion performed successfully.");
    }
}





@@ -1,12 +1,11 @@
 /* 
-%0D
 %0A * Copy
@@ -60,13 +60,11 @@
 ved.
-%0D
 %0A *
-%0D
 %0A * 
@@ -126,17 +126,16 @@
 his file
-%0D
 %0A * is o
@@ -200,17 +200,16 @@
 provided
-%0D
 %0A * %22as 
@@ -275,17 +275,14 @@
 ied.
-%0D
 %0A */
-%0D
 %0A 
-%0D
 %0Apac
@@ -373,19 +373,17 @@
 on.java;
-%0D%0A%0D
+%0A
 %0Aimport 
@@ -401,19 +401,17 @@
 cells.*;
-%0D%0A%0D
+%0A
 %0Apublic 
@@ -439,12 +439,10 @@
 sion
-%0D
 %0A%7B
-%0D
 %0A   
@@ -501,16 +501,14 @@
 tion
-%0D
 %0A    %7B
-%0D
 %0A   
@@ -551,17 +551,16 @@
 rectory.
-%0D
 %0A       
@@ -671,19 +671,17 @@
 /data/%22;
-%0D%0A%0D
+%0A
 %0A       
@@ -737,19 +737,17 @@
 1.xls%22);
-%0D%0A%0D
+%0A
 %0A       
@@ -780,17 +780,16 @@
 F format
-%0D
 %0A       
@@ -845,19 +845,17 @@
 at.PDF);
-%0D%0A%0D
+%0A
 %0A       
@@ -871,17 +871,17 @@
  message
-%0D
+.
 %0A       
@@ -955,24 +955,17 @@
 .%22);
-%0D
 %0A    %7D
-%0D
 %0A%7D
-%0D%0A%0D%0A%0D%0A%0D%0A%0D
+%0A%0A%0A%0A
 %0A

remove previous large sized commits 1