BlockImportMode

BlockImportMode

Overview

BlockImportMode is an enum in Aspose.Words FOSS for Java.

Specifies how properties of block-level elements are imported from HTML-based documents.

Edition status of its 7 listed members (a property and its accessor methods are listed separately, overloads once): 7 not yet exercised by a verified example.

This enum declares 4 methods for BlockImportMode objects in Java programs. Available methods include: fromName, getName, getValues, toString. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
MERGEProperties of parent blocks are merged and stored on child elements (i.e. paragraphs or tables).
PRESERVEProperties of parent blocks are imported to a special logical structure and are stored separately from document nodes.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of BlockImportMode values.

Methods

SignatureDescription
getName(blockImportMode: int) → StringReturns JAVA_STYLE string representation of integer BlockImportMode value.
toString(blockImportMode: int) → StringReturns DotNetStyle string representation of integer BlockImportMode value.
fromName(blockImportModeName: String) → intReturns integer representation by BlockImportMode name.
getValues() → int[]Returns array of BlockImportMode values.

See Also