Allows to specify various import options to format output.
Shows how to resolve duplicate styles while inserting documents.
#include <Aspose.Words.Cpp/ImportFormatOptions.h>
Public Member Functions | |
ImportFormatOptions () | |
bool | get_IgnoreHeaderFooter () const |
Gets or sets a boolean value that specifies that source formatting of headers/footers content ignored if KeepSourceFormatting mode is used. The default value is true . More... | |
bool | get_IgnoreTextBoxes () const |
Gets or sets a boolean value that specifies that source formatting of textboxes content ignored if KeepSourceFormatting mode is used. The default value is true . More... | |
bool | get_KeepSourceNumbering () const |
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 . More... | |
bool | get_MergePastedLists () const |
Gets a boolean value that specifies whether pasted lists will be merged with surrounding lists. The default value is false . More... | |
bool | get_SmartStyleBehavior () const |
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 . More... | |
virtual const TypeInfo & | GetType () const override |
virtual bool | Is (const TypeInfo &target) const override |
void | set_IgnoreHeaderFooter (bool value) |
Setter for get_IgnoreHeaderFooter. More... | |
void | set_IgnoreTextBoxes (bool value) |
Setter for get_IgnoreTextBoxes. More... | |
void | set_KeepSourceNumbering (bool value) |
Setter for get_KeepSourceNumbering. More... | |
void | set_MergePastedLists (bool value) |
Sets a boolean value that specifies whether pasted lists will be merged with surrounding lists. The default value is false . More... | |
void | set_SmartStyleBehavior (bool value) |
Setter for get_SmartStyleBehavior. More... | |
Static Public Member Functions | |
static const TypeInfo & | Type () |
Aspose::Words::ImportFormatOptions::ImportFormatOptions | ( | ) |
bool Aspose::Words::ImportFormatOptions::get_IgnoreHeaderFooter | ( | ) | const |
Gets or sets a boolean value that specifies that source formatting of headers/footers content ignored if KeepSourceFormatting mode is used. The default value is true
.
Shows how to specifies ignoring or not source formatting of headers/footers content.
bool Aspose::Words::ImportFormatOptions::get_IgnoreTextBoxes | ( | ) | const |
Gets or sets a boolean value that specifies that source formatting of textboxes content ignored if KeepSourceFormatting mode is used. The default value is true
.
Shows how to manage text box formatting while appending a document.
bool Aspose::Words::ImportFormatOptions::get_KeepSourceNumbering | ( | ) | const |
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
.
Shows how to import a document with numbered lists.
Shows how resolve a clash when importing documents that have lists with the same list definition identifier.
Shows how to resolve list numbering clashes in source and destination documents.
bool Aspose::Words::ImportFormatOptions::get_MergePastedLists | ( | ) | const |
Gets a boolean value that specifies whether pasted lists will be merged with surrounding lists. The default value is false
.
bool Aspose::Words::ImportFormatOptions::get_SmartStyleBehavior | ( | ) | const |
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 KeepSourceFormatting 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.
Shows how to resolve duplicate styles while inserting documents.
|
overridevirtual |
Reimplemented from System::Object.
|
overridevirtual |
Reimplemented from System::Object.
void Aspose::Words::ImportFormatOptions::set_IgnoreHeaderFooter | ( | bool | value | ) |
void Aspose::Words::ImportFormatOptions::set_IgnoreTextBoxes | ( | bool | value | ) |
void Aspose::Words::ImportFormatOptions::set_KeepSourceNumbering | ( | bool | value | ) |
void Aspose::Words::ImportFormatOptions::set_MergePastedLists | ( | bool | value | ) |
Sets a boolean value that specifies whether pasted lists will be merged with surrounding lists. The default value is false
.
void Aspose::Words::ImportFormatOptions::set_SmartStyleBehavior | ( | bool | value | ) |
|
static |