aspose.words.loading module

The aspose.words.loading module provides classes and enumerations that allow to specify additional options when loading documents.

Classes

ClassDescription
ChmLoadOptionsAllows to specify additional options when loading CHM document into a Document object. To learn more, visit the Specify Load Options documentation article.
DocumentLoadingArgsAn argument passed into IDocumentLoadingCallback.notify(). To learn more, visit the Specify Load Options documentation article.
HtmlLoadOptionsAllows to specify additional options when loading HTML document into a Document object. To learn more, visit the Specify Load Options documentation article.
IDocumentLoadingCallbackImplement this interface if you want to have your own custom method called during loading a document.
IResourceLoadingCallbackImplement this interface if you want to control how Aspose.Words loads external resource when importing a document and inserting images using DocumentBuilder.
LanguagePreferencesAllows to set up language preferences. To learn more, visit the Specify Load Options documentation article.
LoadOptionsAllows to specify additional options (such as password or base URI) when loading a document into a Document object. To learn more, visit the Specify Load Options documentation article.
MarkdownLoadOptionsAllows to specify additional options when loading LoadFormat.MARKDOWN document into a Document object.
PdfLoadOptionsAllows to specify additional options when loading Pdf document into a Document object. To learn more, visit the Specify Load Options documentation article.
ResourceLoadingArgsProvides data for the IResourceLoadingCallback.resource_loading() method.
RtfLoadOptionsAllows to specify additional options when loading LoadFormat.RTF document into a Document object. To learn more, visit the Specify Load Options documentation article.
TxtLoadOptionsAllows to specify additional options when loading LoadFormat.TEXT document into a Document object. To learn more, visit the Specify Load Options documentation article.

Enumerations

EnumerationDescription
BlockImportModeSpecifies how properties of block-level elements are imported from HTML-based documents.
DocumentDirectionAllows to specify the direction to flow the text in a document.
EditingLanguageSpecifies the editing language.
HtmlControlTypeType of document nodes that represent <input> and <select> elements imported from HTML.
ResourceLoadingActionSpecifies the mode of resource loading. To learn more, visit the Specify Load Options documentation article.
ResourceTypeType of loaded resource.
TxtLeadingSpacesOptionsSpecifies available options for leading space handling during import from LoadFormat.TEXT file.
TxtTrailingSpacesOptionsSpecifies available options for trailing spaces handling during import from LoadFormat.TEXT file.