|
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 |
|
|
|
|