RC-WinTrans Object Model Help |
Class XLIFFFile |
The "XLIFFFile" object represents an XLIFF file with file sections, groups, translation units, and properties. Navigation through the file is possible with the help of node numbers. Each element (file section, group, etc.) has an explicit node number.
Member | Description | |
---|---|---|
AddFileSection | Adds a new file section to the XLIFF file. The function returns the node number of the new file section. AddFileSection( SourceLanguage As String, Original As String,
Datatype As String ) As Long |
|
AddGroup | Adds a group to the node with the given node number. The function returns the node number of the new group. AddGroup( ParentNodeNumber As Long ) As Long
|
|
AddProperty | Adds a property to the node withe the given node number. The function returns whether the "Add" method was successful. AddProperty( ParentNodeNumber As Long, PropertyName As String,
NamespaceURI As String, Value As String ) As Boolean |
|
AddTransUnit | Adds a translation unit to the node with the given node number of the new translation unit. AddTransUnit( ParentNodeNumber As Long, SourceLanguage As String,
SourceText As String, TargetText As String ) As Long |
|
Save | Saves the XLIFF file. Changes will be lost if the XLIFF file is not saved. Save()
|