com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class XslFoLoadOptions.ParsingErrorsHandlingTypes

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


    public static final class XslFoLoadOptions.ParsingErrorsHandlingTypes
    extends com.aspose.ms.System.Enum

    Source XSLFO document can contain formatting errors. This enum enumerates possible strategies of handling of such formatting errors

    • 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 InvokeCustomHandler
      This is the most agile method - custom code must supply (in WarningCallback property) special handler that will be called when formatting error detected.
      static int ThrowExceptionImmediately
      In this case conversion will be stopped immediately and exception will be thrown immediately after detecting of first formatting error
      static int TryIgnore
      In this case converter will be instructed to try proceed with conversion and ignore found formatting errors.
      • 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

      • TryIgnore

        public static final int TryIgnore

        In this case converter will be instructed to try proceed with conversion and ignore found formatting errors. In this case success not guaranteed, serious problems can occure later in converter, anf in suck case will be thrown exception with list of found formatting errors.

        See Also:
        Constant Field Values
      • ThrowExceptionImmediately

        public static final int ThrowExceptionImmediately

        In this case conversion will be stopped immediately and exception will be thrown immediately after detecting of first formatting error

        See Also:
        Constant Field Values
      • InvokeCustomHandler

        public static final int InvokeCustomHandler

        This is the most agile method - custom code must supply (in WarningCallback property) special handler that will be called when formatting error detected. That handler can f.e. log or count errors etc and will supply decision whether processing can be continued for this or that error.

        See Also:
        Constant Field Values