Compartir a través de


BlobIndexerPdfTextRotationAlgorithm Class

public final class BlobIndexerPdfTextRotationAlgorithm
extends ExpandableStringEnum<BlobIndexerPdfTextRotationAlgorithm>

Determines algorithm for text extraction from PDF files in Azure blob storage.

Field Summary

Modifier and Type Field and Description
static final BlobIndexerPdfTextRotationAlgorithm DETECT_ANGLES

May produce better and more readable text extraction from PDF files that have rotated text within them.

static final BlobIndexerPdfTextRotationAlgorithm NONE

Leverages normal text extraction.

Constructor Summary

Constructor Description
BlobIndexerPdfTextRotationAlgorithm()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BlobIndexerPdfTextRotationAlgorithm value.

Method Summary

Modifier and Type Method and Description
static BlobIndexerPdfTextRotationAlgorithm fromString(String name)

Creates or finds a BlobIndexerPdfTextRotationAlgorithm from its string representation.

static Collection<BlobIndexerPdfTextRotationAlgorithm> values()

Gets known BlobIndexerPdfTextRotationAlgorithm values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DETECT_ANGLES

public static final BlobIndexerPdfTextRotationAlgorithm DETECT_ANGLES

May produce better and more readable text extraction from PDF files that have rotated text within them. Note that there may be a small performance speed impact when this parameter is used. This parameter only applies to PDF files, and only to PDFs with embedded text. If the rotated text appears within an embedded image in the PDF, this parameter does not apply.

NONE

public static final BlobIndexerPdfTextRotationAlgorithm NONE

Leverages normal text extraction. This is the default.

Constructor Details

BlobIndexerPdfTextRotationAlgorithm

@Deprecated
public BlobIndexerPdfTextRotationAlgorithm()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BlobIndexerPdfTextRotationAlgorithm value.

Method Details

fromString

public static BlobIndexerPdfTextRotationAlgorithm fromString(String name)

Creates or finds a BlobIndexerPdfTextRotationAlgorithm from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding BlobIndexerPdfTextRotationAlgorithm.

values

public static Collection values()

Gets known BlobIndexerPdfTextRotationAlgorithm values.

Returns:

known BlobIndexerPdfTextRotationAlgorithm values.

Applies to