XMLtoEG Member Details

XMLtoEG Public Fields


XMLtoEG Public Enumerations


XMLtoEG Constructors
New
The Plain Vanilla Constructor
Public Sub New()
Remarks:
Parameters:


XMLtoEG Public Properties
GraphObjectCount
Count of Graphs, Hooks, and Ligatures in the represented Graph Construction Category: Behavior
Public ReadOnly Property GraphObjectCount() As Int32
Remarks:
IndexParameters:
Return Value:
Int32
GraphObjectParams
Array of Extracted Parameter Sets for Graphs, Hooks, and Ligatures Category: Behavior
Public Property GraphObjectParams() As EGInParams[]
Remarks:
IndexParameters:
Return Value:
EGInParams[]
RootSALocation
Coordinates for the original placement of the RootSA Category: Layout
Public Property RootSALocation() As Point
Remarks:
IndexParameters:
Return Value:
Point
XMLforEG
Well-Formed, valid XML based on BetaGraphs.dtd Category: Behavior
Public Property XMLforEG() As String
Remarks:
IndexParameters:
Return Value:
String
XMLLineCount
Count of the Lines ofXMLforEG Category: Behavior
Public ReadOnly Property XMLLineCount() As Int32
Remarks:
IndexParameters:
Return Value:
Int32
XMLLines
Array of the Lines of XMLforEG Category: Behavior
Public ReadOnly Property XMLLines() As String[]
Remarks:
IndexParameters:
Return Value:
String[]


XMLtoEG Public Methods
EvaluateHookAndLigatureAttributes
Evaluates XML Attributes peculiar to Hooks and Ligatures
Public Function EvaluateHookAndLigatureAttributes(ByVal LineIndex As Int32, ByRef X As Int32, ByRef Y As Int32, ByRef Color As Color, ByRef ShownConnections As String[], ByRef DotNames As String[], ByRef Hooks As String[]) As Boolean
Remarks:
Parameters:
ByVal LineIndex As Int32
ByRef X As Int32
ByRef Y As Int32
ByRef Color As Color
ByRef ShownConnections As String[]
ByRef DotNames As String[]
ByRef Hooks As String[]
Return Value:
Boolean
EvaluateProtoGraphAttributes
Evaluates the Attributes of a ProtoGraph XML Node
Public Function EvaluateProtoGraphAttributes(ByVal LineIndex As Int32, ByRef ObjTypeName As String, ByRef Name As String, ByRef IsFragmentWrapper As Boolean, ByRef PName As String, ByRef Loc As Point, ByRef Size As Size, ByRef BColor As Color, ByRef TColor As Color, ByRef IsRecto As Boolean, ByRef EGRuleSet As CtxMenuStyle) As Boolean
Remarks:
Parameters:
ByVal LineIndex As Int32
ByRef ObjTypeName As String
ByRef Name As String
ByRef IsFragmentWrapper As Boolean
ByRef PName As String
ByRef Loc As Point
ByRef Size As Size
ByRef BColor As Color
ByRef TColor As Color
ByRef IsRecto As Boolean
ByRef EGRuleSet As CtxMenuStyle
Return Value:
Boolean
EvaluateSpotAndDotAttributes
Evaluates XML Attributes peculiar to Dots and Spots
Public Function EvaluateSpotAndDotAttributes(ByVal LineIndex As Int32, ByRef VariableName As String, ByRef HookCount As Int32, ByRef LIWidth As Int32, ByRef LIShape As LIShape, ByRef DragDir As DragDirection, ByRef LigName As String) As Boolean
Remarks:
Parameters:
ByVal LineIndex As Int32
ByRef VariableName As String
ByRef HookCount As Int32
ByRef LIWidth As Int32
ByRef LIShape As LIShape
ByRef DragDir As DragDirection
ByRef LigName As String
Return Value:
Boolean
ExtractValues
Breaks a String of XML into an Array of Strings
Public Function ExtractValues(ByVal xml As String) As String[]
Remarks:
Parameters:
ByVal xml As String
Return Value:
String[]
GetGraphObjectParameters
Returns an Array of EGInParams for the XML Array of this Object
Public Function GetGraphObjectParameters() As EGInParams[]
Remarks:
Parameters:
Return Value:
EGInParams[]
RecreateRootNode
The entry to reconstruction; this Overload based on EGInParams Object in Property GraphObjectParams(0)
Public Function RecreateRootNode() As SheetOfAssertion
Remarks:
Code to reconstruct all SubNodes is entered from here
Parameters:
Return Value:
SheetOfAssertion
RecreateRootNode
The entry to reconstruction, based on a given EGInParams Object
Public Function RecreateRootNode(ByVal PSet As EGInParams) As SheetOfAssertion
Remarks:
Code to reconstruct all SubNodes is entered from here
Parameters:
ByVal PSet As EGInParams
Return Value:
SheetOfAssertion
ShowXMLArray
Returns a String for the Array of XML Lines being processed here
Public Function ShowXMLArray() As String
Remarks:
Parameters:
Return Value:
String
ValidateAndShow
This is essentially a wrapper for ValidateXML and the a Validation EventHandler
Public Function ValidateAndShow(ByVal urlS As String) As Boolean
Remarks:
If XML is invalid, XMLValidationEventHandler will produce MsgBox with notice thereof
Parameters:
ByVal urlS As String
Return Value:
Boolean


XMLtoEG Public Events