Format

Inheritance: java.lang.Object, java.lang.Enum

public enum Format extends Enum<Format>

Fields

FieldDescription
TextSaves the result in the plain text format.
DocxSaves the result as an Office Open XML Word processing ML Document (macro-free).
PdfSaves the result as a PDF (Adobe Portable Document) Document.
XlsxSaves the result as an Excel ( 2007 and later) workbook Document.
XmlSaves the result as an XML Document.
JsonSaves the result as an plain text written in JavaScript object notation.
HtmlSaves the document as an HTML file.
EpubSaves the document as an EPUB file.
RtfSaves the document as an rtf file.
PdfNoImgSaves the document as a Searchable PDF (Adobe Portable Document) Document without image.

Methods

MethodDescription
values()
valueOf(String name)

Text

public static final Format Text

Saves the result in the plain text format.

Docx

public static final Format Docx

Saves the result as an Office Open XML Word processing ML Document (macro-free).

Pdf

public static final Format Pdf

Saves the result as a PDF (Adobe Portable Document) Document.

Xlsx

public static final Format Xlsx

Saves the result as an Excel ( 2007 and later) workbook Document.

Xml

public static final Format Xml

Saves the result as an XML Document.

Json

public static final Format Json

Saves the result as an plain text written in JavaScript object notation.

Html

public static final Format Html

Saves the document as an HTML file.

Epub

public static final Format Epub

Saves the document as an EPUB file.

Rtf

public static final Format Rtf

Saves the document as an rtf file.

PdfNoImg

public static final Format PdfNoImg

Saves the document as a Searchable PDF (Adobe Portable Document) Document without image.

values()

public static Format[] values()

Returns: com.aspose.ocr.Format[]

valueOf(String name)

public static Format valueOf(String name)

Parameters:

ParameterTypeDescription
namejava.lang.String

Returns: Format