NevronOpenVision
Nevron.Nov.UI Namespace / NDocumentView<TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings> Class
Fields Properties Methods Events


In This Topic
    NDocumentView<TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings> Class Members
    In This Topic

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

    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Reference to the DefaultSaveAsFileName property.  
    Public Fieldstatic (Shared in Visual Basic)Reference to the DocumentLoaded event.  
    Public Fieldstatic (Shared in Visual Basic)Reference to the Document property.  
    Public Fieldstatic (Shared in Visual Basic)Reference to the DocumentLoaded event.  
    Public Fieldstatic (Shared in Visual Basic)Reference to the Message child.  
    Public Fieldstatic (Shared in Visual Basic)Schema associated with NDocumentView.  
    Public Fieldstatic (Shared in Visual Basic)Reference to the ReadOnly property.  
    Top
    Protected Fields
     NameDescription
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Top
    Public Properties
     NameDescription
    Public PropertyA shortcut property that gets or sets the content inside the document displayed by this view.  
    Public PropertyGets/Sets the default file name used in Save As dialogs. By default set to "Document1.{ext}", where "{ext}" is the file extension of the default document format for this document view. It is determined by the Nevron.Nov.Dom.NDocumentFormatRegistry<TDocumentFormat>.DefaultFormatExtension property of this view's DocumentFormatRegistry.  
    Public PropertyGets or sets the document displayed by this view.  
    Public PropertyMust override to return the document format registry.  
    Public PropertyDetermines whether a document view async task (LoadFromFileAsync, SaveToFileAsync etc.) is currently performed by the view.  
    Public PropertyGets or sets the message element. The message is automatically managed by Nevron via the ShowMessage and HideMessage methods.  
    Public PropertyGets or sets whether the user is able to modify the document visually.  
    Top
    Public Methods
     NameDescription
    Public MethodDetermines whehter the Save operation can be performed.  
    Public MethodDetermines whether the SaveAs operation can be performed.  
    Public MethodCreates the default load settings for the given document format.  
    Public MethodCreates the default save settings for the given document format.  
    Public MethodCreates a task for loading, saving etc.  
    Public Method  
    Public MethodHides the currently shown view message, if any.  
    Public MethodOverloaded. Loads the view document from the specified local file.  
    Public MethodLoads a document from the specified file.  
    Public MethodLoads a document from the given embedded resource using the specified document format.  
    Public MethodLoads the document from the specified stream.  
    Public MethodLoads a document from the given stream using the specified document format.  
    Public MethodLoads the view - document from the given URI.  
    Public MethodLoads a new document in the view.  
    Public MethodLoads the view document from a file, which the user selects from the OpenFile dialog.  
    Public MethodSaves the current document to a file, that the user chooses from a Save File Dialog.  
    Public MethodSaves the view's document to the file from which it was originally opened.  
    Public MethodOverloaded. Saves the document to the specified file.  
    Public MethodSaves the document to the specified file.  
    Public MethodSaves the document to the specified stream.  
    Public MethodSaves the document to the specified stream.  
    Public MethodOverloaded. Shows a view message for an unsuccessful transaciton.  
    Public Method  
    Top
    Protected Methods
     NameDescription
    Protected MethodOverridden. Overriden to add the view's message.  
    Protected MethodOverridden. Overriden to also arrange the view message.  
    Protected MethodBuilds the document view commander by adding command actions to the specified commander.  
    Protected MethodBuilds the document view interactor by adding tools to the specified interactor.  
    Protected MethodClones the given document. This method is called when the document is going to be saved on another thread.  
    Protected Internal MethodCalled by the Load New task to create a new document.  
    Protected Internal MethodCreates the open file dialog shown by the LoadFromFile methods that do not have a fileName parameter.  
    Protected Internal MethodCalled by the New Task to create or select a predefined document.  
    Protected Internal MethodCreates the save file dialog shown by the SaveToFile methods that do not have a fileName parameter.  
    Internal Method  
    Protected Internal MethodHides the loader, if shown and restores the previous enabled state of the widget.  
    Internal Method  
    Internal Method  
    Internal Method  
    Internal Method  
    Internal Method  
    Protected MethodCalled when the Document property has changed.  
    Protected MethodCalled when a document has been loaded from the specified format and was loaded in the view.  
    Protected MethodCalled when a document has been saved in the specified format.  
    Protected MethodOverridden. Default handler for the NKeyboard.GotFocusEvent event.  
    Protected MethodOverridden. Default handler for the NKeyboard.KeyDownEvent event.  
    Internal Method  
    Protected MethodOverridden. Overriden to request a wait cursor, if the loader is shown.  
    Protected Internal MethodShows the loader above this item and disables the widget.  
    Internal Method  
    Internal Method  
    Top
    Public Events
     NameDescription
    Public EventOccurs when the view's document has changed.  
    Public EventOccurs when a document was loaded by the view.  
    Public EventOccurs when the current document was saved by the view.  
    Public EventMutation event, which occurs when the ReadOnly property has changed.  
    Top
    See Also