java.lang.Objectcom.aspose.words.ReportBuildOptions
public class ReportBuildOptions
Field Summary | ||
---|---|---|
static final int | NONE | |
Specifies default options. | ||
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. | ||
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. | ||
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. | ||
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. |
Field Detail |
---|
NONE = 0 | |
public static final int NONE |
ALLOW_MISSING_MEMBERS = 1 | |
public static final int ALLOW_MISSING_MEMBERS |
REMOVE_EMPTY_PARAGRAPHS = 2 | |
public static final int REMOVE_EMPTY_PARAGRAPHS |
INLINE_ERROR_MESSAGES = 4 | |
public static final int INLINE_ERROR_MESSAGES |
USE_LEGACY_HEADER_FOOTER_VISITING = 8 | |
public static final int USE_LEGACY_HEADER_FOOTER_VISITING |
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