com.aspose.words

Class ReportBuildOptions

  • java.lang.Object
    • com.aspose.words.ReportBuildOptions
public class ReportBuildOptions 
extends java.lang.Object

Utility class containing constants. Specifies options controlling behavior of ReportingEngine while building a report.

Field Summary
static final intNONE = 0
Specifies default options.
static final intALLOW_MISSING_MEMBERS = 1
Specifies that missing object members should be treated as null literals by the engine. This option affects only access to instance (that is, non-static) object members and extension methods. If this option is not set, the engine throws an exception when encounters a missing object member.
static final intREMOVE_EMPTY_PARAGRAPHS = 2
Specifies that the engine should remove paragraphs becoming empty after template syntax tags are removed or replaced with empty values.
static final intINLINE_ERROR_MESSAGES = 4
Specifies that the engine should inline template syntax error messages into output documents. If this option is not set, the engine throws an exception when encounters a syntax error.
static final intUSE_LEGACY_HEADER_FOOTER_VISITING = 8
Specifies that the engine should visit section child nodes (headers, footers, bodies) in an order compatible with Aspose.Words versions prior 21.9.
static final intRESPECT_JPEG_EXIF_ORIENTATION = 16
Specifies that the engine should use EXIF ​​image orientation values to appropriately rotate inserted JPEG images.
 

    • Field Detail

      • NONE = 0

        public static final int NONE
        Specifies default options.
      • ALLOW_MISSING_MEMBERS = 1

        public static final int ALLOW_MISSING_MEMBERS
        Specifies that missing object members should be treated as null literals by the engine. This option affects only access to instance (that is, non-static) object members and extension methods. If this option is not set, the engine throws an exception when encounters a missing object member.
      • REMOVE_EMPTY_PARAGRAPHS = 2

        public static final int REMOVE_EMPTY_PARAGRAPHS
        Specifies that the engine should remove paragraphs becoming empty after template syntax tags are removed or replaced with empty values.
      • INLINE_ERROR_MESSAGES = 4

        public static final int INLINE_ERROR_MESSAGES
        Specifies that the engine should inline template syntax error messages into output documents. If this option is not set, the engine throws an exception when encounters a syntax error.
      • USE_LEGACY_HEADER_FOOTER_VISITING = 8

        public static final int USE_LEGACY_HEADER_FOOTER_VISITING
        Specifies that the engine should visit section child nodes (headers, footers, bodies) in an order compatible with Aspose.Words versions prior 21.9.

        By default, the engine treats headers and footers as if they were linked to section breaks. That is, when visiting section child nodes, a body is visited first and only then, headers and footers are visited. This agrees with Microsoft Word behavior when copy-pasting or removing multi-section contents and produces more correct results in most scenarios.

        Prior to Aspose.Words 21.9, the engine used another visiting order: Section child nodes were visited in an order they appear in a document. Apply this value to ReportingEngine.Options if compatibility with older versions of Aspose.Words is required.

      • RESPECT_JPEG_EXIF_ORIENTATION = 16

        public static final int RESPECT_JPEG_EXIF_ORIENTATION
        Specifies that the engine should use EXIF ​​image orientation values to appropriately rotate inserted JPEG images.