NevronOpenVision
Nevron.Nov.Dom Namespace / NDocument Class
Fields Properties Methods Events


In This Topic
    NDocument Class Members
    In This Topic

    The following tables list the members exposed by NDocument.

    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Reference to the EvaluationRate property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the InheritHistoryService property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the InheritMedia property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the InheritStyleSheets property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the IntegratedEvaluation property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the HistoryService property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the MaxEvaluationPasses property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the MaxExpressionCycles property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the MaxExpressionCycles property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the Media property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the Modified property  
    Public Fieldstatic (Shared in Visual Basic)Schema associated with NDocument  
    Public Fieldstatic (Shared in Visual Basic)Reference to the StyleSheets child  
    Public Fieldstatic (Shared in Visual Basic)Reference to the UniqueId property  
    Top
    Protected Fields
     NameDescription
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Top
    Public Properties
     NameDescription
    Public PropertyGets the current expression evaluation cycle. Returns -1 if the document is not currently evaluated, or the evaluation is not inside the expression evaluation cycle.  
    Public PropertyGets the current evalutaion pass. Returns -1 if the document is not currently evaluated.  
    Public PropertyGets the current measure and arrange cycle. Returns -1 if the document is not currently evaluated, or the evaluation is not inside the measure and arrange cycle.  
    Public PropertyGets the display surface in which this document resides.  
    Public PropertyGets or sets the number of times in a second in which the document automatically performs evaluation. If set to zero or a negative value, the document will stop automatic evaluation.  
    Public PropertyGets the current history version. The value of this property is automatically increased by Nevron, whenever changes that are connected with the document history occur in the document.  
    Public PropertyGets or sets whether this document inherits the history service of its owner document or not. By default set to true.  
    Public PropertyGets or sets whether this document must inherit the media of this owner document, in case the value of the Media property is null. The currently used effective media (either the local one or the one inherited from a parent document) can be obtained by the GetMedia() method. By default set to true.  
    Public PropertyGets or sets whether this document inherits the stylesheets of its owner document or not. The sheets inherited from a base cascade are considered to be of inherited origin in the respective inheritance level. By default set to true.  
    Public PropertyGets or sets whether the evaluation of this document is integrated inside the evaluation of the owner document. By default set to true.  
    Public PropertyGets whether this document is a compound document or not. If this property returns true, the embedded documents can be obtained by the GetEmbeddedDocuments() method.  
    Public PropertyGets whether this document is embedded or not. If this property returns true, the compound document in which the document resides can be obtained by the OwnerDocument property.  
    Public PropertyGets whether the document is currently evaluating its content.  
    Public PropertyGets or sets the document local history service, which this document must use when it wants to record history actions. If specified, this history service becomes the effective history service of the document and all embedded documents that do not have a local history service.  
    Public PropertyGets or sets the number of evaluation passes in which this document tries to resolve all expressions, styling, measure and layout tasks. The value of this property is considered before the document evaluation.  
    Public PropertyGets or sets the number of cycles the document must perform to resolve any cyclic expression dependencies, during a single evalution pass. The value of this property is considered before the document evaluation.  
    Public PropertyGets or sets the number of cycles the document must perform to resolve any cyclic measure/layout dependencies, during a single evalution pass. The value of this property is considered before the document evaluation.  
    Public PropertyGets or sets the document local media. It affects the set of stylesheets that need to be applied to the document. By default set to null. In case of null, the document will try to inherit a media from its parent document, if the InheritMedia property is true. The currently used effective media (either the local one or the one inherited from a parent document) can be obtained by the GetMedia() method.  
    Public PropertySpecifies whether the document is considered modified from an earlier state. This property is automatically set to true by Nevron, whenever a change, that is recorded by history has occured in the document content.  
    Public PropertyGets or sets the collection of style sheets, that control the styling of the document elements.  
    Public PropertyGets or sets the Unique Id of this document. By default initialized with the value of a random GUID. It is an user responsibility to assign a globally unique id to this property.  
    Top
    Protected Properties
     NameDescription
    Internal Property  
    Top
    Public Methods
     NameDescription
    Public MethodCommits the last started transaction, in the document effective history service.  
    Public MethodCauses the document to perform evaluation. Evaluation is automatically performed on regular intervals of time, but can also be performed by the user at will. Document evaluation computes all expressions, styles, measures and layouts and is performed prior to rendering.  
    Public MethodGets the document content element (root of element hierarchy hosted by this document).  
    Public MethodGets the element with the specified id.  
    Public MethodGets the first descendant element with the specified NElement.UserId.  
    Public MethodGets a list of the documents, currently embedded in this document.  
    Public MethodOverridden. Gets the media that this document currently uses.  
    Public MethodGets the resolution with which this visual is rendered (in DPI)  
    Public MethodInvalidates the cascade and forces cascade reconstruction and style recomputation of all document elements to be performed on the next document evaluation. If the document has embedded documents, that inherit stylesheets from this document cascade, their cascades are also invalidated. This method is automatically called when any styling node of the document have changed.  
    Public MethodPauses the document effective history service.  
    Public MethodPools the specified element for layout validation, thus causing it to receive a ValidateArrange callback at the next evaluation cycle.  
    Public MethodPools the specified element for display validation, thus causing it to receive a ValidateDisplay callback at the next evaluation cycle.  
    Public MethodPools the specified element for measure validation, thus causing it to receive a ValidateMeasure callback at the next evaluation cycle.  
    Public MethodPools the specified element for style validation, thus causing it to receive a ValidateStyle callback at the next evaluation cycle.  
    Public MethodResumes the owner document effective history service.  
    Public MethodRolls back the last started transaction, in the document effective history service.  
    Public MethodOverloaded. Starts a new transaction, in the document effective history service  
    Top
    Protected Methods
     NameDescription
    Internal Method  
    Internal Method  
    Internal Method  
    Internal Method  
    Internal Method  
    Internal MethodOverridden.   
    Internal Method  
    Internal Method  
    Internal Method  
    Internal Method  
    Protected MethodOverridden. Called before the node is deeply copied from the specified source.  
    Protected Internal MethodCalled after the document has been evaluated.  
    Protected Internal MethodCalled when the document is about to be evaluated.  
    Protected MethodCalled when the EvaluationRate property has changed  
    Protected MethodCalled when the HistoryService property has changed  
    Protected MethodCalled when the InheritHistoryService property has changed  
    Protected MethodCalled when the InheritMedia property has changed  
    Protected MethodCalled when the InheritStyleSheets property has changed  
    Protected MethodCalled when the Media property has changed  
    Internal Method  
    Internal Method  
    Internal Method  
    Internal Method  
    Internal Method  
    Internal Method  
    Internal MethodOverridden.   
    Internal Method  
    Internal MethodOverridden.   
    Internal Method  
    Top
    Public Events
     NameDescription
    Public EventOccurs when the document Modified property has changed  
    Top
    See Also