com.aspose.pdf

## Class EpubSaveOptions.RecognitionMode

• java.lang.Object
• com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
• com.aspose.ms.System.Enum
• com.aspose.pdf.EpubSaveOptions.RecognitionMode
• Enclosing class:
EpubSaveOptions

public static final class EpubSaveOptions.RecognitionMode
extends com.aspose.ms.System.Enum

When PDF file (that usually has fixed layout) is being converted, the conversion engine tries to perform grouping and multi-level analysis to restore the original document author's intent and produce result in flow layout. This property tunes that conversion for this or that desirable method of recognition of content.

• ### Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
• ### Field Summary

Fields
Modifier and Type Field and Description
static int Fixed
This mode is fast and good for maximally preserving the original look pages, but unfortunately many EPUB readeres don't support xhtml with fixed layout
static int Flow
Full recognition mode, the engine tries to perform grouping and multi-level analysis to restore the original document author's intent and produce xhtml in flow layout.
static int PdfFlow
The main idea of this conversion is based on saving "natural" order of content rendering that is formed during processing of pdf documents.
• ### Fields inherited from class com.aspose.ms.System.Enum

EnumSeparatorCharArray

• ### Methods inherited from class com.aspose.ms.System.Enum

Clone, CloneTo, format, format, get_Caption, get_Value, getName, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject
• ### Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
• ### Field Detail

• #### Flow

public static final int Flow

Full recognition mode, the engine tries to perform grouping and multi-level analysis to restore the original document author's intent and produce xhtml in flow layout.

Constant Field Values
• #### PdfFlow

public static final int PdfFlow

The main idea of this conversion is based on saving "natural" order of content rendering that is formed during processing of pdf documents. In the general cases pdf documents keep top-down\left-right rendering order (see attachment directions.png). This assumption allows to create a single-path algorithm that will transform Aps elements that have positions (fixed-layout) into flow formats like HTML,EPUB,DOC. This mode will be especially useful for converting from PDF(APS) into EPUB, because the EPUB format was developed for e-readers like the Kindle or smart-phones. The size of screen those devices usually is less than the size of screen of ordinary PC. Therefore the content of EPUB documents is better to save in the flow format, for correct rendering on screens with different sizes. In this mode every column will be added to the end of previous column this allows to keep the logical structure of transformed document during "pagination" in EPUB readers. This achievement allows correctly render scientific or magazine articles.

public static final int Fixed