com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class DocSaveOptions.RecognitionMode

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


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

    Allows to control how a PDF document is converted into a word processing document.


    Use the RecognitionMode.Textbox mode when the resulting document is not goining to be heavily edited futher. Textboxes are easy to modify when there is not a lot to do.

    Use the RecognitionMode.Flow mode when the output document needs further editing. Paragraphs and texlines in the flow mode allow easy modification of text, but unupported formatting objects will look worse than in the RecognitionMode.Textbox mode.

    • Nested Class Summary

      • 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 Flow
      Full recognition mode, the engine performs grouping and multi-level analysis to restore the original document author's intent and produce a maximally editable document.
      static int Textbox
      This mode is fast and good for maximally preserving original look of the PDF file, but editability of the resulting document could be limited.
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      • 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
    • Field Detail

      • Textbox

        public static final int Textbox

        This mode is fast and good for maximally preserving original look of the PDF file, but editability of the resulting document could be limited.

        Every visually grouped block of text int the original PDF file is converted into a textbox in the resulting document. This achieves maximal resemblance of the output document to the original PDF file. The output document will look good, but it will consist entirely of textboxes and it could makes further editing of the document in Microsoft Word quite hard.

        This is the default mode.

        See Also:
        Constant Field Values
      • Flow

        public static final int Flow

        Full recognition mode, the engine performs grouping and multi-level analysis to restore the original document author's intent and produce a maximally editable document. The downside is that the output document might look different from the original PDF file.

        See Also:
        Constant Field Values