ImportFormatMode
Overview
ImportFormatMode is an enum in Aspose.Words FOSS for Java.
Specifies how formatting is merged when importing content from another document.
Edition status of its 8 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 ImportFormatMode 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 |
|---|---|
USE_DESTINATION_STYLES | Use the destination document styles and copy new styles. |
KEEP_SOURCE_FORMATTING | Copy all required styles to the destination document, generate unique style names if needed. |
KEEP_DIFFERENT_STYLES | Only copy styles that are different from those in the source document. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of ImportFormatMode values. |
Methods
| Signature | Description |
|---|---|
getName(importFormatMode: int) → String | Returns JAVA_STYLE string representation of integer ImportFormatMode value. |
toString(importFormatMode: int) → String | Returns DotNetStyle string representation of integer ImportFormatMode value. |
fromName(importFormatModeName: String) → int | Returns integer representation by ImportFormatMode name. |
getValues() → int[] | Returns array of ImportFormatMode values. |