Click or drag to resize

TextDocumentController Methods

The TextDocumentController type exposes the following members.

Methods
 NameDescription
Public methodApply 
Public methodBuildNavPoint
(Inherited from AbstractViewContent)
Public methodCanAcceptImageFileName 
Protected methodCanClose
(Inherited from AbstractViewContent)
Public methodCanPaste Determines whether this controller is able to accept data from the clipboard to be pasted into the text. Here we catch special cases like pasting of images. Thus, a return value of false does not mean that the data can not be pasted, it only mean that pasting should be delegated to the source text view.
Public methodClearIsDirty
(Inherited from AbstractViewContent)
Public methodCopyTextWithImages Copies the text with the local images to the clipboard.
Public methodDispose
(Overrides AbstractViewContentDispose)
Public methodEhBeforeCompleteRendering This event was fired by the markdown edit control before a complete rendering takes place. Here we update all properties that may influence the rendering (language, spell checking, hyphenation etc.)
Public methodEhFractionOfEditorWindowChanged 
Public methodEhIsViewerSelectedChanged 
Public methodEhReferencedImageUrlsChanged 
Protected methodEhTitleLocalizationChanged
(Inherited from AbstractViewContent)
Public methodEhViewerConfigurationChanged 
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)
(Inherited from AbstractViewContent)
Public methodGetServiceT
(Inherited from AbstractViewContent)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodInitialize 
Public methodInitializeDocument 
Public methodInsertImageInDocumentAndGetUrl(String) 
Public methodInsertImageInDocumentAndGetUrl(Stream, String) 
Public methodInsertSourceTextAtCaretPosition Inserts the provided markdown source text at the current caret position.
Protected methodInternalInitializeDocument 
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
(Inherited from AbstractViewContent)
Public methodOnIsDirtyChanged
(Inherited from AbstractViewContent)
Protected methodOnPropertyChanged
(Inherited from AbstractViewContent)
Public methodPaste 
Public methodPrintShowDialog 
Public methodRenumerateFigures Expands the current text document and stores it into a new text document in the same project folder.
Public methodRevert 
Public methodSetDirty
(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