Enum ReportBuildOptions
Namespace: Aspose.Words.Reporting
Assembly: Aspose.Words.dll (25.3.0)
Specifies options controlling behavior of Aspose.Words.Reporting.ReportingEngine while building a report.
[Flags]
public enum ReportBuildOptions
Fields
AllowMissingMembers = 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.
InlineErrorMessages = 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.
None = 0
Specifies default options.
RemoveEmptyParagraphs = 2
Specifies that the engine should remove paragraphs becoming empty after template syntax tags are removed or replaced with empty values.
RespectJpegExifOrientation = 16
Specifies that the engine should use EXIF image orientation values to appropriately rotate inserted JPEG images.
UpdateFieldsSyntaxAware = 32
Specifies that the engine should ignore template syntax in field results and update fields after a report is built.
UseLegacyHeaderFooterVisiting = 8
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 Aspose.Words.Reporting.ReportingEngine.Options if compatibility with older versions of Aspose.Words is required.