Nevron Open Vision Documentation
NDocumentView<TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings> Class Members
Fields  Properties  Methods  Events


The following tables list the members exposed by NDocumentView<TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings>.

Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)DeveloperModeProperty  
Public Fieldstatic (Shared in Visual Basic)DocumentLoadedEventReference to the DocumentLoaded event.  
Public Fieldstatic (Shared in Visual Basic)DocumentPropertyReference to the Document property.  
Public Fieldstatic (Shared in Visual Basic)DocumentSavedEventReference to the DocumentLoaded event.  
Public Fieldstatic (Shared in Visual Basic)MessageChildReference to the Message child.  
Public Fieldstatic (Shared in Visual Basic)NDocumentViewSchemaSchema associated with NDocumentView.  
Public Fieldstatic (Shared in Visual Basic)OpenDocumentErrorEventReference to the OpenDocumentError event  
Public Fieldstatic (Shared in Visual Basic)ReadOnlyPropertyReference to the ReadOnly property.  
Public Fieldstatic (Shared in Visual Basic)SaveDocumentErrorEventReference to the SaveDocumentError event  
Top
Public Properties
 NameDescription
Public PropertyContentA shortcut property that gets or sets the content inside the document displayed by this view.  
Public PropertyDocumentGets or sets the document displayed by this view.  
Public PropertyMessageGets or sets the message element. The message is automatically managed by Nevron via the ShowMessage and HideMessage methods.  
Public PropertyReadOnlyGets or sets whether the user is able to modify the document visually.  
Top
Public Methods
 NameDescription
Public MethodCreateDefaultLoadSettingsCreates the default load settings for the given document format.  
Public MethodCreateDefaultSaveSettingsCreates the default save settings for the given document format.  
Public MethodEndDragging  
Public MethodHideMessageHides the currently show view message, if shown at all  
Public MethodLoadFromFileOverloaded. Loads a document from a user specified file.  
Public MethodLoadFromFileAsyncOverloaded. Loads a document from a user specified file asynchronously.  
Public MethodLoadFromResourceOverloaded. Loads a document from the given embedded resource.  
Public MethodLoadFromResourceAsyncOverloaded. Loads a document from the given embedded resource asynchronously.  
Public MethodLoadFromStreamOverloaded. Loads a document from the given stream.  
Public MethodLoadFromStreamAsyncOverloaded. Loads a document from the given stream asynchronously.  
Public MethodLoadFromUriLoads a document from the given URI.  
Public MethodLoadNewDocumentLoads a new document in the view.  
Public MethodSaveToFileOverloaded. Saves the current document to a file, that the user chooses from a Save File Dialog.  
Public MethodSaveToFileAsyncOverloaded. Saves the current document to a file, that the user chooses from a Save File Dialog.  
Public MethodSaveToStreamOverloaded. Saves the document to stream.  
Public MethodSaveToStreamAsyncOverloaded. Saves the document to stream.  
Public MethodShowMessageOverloaded. Shows a view message for a non-succeeded transaciton  
Public MethodStartDragging  
Top
Protected Methods
 NameDescription
Protected MethodAccumulateInnerAddornersOverridden.   
Protected MethodArrangeInnerAdornersOverridden. Overrin to also arrange the view message  
Protected MethodBuildCommanderBuilds the document view commander, by adding command actions to the specified commander  
Protected MethodBuildInteractorBuilds the document view interactor, by adding tools to the specified interactor  
Protected MethodCreateNewDocumentCreates a new document.  
Protected MethodCreateOpenFileDialogCreates the open file dialog shown by the LoadFromFile methods that do not have a fileName parameter.  
Protected MethodCreateSaveChangesDialogCreates the Save Changes task dialog, which is shown when the user wants to create a new document or open a document from file and the current document has unsaved changes.  
Protected MethodCreateSaveFileDialogCreates the save file dialog shown by the SaveToFile methods that do not have a fileName parameter.  
Protected MethodHideLoaderHides the loader, if shown and restores the previous enabled state of the widget.  
Protected MethodLoadDocumentFromFileCalled when the open dialog, shown by an Open command has been closed.  
Protected MethodOnDocumentChangedCalled when the Document property has changed.  
Protected MethodOnDocumentLoadCompletedCalled when a document has been loaded.  
Protected MethodOnDocumentLoadedRaises the document loaded event.  
Protected MethodOnDocumentSavedRaises the document saved event.  
Protected MethodOnGotFocusOverridden. Default handler for the NKeyboard.GotFocusEvent event.  
Protected MethodOnKeyDownOverridden. Default handler for the NKeyboard.KeyDownEvent event.  
Protected MethodOnLoadFromUriRequestCompleted  
Protected MethodOnSaveChangesClosedCalled when the Save Changes task dialog has been closed.  
Protected MethodOnSaveChangesSaveFileDialogClosedCalled when the Save File dialog shown when the user has clicked the "Save" button in the Save Changes task dialog has been closed.  
Protected MethodRequestDisabledCursorOverridden. Overriden to request a wait cursor, if the loader is shown.  
Protected MethodSaveDocumentToFileCalled when the save dialog, shown by a SaveAs command has been closed.  
Protected MethodShowLoaderShows the loader above this item and disables the widget.  
Top
Public Events
 NameDescription
Public EventDocumentLoadedOccurs when a new document was loaded by the view  
Public EventDocumentSavedOccurs when the current document was saved by the view  
Public EventOpenDocumentErrorOccurs when an error occurs during the opening of a document  
Public EventSaveDocumentErrorOccurs when an error occurs during the saving of a document  
Top
See Also

Reference

NDocumentView<TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings> Class
Nevron.Nov.UI Namespace

 

 


©2017. Nevron Software LLC.

Send Feedback