Allows to specify additional options when loading Rtf document into a Document object.
Shows how to detect UTF-8 characters while loading an RTF document.
#include <Aspose.Words.Cpp/Loading/RtfLoadOptions.h>
Public Member Functions | |
RtfLoadOptions () | |
Initializes a new instance of this class with default values. More... | |
bool | get_RecognizeUtf8Text () const |
When set to true, CharsetDetector will try to detect UTF8 characters, they will be preserved during import. Default value is false. More... | |
virtual const TypeInfo & | GetType () const override |
virtual bool | Is (const TypeInfo &target) const override |
void | set_RecognizeUtf8Text (bool value) |
Setter for get_RecognizeUtf8Text. More... | |
![]() | |
LoadOptions () | |
Initializes a new instance of this class with default values. More... | |
LoadOptions (LoadFormat loadFormat, const String &password, const String &baseUri) | |
A shortcut to initialize a new instance of this class with properties set to the specified values. More... | |
LoadOptions (const String &password) | |
A shortcut to initialize a new instance of this class with the specified password to load an encrypted document. More... | |
String | get_BaseUri () const |
Gets or sets the string that will be used to resolve relative URIs found in the document into absolute URIs when required. Can be null or empty string. Default is null. More... | |
bool | get_ConvertMetafilesToPng () const |
Gets or sets whether to convert metafile (Wmf or Emf) images to Png image format. More... | |
bool | get_ConvertShapeToOfficeMath () const |
Gets or sets whether to convert shapes with EquationXML to Office Math objects. More... | |
SharedPtr< Encoding > | get_Encoding () const |
Gets or sets the encoding that will be used to load an HTML, TXT, or CHM document if the encoding is not specified inside the document. Can be null. Default is null. More... | |
bool | get_FlatOpcXmlMappingOnly () const |
Gets value determining which document formats are allowed to be mapped by XmlMapping. By default only FlatOpc document format is allowed to be mapped. More... | |
SharedPtr< FontSettings > | get_FontSettings () const |
Allows to specify document font settings. More... | |
SharedPtr< LanguagePreferences > | get_LanguagePreferences () const |
Gets language preferences that will be used when document is loading. More... | |
LoadFormat | get_LoadFormat () const |
Specifies the format of the document to be loaded. Default is Auto. More... | |
MsWordVersion | get_MswVersion () const |
Allows to specify that the document loading process should match a specific MS Word version. Default value is Word2019 More... | |
String | get_Password () const |
Gets or sets the password for opening an encrypted document. Can be null or empty string. Default is null. More... | |
bool | get_PreserveIncludePictureField () const |
Gets or sets whether to preserve the INCLUDEPICTURE field when reading Microsoft Word formats. The default value is false. More... | |
SharedPtr< IDocumentLoadingCallback > | get_ProgressCallback () const |
Called during loading a document and accepts data about loading progress. More... | |
SharedPtr< IResourceLoadingCallback > | get_ResourceLoadingCallback () const |
Allows to control how external resources (images, style sheets) are loaded when a document is imported from HTML, MHTML. More... | |
String | get_TempFolder () const |
Allows to use temporary files when reading document. By default this property is null and no temporary files are used. More... | |
bool | get_UpdateDirtyFields () const |
Specifies whether to update the fields with the dirty attribute. More... | |
SharedPtr< IWarningCallback > | get_WarningCallback () const |
Called during a load operation, when an issue is detected that might result in data or formatting fidelity loss. More... | |
void | set_BaseUri (const String &value) |
Setter for get_BaseUri. More... | |
void | set_ConvertMetafilesToPng (bool value) |
Setter for get_ConvertMetafilesToPng. More... | |
void | set_ConvertShapeToOfficeMath (bool value) |
Setter for get_ConvertShapeToOfficeMath. More... | |
void | set_Encoding (const SharedPtr< Encoding > &value) |
Setter for get_Encoding. More... | |
void | set_FlatOpcXmlMappingOnly (bool value) |
Sets value determining which document formats are allowed to be mapped by XmlMapping. By default only FlatOpc document format is allowed to be mapped. More... | |
void | set_FontSettings (const SharedPtr< FontSettings > &value) |
Setter for get_FontSettings. More... | |
void | set_LoadFormat (LoadFormat value) |
Setter for get_LoadFormat. More... | |
void | set_MswVersion (MsWordVersion value) |
Setter for get_MswVersion. More... | |
void | set_Password (const String &value) |
Setter for get_Password. More... | |
void | set_PreserveIncludePictureField (bool value) |
Setter for get_PreserveIncludePictureField. More... | |
void | set_ProgressCallback (const SharedPtr< IDocumentLoadingCallback > &value) |
Called during loading a document and accepts data about loading progress. More... | |
void | set_ResourceLoadingCallback (const SharedPtr< IResourceLoadingCallback > &value) |
Setter for get_ResourceLoadingCallback. More... | |
void | set_TempFolder (const String &value) |
Setter for get_TempFolder. More... | |
void | set_UpdateDirtyFields (bool value) |
Setter for get_UpdateDirtyFields. More... | |
void | set_WarningCallback (const SharedPtr< IWarningCallback > &value) |
Setter for get_WarningCallback. More... | |
Static Public Member Functions | |
static const TypeInfo & | Type () |
![]() | |
static const TypeInfo & | Type () |
Aspose::Words::Loading::RtfLoadOptions::RtfLoadOptions | ( | ) |
Initializes a new instance of this class with default values.
Shows how to detect UTF-8 characters while loading an RTF document.
bool Aspose::Words::Loading::RtfLoadOptions::get_RecognizeUtf8Text | ( | ) | const |
When set to true, CharsetDetector will try to detect UTF8 characters, they will be preserved during import. Default value is false.
Shows how to detect UTF-8 characters while loading an RTF document.
|
overridevirtual |
Reimplemented from Aspose::Words::Loading::LoadOptions.
|
overridevirtual |
Reimplemented from Aspose::Words::Loading::LoadOptions.
void Aspose::Words::Loading::RtfLoadOptions::set_RecognizeUtf8Text | ( | bool | value | ) |
|
static |