/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.triz.util;

import java.io.IOException;
import java.nio.file.Path;
import java.nio.file.Paths;

//import com.aspose.pdf.*;

/**
 *
 * @author Lenovo ideapad 110
 */
public class OnvertPdfToExcel {

    private static Path _dataDir;
    private static String pdfFileName;

    public static void ConvertPDFtoExcelAdvanced_SaveXLSX(String pathfile, String filename) {
        _dataDir = Paths.get(pathfile);
        pdfFileName = filename;
        // Load PDF document
//        Document pdfDocument = new Document(_dataDir +"/"+ pdfFileName);
//        // Instantiate ExcelSave Option object
//        ExcelSaveOptions excelsave = new ExcelSaveOptions();
//        excelsave.setInsertBlankColumnAtFirst(false);
//        excelsave.setMinimizeTheNumberOfWorksheets(true);
//        // Save the output in XLS format
//        pdfDocument.save(pathfile+"/PDFToXLS_out.xls", excelsave);
    }

}
