com.aspose.words
Class ImportFormatOptions

java.lang.Object
    extended by com.aspose.words.ImportFormatOptions

public class ImportFormatOptions 
extends java.lang.Object

Allows to specify various import options to format output.

Constructor Summary
ImportFormatOptions()
          
 
Property Getters/Setters Summary
booleangetIgnoreTextBoxes()
voidsetIgnoreTextBoxes(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.
booleangetKeepSourceNumbering()
voidsetKeepSourceNumbering(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.
booleangetSmartStyleBehavior()
voidsetSmartStyleBehavior(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

ImportFormatOptions

public ImportFormatOptions()

Property Getters/Setters Detail

getIgnoreTextBoxes/setIgnoreTextBoxes

public boolean getIgnoreTextBoxes() / public 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.

getKeepSourceNumbering/setKeepSourceNumbering

public boolean getKeepSourceNumbering() / public 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.

getSmartStyleBehavior/setSmartStyleBehavior

public boolean getSmartStyleBehavior() / public 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.

When this option is enabled, the source style will be expanded into a direct attributes inside a destination document, if ImportFormatMode.KEEP_SOURCE_FORMATTING importing mode is used.

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.


See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.