public static class

Convert.ExcelOutputOptions

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.Convert.ExcelOutputOptions

Class Overview

A class containing options common to toExcel functions

Summary

Public Constructors
ExcelOutputOptions()
Creates a ExcelOutputOptions object with default settings
Public Methods
void setLanguage(Convert.OutputOptionsOCR.LanguageChoice language)
Specifies the OCR language.
void setNonTableContent(boolean non_tables)
Specifies whether to convert non-tabular content.
void setPDFPassword(String password)
Specifies the password if the PDF requires one.
void setPages(int page_from, int page_to)
Specifies a range of pages to be converted.
void setSingleSheet(boolean single_sheet)
Specifies whether to combine all tables into a single sheet.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ExcelOutputOptions ()

Creates a ExcelOutputOptions object with default settings

Public Methods

public void setLanguage (Convert.OutputOptionsOCR.LanguageChoice language)

Specifies the OCR language. Default is automatic language detection.

Parameters
language the OCR language.

public void setNonTableContent (boolean non_tables)

Specifies whether to convert non-tabular content. Default is false.

Parameters
non_tables If false, only tabular content is converted to Excel. If true, all textual content is converted to Excel.

public void setPDFPassword (String password)

Specifies the password if the PDF requires one.

Parameters
password the PDF password, if required; an empty string otherwise.

public void setPages (int page_from, int page_to)

Specifies a range of pages to be converted. By default all pages are converted. The first page has the page number of 1.

Parameters
page_from the first page to be converted.
page_to the last page to be converted (inclusive). Use a negative value to specify the last page in the PDF.

public void setSingleSheet (boolean single_sheet)

Specifies whether to combine all tables into a single sheet. Default is false.

Parameters
single_sheet If false, each logical table goes to a separate Excel sheet. If true, all logical tables are combined into a single Excel sheet.