Click or drag to resize

TextDocumentController Methods

The TextDocumentController type exposes the following members.

Methods
 NameDescription
Public methodApply Called when the user input has to be applied to the document being controlled. Returns if apply is successful.
Public methodBuildNavPoint Builds an INavigationPoint for the current position.
(Inherited from AbstractViewContent)
Public methodCanAcceptImageFileName Tests if the provided file name could be accepted as an image.
Protected methodCanClose Determines whether the view content can be closed.
(Inherited from AbstractViewContent)
Public methodCanPaste 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.
Public methodClearIsDirty Clears the dirty state.
(Inherited from AbstractViewContent)
Public methodCopyTextWithImages Copies the text with the local images to the clipboard.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides AbstractViewContentDispose)
Public methodEhBeforeCompleteRendering Notifies the controller immediately before rendering completes.
Public methodEhFractionOfEditorWindowChanged Notifies the controller that the editor window fraction changed.
Public methodEhIsViewerSelectedChanged Notifies the controller that the viewer selection state changed.
Public methodEhReferencedImageUrlsChanged Notifies the controller that the referenced local image URLs changed.
Protected methodEhTitleLocalizationChanged Updates the title when the localized title changes.
(Inherited from AbstractViewContent)
Public methodEhViewerConfigurationChanged Notifies the controller that the viewer configuration changed.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExpandTextDocumentIntoNewDocument Expands the current text document and stores it into a new text document in the same project folder.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetService(Type)Gets the service object of the specified type.
(Inherited from AbstractViewContent)
Public methodGetServiceT Gets a required service of the specified type.
(Inherited from AbstractViewContent)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodInitialize Initializes the view state.
Public methodInitializeDocument Initializes the controller with the document.
Public methodInsertImageInDocumentAndGetUrl(String) Inserts an image file into the document and returns the inserted image URL.
Public methodInsertImageInDocumentAndGetUrl(Stream, String) Inserts an image stream into the document and returns the inserted image URL.
Public methodInsertSourceTextAtCaretPosition Inserts the source text at caret position.
Protected methodInternalInitializeDocument Initializes the controller with the provided view options.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodNotifyContentIdChanged Can be used to notify the view content that the ContentId maybe has changed.
(Inherited from AbstractViewContent)
Protected methodOnClose Closes the view content.
(Inherited from AbstractViewContent)
Public methodOnIsDirtyChanged Raises notifications that the dirty state has changed.
(Inherited from AbstractViewContent)
Protected methodOnPropertyChanged Raises the PropertyChanged event.
(Inherited from AbstractViewContent)
Public methodPaste Pastes data from the clipboard in the document managed by this controller.
Public methodPrintShowDialog Shows the print dialog for the current document.
Public methodRenumerateFigures Renumerates the figures in the current text document.
Public methodRevert Try to revert changes to the model, i.e. restores the original state of the model.
Public methodSetDirty Sets the dirty state.
(Inherited from AbstractViewContent)
Public methodSetDisposeInProgress 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)
Protected methodSetLocalizedInfoTip Sets a localized info tip that will update automatically when the language changes.
(Inherited from AbstractViewContent)
Protected methodSetLocalizedTitle Sets a localized title that will update automatically when the language changes.
(Inherited from AbstractViewContent)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also