TransUnits object
TransUnit object
AltTranslations object
TransUnitProperties object

The "TransUnit" object represents a translation unit of an XLIFF file.

MemberDescription
DeleteHistoryData Deletes the history data of the translation unit.
DeleteHistoryData()
GetSourceAndTarget Returns the source and target texts of the translation unit.
GetSourceAndTarget( SourceText As Variant,
TargetText As Variant ) As Boolean
GetState Returns the translation state of the translation unit.
GetState() As String
GetStateQualifier Returns the translation state qualifier of the translation unit.
GetStateQualifier() As String
HasMarker Returns whether the translation unit has a marker at the given position.
HasMarker( Column As RWTMarkerColumns ) As Boolean
IsBinUnit Returns whether the translation unit is a binary unit.
IsBinUnit() As Boolean
RemoveAllMarker Removes all markers from the translation unit.
RemoveAllMarker()
SetMarker Sets the marker or deletes it at the given position.
SetMarker( Column As RWTMarkerColumns, Marker As Boolean ) As Boolean
SetState Sets the translation state of the translation unit.
SetState( enumState As XLIFFTransUnitStates, ExtendedName As String ) As Boolean
SetStateQualifier Sets the translation state qualifier of the translation unit.
SetStateQualifier( enumStateQualifier As XLIFFTransUnitStateQualifier,
ExtendedName As String ) As Boolean
AltTranslations Returns the collection of alternate translations.
Approved Returns or sets whether the translation unit has been approved.
DateTimeModified Returns the date and time of the last modification.
EditorName Returns the name of the editor who last modified the translation unit.
MimeType Returns the mime type of the translation unit.
Note Returns the note of the translation unit or sets it.
Number Returns the node number of the translation unit.
Parent Returns the "TransUnits" collection.
ParentNode Returns the node number of the parent node.
PreviousSource Returns the previous source text.
ProjectFile Returns the corresponding project file.
Properties Returns the collection of properties of the translation unit.
Resname Returns the resname of the translation unit.
Restype Returns the restype of the translation unit.
Source Returns the source text.
Target Returns the target text of the translation unit or sets ist.
Translate Returns the "translate" attribute of the translation unit.
XMLDOMNode Returns the corresponding IXMLDOMNode interface.


Last Updated: 04/27/05