WordProcessingSaveOptions
Contents
[
Hide
]
WordProcessingSaveOptions class
Allows to specify custom options for generating and saving WordProcessing-compliant documents after they were edited
public sealed class WordProcessingSaveOptions : ICloneable, ISaveOptions
Constructors
Name | Description |
---|---|
WordProcessingSaveOptions() | This parameterless constructor creates a new instance of WordProcessingSaveOptions with DOCX output format (can be modified then through OutputFormat property) |
WordProcessingSaveOptions(WordProcessingFormats) | Creates a new instance of WordProcessingSaveOptions with specified mandatory WordProcessing output format, while all other parameters are default |
Properties
Name | Description |
---|---|
EnablePagination { get; set; } | Allows to enable or disable pagination which will be used for saving the WordProcessing document. If the original document was opened and edited in pagination mode, this option also should be enabled. By default is disabled. |
FontEmbedding { get; set; } | Responsible for embedding font resources into output WordProcessing document. By default doesn’t embed any fonts (NotEmbed). |
Locale { get; set; } | Allows to set override default locale (language) for the WordProcessing document, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document locale according to its own settings or other factors. |
LocaleBi { get; set; } | Allows to set override locale (language) for the WordProcessing document for the RTL (right-to-left) text, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document RTL locale according to its own settings or other factors. |
LocaleFarEast { get; set; } | Allows to override the locale (language) for the WordProcessing document for the East-Asian text, which will be applied during its creation. When is not specified (default value), MS Word (or other program) will detect (or choose) the document East-Asian locale according to its own settings or other factors. |
OptimizeMemoryUsage { get; set; } | Enables memory optimization mechanisms during document generation from HTML, which degrades performance in as a cost of decreasing memory usage. Setting this option to true can significantly decrease memory consumption while generating large documents at the cost of slower saving time. Default is false (memory optimization is disabled for the sake of better performance). |
OutputFormat { get; set; } | Allows to specify a WordProcessing format, which will be used for saving the document |
Password { get; set; } | Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated WordProcessing document. Specify NULL or empty string for removing (cleaning) the password. |
Protection { get; set; } | Allows to control and apply the document protection options for the WordProcessing document of any format, which supports document protection. By default is NULL - document protection will not be used. |
Methods
Name | Description |
---|---|
Clone() | Creates and returns a full copy of this instance of WordProcessingSaveOptions class |
Remarks
WordProcessingSaveOptions is applied in situations when there is an instance of EditableDocument class, that contains an edited document content, and it is required to save this content to the new document of WordProcessing format.
See Also
- interface ISaveOptions
- namespace GroupDocs.Editor.Options
- assembly GroupDocs.Editor