HeadingRecognitionStrategy
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum> com.aspose.ms.System.Enum com.aspose.pdf.markdownoptions.HeadingRecognitionStrategy, com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>, com.aspose.ms.System.Enum com.aspose.pdf.markdownoptions.HeadingRecognitionStrategy, com.aspose.ms.System.Enum, com.aspose.pdf.markdownoptions.HeadingRecognitionStrategy
public final class HeadingRecognitionStrategy extends com.aspose.ms.System.Enum
Represents types of header recognition strategies.
Fields
| Field | Description |
|---|---|
| Auto | Provides an automatic header recognition strategy selection. This is the default option. If the document contains bookmarks, the {@link HeadingRecognitionStrategy#Outlines} strategy will be selected, otherwise {@link HeadingRecognitionStrategy#Heuristic} |
| Heuristic | Represents the header recognition strategy by means of heuristics rules and font size statistic. |
| None | Do not recognize headers. This option can be useful in complexly formatted documents. |
| Outlines | Represents the header recognition strategy by means of outlines. |
Auto
public static final int Auto
Provides an automatic header recognition strategy selection. This is the default option. If the document contains bookmarks, the {@link HeadingRecognitionStrategy#Outlines} strategy will be selected, otherwise {@link HeadingRecognitionStrategy#Heuristic}
Heuristic
public static final int Heuristic
Represents the header recognition strategy by means of heuristics rules and font size statistic.
None
public static final int None
Do not recognize headers. This option can be useful in complexly formatted documents.
Outlines
public static final int Outlines
Represents the header recognition strategy by means of outlines.