Text |
The TextDocumentController type exposes the following members.
| Name | Description | |
|---|---|---|
| Apply | Called when the user input has to be applied to the document being controlled. Returns if apply is successful. | |
| BuildNavPoint |
Builds an INavigationPoint for the current position.
(Inherited from AbstractViewContent) | |
| CanAcceptImageFileName | Tests if the provided file name could be accepted as an image. | |
| CanClose |
Determines whether the view content can be closed.
(Inherited from AbstractViewContent) | |
| CanPaste | Determines whether this controller can accept the current clipboard data. If the return value is , the controller is used to paste the clipboard data via Paste; otherwise, pasting is delegated to the source editor. | |
| ClearIsDirty |
Clears the dirty state.
(Inherited from AbstractViewContent) | |
| CopyTextWithImages | Copies the text with the local images to the clipboard. | |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Overrides AbstractViewContentDispose) | |
| EhBeforeCompleteRendering | Notifies the controller immediately before rendering completes. | |
| EhFractionOfEditorWindowChanged | Notifies the controller that the editor window fraction changed. | |
| EhIsViewerSelectedChanged | Notifies the controller that the viewer selection state changed. | |
| EhReferencedImageUrlsChanged | Notifies the controller that the referenced local image URLs changed. | |
| EhTitleLocalizationChanged |
Updates the title when the localized title changes.
(Inherited from AbstractViewContent) | |
| EhViewerConfigurationChanged | Notifies the controller that the viewer configuration changed. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| ExpandTextDocumentIntoNewDocument | Expands the current text document and stores it into a new text document in the same project folder. | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetService(Type) | Gets the service object of the specified type. (Inherited from AbstractViewContent) | |
| GetServiceT |
Gets a required service of the specified type.
(Inherited from AbstractViewContent) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Initialize | Initializes the view state. | |
| InitializeDocument | Initializes the controller with the document. | |
| InsertImageInDocumentAndGetUrl(String) | Inserts an image file into the document and returns the inserted image URL. | |
| InsertImageInDocumentAndGetUrl(Stream, String) | Inserts an image stream into the document and returns the inserted image URL. | |
| InsertSourceTextAtCaretPosition | Inserts the source text at caret position. | |
| InternalInitializeDocument | Initializes the controller with the provided view options. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| NotifyContentIdChanged |
Can be used to notify the view content that the ContentId maybe has changed.
(Inherited from AbstractViewContent) | |
| OnClose |
Closes the view content.
(Inherited from AbstractViewContent) | |
| OnIsDirtyChanged |
Raises notifications that the dirty state has changed.
(Inherited from AbstractViewContent) | |
| OnPropertyChanged |
Raises the PropertyChanged event.
(Inherited from AbstractViewContent) | |
| Paste | Pastes data from the clipboard in the document managed by this controller. | |
| PrintShowDialog | Shows the print dialog for the current document. | |
| RenumerateFigures | Renumerates the figures in the current text document. | |
| Revert | Try to revert changes to the model, i.e. restores the original state of the model. | |
| SetDirty |
Sets the dirty state.
(Inherited from AbstractViewContent) | |
| SetDisposeInProgress |
Announces that this view content is about to be disposed very soon. The view content should remain passiv (e.g. should not react to events any more),
but should not release its resources yet (this is done later in Dispose).
(Inherited from AbstractViewContent) | |
| SetLocalizedInfoTip |
Sets a localized info tip that will update automatically when the language changes.
(Inherited from AbstractViewContent) | |
| SetLocalizedTitle |
Sets a localized title that will update automatically when the language changes.
(Inherited from AbstractViewContent) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |