java.lang.Objectcom.aspose.words.ImportFormatOptions
public class ImportFormatOptions
Constructor Summary |
---|
ImportFormatOptions()
|
Property Getters/Setters Summary | ||
---|---|---|
boolean | getIgnoreTextBoxes() | |
void | setIgnoreTextBoxes(boolean value) | |
Gets or sets a boolean value that indicates whether to ignore formatting in the text boxes of
the source destination during the import.
Default value is true .
|
||
boolean | getKeepSourceNumbering() | |
void | setKeepSourceNumbering(boolean value) | |
Gets or sets a boolean value that specifies how the numbering will be imported when it clashes in source and
destination documents.
The default value is false .
|
||
boolean | getSmartStyleBehavior() | |
void | setSmartStyleBehavior(boolean value) | |
Gets or sets a boolean value that specifies how styles will be imported
when they have equal names in source and destination documents.
The default value is false .
|
Constructor Detail |
---|
public ImportFormatOptions()
Property Getters/Setters Detail |
---|
getIgnoreTextBoxes/setIgnoreTextBoxes | |
public boolean getIgnoreTextBoxes() / public void setIgnoreTextBoxes(boolean value) |
true
.
getKeepSourceNumbering/setKeepSourceNumbering | |
public boolean getKeepSourceNumbering() / public void setKeepSourceNumbering(boolean value) |
false
.
getSmartStyleBehavior/setSmartStyleBehavior | |
public boolean getSmartStyleBehavior() / public void setSmartStyleBehavior(boolean value) |
false
.
When this option is enabled, the source style will be expanded into a direct attributes inside a
destination document, if
When this option is disabled, the source style will be expanded only if it is numbered. Existing destination attributes will not be overridden, including lists.