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
| Value | Description |
|---|---|
MERGE | Properties of parent blocks are merged and stored on child elements (i.e. paragraphs or tables). |
PRESERVE | Properties of parent blocks are imported to a special logical structure and are stored separately from document nodes. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of BlockImportMode values. |
Methods
| Signature | Description |
|---|---|
getName(blockImportMode: int) → String | Returns JAVA_STYLE string representation of integer BlockImportMode value. |
toString(blockImportMode: int) → String | Returns DotNetStyle string representation of integer BlockImportMode value. |
fromName(blockImportModeName: String) → int | Returns integer representation by BlockImportMode name. |
getValues() → int[] | Returns array of BlockImportMode values. |