Skip to main content

IRichEditDocumentServer Members

Interface of a rich text engine providing the essential Rich Editor functionality.

Properties

Name Description
DocBytes Gets or sets the document content as an array of bytes in Microsoft Word 97-2003 (Doc) format.
DocmBytes Gets or sets the document content as an array of bytes in Office Open XML WordprocessingML Macro-Enabled Document (Docm) format.
Document Provides access to a Document interface, representing the document contained in the server.
DotBytes Gets or sets the document content as an array of bytes in Microsoft Word 97-2007 Template (DOT) format.
DotmBytes Gets or sets the document content as an array of bytes in Microsoft Office Open XML Macro-Enabled Template (DOTM) format.
DotxBytes Gets or sets the document content as an array of bytes in DOTX (Microsoft Office Open XML macro-free template) format.
DpiX Gets the current dpi value for the X-coordinate.
DpiY Gets the current dpi value for the Y-coordinate.
FlatOpcBytes Gets or sets the document content as an array of bytes in FlatOpc (Microsoft Word XML Document, .xml) format.
FlatOpcMacroEnabledBytes Gets or sets the document content as an array of bytes in FlatOpcMacroEnabled (Microsoft Word XML Macro-Enabled Document, .xml) format.
FlatOpcMacroEnabledTemplateBytes Gets or sets the document content as an array of bytes in FlatOpcMacroEnabledTemplate (Microsoft Word XML Macro-Enabled Template, .xml) format.
FlatOpcTemplateBytes Gets or sets the document content as an array of bytes in FlatOpcTemplate (Microsoft Word XML Template, .xml) format.
HtmlText Gets or sets the content as HTML text.
HyphenationDictionaries Provides access to the collection of hyphenation dictionaries.
InnerServer For internal use.
IsDisposed For internal use. Gets a value indicating whether the control has been disposed of.
LayoutUnit Gets or sets a unit of measure used for a document model layout.
MhtText Gets or sets the document content as MHT text.
Model For internal use.
Modified Gets or sets a value that indicates that the document contents is modified since it was last saved.
OpenDocumentBytes Gets or sets the document content as an array of bytes in Open Office Text (.odt) format.
OpenXmlBytes Gets or sets the document content as an array of bytes in Office Open XML (Docx) format.
Options Provides access to the variety of options which can be specified for the RichEditDocumentServer.
RtfText Gets or sets the formatted text content of the document.
Text Gets or sets the plain text content of the document.
Unit Gets or sets a unit of measure used within the RichEditDocumentServer.
WordMLText Gets or sets the document content as the text in WordProcessingML (Microsoft Office Word 2003 XML) format.

Methods

Name Description
AddService(Type, ServiceCreatorCallback, Boolean) Adds the specified service to the service container, and optionally promotes the service to parent service containers. Inherited from IServiceContainer.
AddService(Type, ServiceCreatorCallback) Adds the specified service to the service container. Inherited from IServiceContainer.
AddService(Type, Object, Boolean) Adds the specified service to the service container, and optionally promotes the service to any parent service containers. Inherited from IServiceContainer.
AddService(Type, Object) Adds the specified service to the service container. Inherited from IServiceContainer.
CreateMailMergeOptions() Creates an object for specifying the options used in mail merge operations.
CreateNewDocument(Boolean) Creates a new blank document.
Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Inherited from IDisposable.
GetService(Type) Gets the service object of the specified type. Inherited from IServiceProvider.
GetService<T>() Gets service of the specified type.
LoadDocument(Stream, DocumentFormat) Loads a document from a stream, specifying the document format.
LoadDocumentTemplate(Stream, DocumentFormat) Loads a document template from a stream with specific document format.
MailMerge(Document) Merges the current document and sends the result to the specified Document.
MailMerge(MailMergeOptions, Document) Merges the current document using the specified options, and sends the result to the specified Document.
MailMerge(MailMergeOptions, IRichEditDocumentServer) Obsolete. Merges the current document using the specified options and sends the result to the specified RichEditDocumentServer instance.
MailMerge(MailMergeOptions, Stream, DocumentFormat) Merges the current document using the specified options and sends the result to the specified stream in a specified format.
MailMerge(MailMergeOptions, String, DocumentFormat) Merges the current document using the specified options and sends the result to the specified file in a specified format.
MailMerge(IRichEditDocumentServer) Obsolete. Merges the current document and sends the result to the specified RichEditDocumentServer instance.
MailMerge(Stream, DocumentFormat) Merges the current document and sends the result to the specified stream in a specified format.
MailMerge(String, DocumentFormat) Merges the current document and sends the result to the specified file in a specified format.
RemoveService(Type, Boolean) Removes the specified service type from the service container, and optionally promotes the service to parent service containers. Inherited from IServiceContainer.
RemoveService(Type) Removes the specified service type from the service container. Inherited from IServiceContainer.
ReplaceService<T>(T) Performs a service substitution.
SaveDocument(DocumentFormat, EncryptionSettings) Saves the document to a byte array in the specified file format and encrypts it with a password.
SaveDocument(DocumentFormat) Saves the document to a byte array in the specified file format.
SaveDocument(Stream, DocumentFormat, EncryptionSettings) Saves the document to a stream, specifying the document’s format and encryption options.
SaveDocument(Stream, DocumentFormat) Saves the document to a stream, specifying the document’s format.

Events

Name Description
AfterExport Occurs after the document is successfully exported.
BeforeEncodingDetection Occurs before detecting encoding of the loaded plain text or HTML content.
BeforeExport Occurs before the document is saved (exported to a certain format).
BeforeImport Occurs before a document is loaded (imported from an external source).
CalculateDocumentVariable Fires when the DOCVARIABLE field is updated.
ContentChanged Occurs when the document content was changed.
CustomPropertiesChanged Occurs after one of the DocumentCustomProperties has changed.
DocBytesChanged For internal use.
DocmBytesChanged For internal use.
DocumentClosing Occurs when a document that has not yet been saved is about to be closed.
DocumentEncryptionChanged Occurs after one of the DocumentEncryption properties has been changed.
DocumentLoaded Occurs after a document is loaded.
DocumentPropertiesChanged Occurs after one of the DocumentProperties has changed.
DotBytesChanged For internal use.
DotmBytesChanged For internal use.
DotxBytesChanged For internal use.
EmptyDocumentCreated Occurs when a new document is created.
EncryptedFileIntegrityCheckFailed Raises when the encrypted file did not pass the data integrity verification.
EncryptedFilePasswordCheckFailed Occurs when the encryption password is empty or invalid.
EncryptedFilePasswordRequested Raises when the RichEditDocumentImportOptions.EncryptionPassword property is not set or returns an invalid password.
FlatOpcBytesChanged For internal use.
FlatOpcMacroEnabledBytesChanged For internal use.
FlatOpcMacroEnabledTemplateBytesChanged For internal use.
FlatOpcTemplateBytesChanged For internal use.
HtmlTextChanged For internal use.
InitializeDocument Occurs before a document is loaded. Handle this event to set initial document settings.
MailMergeFinished Fires when mail merge is completed.
MailMergeRecordFinished Fires after each data record is merged with the document in the mail merge process.
MailMergeRecordStarted Fires before each data record is merged with the document in the mail merge process.
MailMergeStarted Fires before mail merge starts.
MhtTextChanged For internal use.
ModifiedChanged Occurs when the value of the IRichEditDocumentServer.Modified property is changed.
OpenDocumentBytesChanged For internal use.
OpenXmlBytesChanged For internal use.
RtfTextChanged For internal use.
SelectionChanged Fires in response to changing a selection in the document.
TrackedMovesConflict Occurs when moved text has been changed since it was moved.
UnitChanged Fires after the Unit property is changed.
UnitChanging Fires before the Unit property is changed.
WordMLTextChanged For internal use.
See Also