ImportFormatOptions

ImportFormatOptions

Overview

ImportFormatOptions is a class in Aspose.Words FOSS for Java.

Allows to specify various import options to format output.

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

This class declares 16 methods for ImportFormatOptions objects in Java programs. Available methods include: getAdjustSentenceAndWordSpacing, getAppendDocumentWithNewPage, getForceCopyStyles, getIgnoreHeaderFooter, getIgnoreTextBoxes, getKeepSourceNumbering, getMergePastedLists, getSmartStyleBehavior, setAdjustSentenceAndWordSpacing, setAppendDocumentWithNewPage, setForceCopyStyles, setIgnoreHeaderFooter, and 4 additional methods. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: adjustSentenceAndWordSpacing, appendDocumentWithNewPage, forceCopyStyles, ignoreHeaderFooter, ignoreTextBoxes, keepSourceNumbering, and 2 more.

Properties

NameTypeAccessDescription
smartStyleBehaviorbooleanRead/WriteGets or sets a boolean value that specifies how styles will be imported when they have equal names in source and destination documents.
keepSourceNumberingbooleanRead/WriteGets or sets a boolean value that specifies how the numbering will be imported when it clashes in source and destination documents.
ignoreTextBoxesbooleanRead/WriteGets or sets a boolean value that specifies that source formatting of textboxes content ignored if ImportFormatMode.KEEP_SOURCE_FORMATTING mode is used.
ignoreHeaderFooterbooleanRead/WriteGets or sets a boolean value that specifies that source formatting of headers/footers content ignored if ImportFormatMode.KEEP_SOURCE_FORMATTING mode is used.
mergePastedListsbooleanRead/WriteGets or sets a boolean value that specifies whether pasted lists will be merged with surrounding lists.
forceCopyStylesbooleanRead/WriteGets or sets a boolean value indicating either to copy conflicting styles in ImportFormatMode.KEEP_SOURCE_FORMATTING mode.
adjustSentenceAndWordSpacingbooleanRead/WriteGets or sets a boolean value that specifies whether to adjust sentence and word spacing automatically.
appendDocumentWithNewPagebooleanRead/WriteGets or sets a boolean value indicating whether to change a first imported section type to the SectionStart.NEW_PAGE forcibly when call Document.appendDocument().

Methods

SignatureDescription
getSmartStyleBehavior() → booleanGets or sets a boolean value that specifies how styles will be imported when they have equal names in source and destination documents.
setSmartStyleBehavior(value: boolean)Sets the smart style behavior value.
getKeepSourceNumbering() → booleanGets or sets a boolean value that specifies how the numbering will be imported when it clashes in source and destination documents.
setKeepSourceNumbering(value: boolean)Sets the keep source numbering value.
getIgnoreTextBoxes() → booleanGets or sets a boolean value that specifies that source formatting of textboxes content ignored if ImportFormatMode.KEEP_SOURCE_FORMATTING mode is used.
setIgnoreTextBoxes(value: boolean)Sets the ignore text boxes value.
getIgnoreHeaderFooter() → booleanGets or sets a boolean value that specifies that source formatting of headers/footers content ignored if ImportFormatMode.KEEP_SOURCE_FORMATTING mode is used.
setIgnoreHeaderFooter(value: boolean)Sets the ignore header footer value.
getMergePastedLists() → booleanGets or sets a boolean value that specifies whether pasted lists will be merged with surrounding lists.
setMergePastedLists(value: boolean)Sets the merge pasted lists value.
getForceCopyStyles() → booleanGets or sets a boolean value indicating either to copy conflicting styles in ImportFormatMode.KEEP_SOURCE_FORMATTING mode.
setForceCopyStyles(value: boolean)Sets the force copy styles value.
getAdjustSentenceAndWordSpacing() → booleanGets or sets a boolean value that specifies whether to adjust sentence and word spacing automatically.
setAdjustSentenceAndWordSpacing(value: boolean)Sets the adjust sentence and word spacing value.
getAppendDocumentWithNewPage() → booleanGets or sets a boolean value indicating whether to change a first imported section type to the SectionStart.NEW_PAGE forcibly when call Document.appendDocument().
setAppendDocumentWithNewPage(value: boolean)Sets the append document with new page value.

See Also