public static class

Convert.PowerPointOutputOptions

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

Class Overview

A class containing options common to toPowerPoint functions

Summary

Public Constructors
PowerPointOutputOptions()
Creates a PowerPointOutputOptions object with default settings
Public Methods
void setCustomOCRLanguage(String ocrlang)
Specifies the custom OCR languages to use.
void setLanguage(Convert.OutputOptionsOCR.LanguageChoice language)
Specifies the OCR language.
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 setPreferredOCREngine(Convert.OutputOptionsOCR.PreferredOCREngine engine)
Specifies the preferred OCR engine.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PowerPointOutputOptions ()

Creates a PowerPointOutputOptions object with default settings

Public Methods

public void setCustomOCRLanguage (String ocrlang)

Specifies the custom OCR languages to use. Use 3-letter ISO 639-2 language codes, separated by spaces. Example: "eng deu spa fra". The default is English.

Parameters
ocrlang the OCR language(s).

public void setLanguage (Convert.OutputOptionsOCR.LanguageChoice language)

Specifies the OCR language. Default is automatic language detection.

Parameters
language the OCR language.

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 setPreferredOCREngine (Convert.OutputOptionsOCR.PreferredOCREngine engine)

Specifies the preferred OCR engine.

Parameters
engine The PreferredOCREngine to use.