ProjectFiles object
ProjectFile object
SubFiles object
TransUnits object

The "ProjectFile" object represents a source file in RC-WinTrans.

Properties, Events and Methods

MemberDescription
AddNamespaceURIPrefixAdds a namespace URI definition to the XLIFF source file.
AddNamespaceURIPrefix( NamespaceURI As String, Prefix As String ) As Boolean
CompareSourceFilesCompares the project file to a given source file. A stand-alone project file for the given source file will be returned. If a translation unit of the calling project file matches a translation unit in the given source file the corresponding translation unit node numbers are stored in the same index in the arrays.
CompareSourceFiles(SourceFileName As String, ImportAlsoSameAsSource As Boolean,
TransUnitNodeNumberArray1 As Variant, TransUnitNodeNumberArray2 As Variant) As ProjectFile
CountChangesReturns the number of changes made so far.
CountChanges() As Long
CountItemsReturns the number of items in the project file.
CountItems() As Long
CountWordsReturns the number of words in the project file.
CountWords() As Long
CreateChangesProtocolCreates a protocol file with the changes of the corresponding source file.
CreateChangesProtocol( ProtocolFile As Variant, DeletedItems As Variant,
NewItems As Variant, ChangedItems As Variant ) As Boolean
GetCorrespondingTransUnitsReturns the project file with the given language loaded as target language. The numbers of the translation units corresponding to the translation units with the numbers given in the InArray are returned in the OutArray for the returned project file.
GetCorrespondingTransUnits( LanguageCode As String, InArray As Variant, OutArray As Variant ) As ProjectFile
GetGroupReturns a "Group" object with the given node number.
GetGroup( NodeNumber As Long ) As Group
GetLanguageFileNameReturns the file name of the XLIFF language file with the given language.
GetLanguageFileName( LanguageCode As String ) As String
GetNamespaceURIPrefixReturns the prefix of a given namespace URI used in the XLIFF source file.
GetNamespaceURIPrefix( NamespaceURI As String ) As String
GetNodeNumberReturns the node number corresponding to the given XMLDOMNode interface.
GetNodeNumber(XMLDOMNode As IXMLDOMNode) As Long
GetSubFileReturns the subfile with the given node number.
GetSubFile( NodeNumber As Long ) As SubFile
GetTargetFileNameReturns the name of the target file with the given target language.
GetTargetFileName(TargetLanguage As String) As String
GetTransUnitReturns the translation unit with the given node number.
GetTransUnit( NodeNumber As Long ) As TransUnit
IsGroupReturns whether the node is a group.
IsGroup( NodeNumber As Long ) As Boolean
IsLoadedReturns whether the project file data is loaded.
IsLoaded() As Boolean
IsSubFileReturns whether the node is a subfile.
IsSubFile( NodeNumber as Long ) As Boolean
IsTargetFileUpToDateReturns whether the default target file for the given target language is up-to-date. This means that the corresponding target file with the default path matches the actual translation of the project file with the given target language.
IsTargetFileUpToDate(TargetLanguage As String) As Boolean
IsTransUnitReturns whether the node is a translation unit.
IsTransUnit( NodeNumber As Long ) As Boolean
IsUpToDateReturns whether the project file for the given target language is up-to-date. "Up-to-date" means that the source file matches the data saved in the database for the given target language.
IsUpToDate(TargetLanguage As String) As Boolean
LoadLoads the project file data.
Load( SourceLanguage As String, TargetLanguage As String ) As Boolean
ReloadReloads the project file.
Reload() As Boolean
RemoveNamespaceURIPrefixRemoves a namespace URI definition from the XLIFF source file.
RemoveNamespaceURIPrefix( NamespaceURI As String ) As Boolean
SaveSaves the project file.
Save() As Boolean
UpdateUpdates the project file for the active target language if changes have been made to the source file.
Update( ProtocolFile As Variant, DeletedItems As Variant, NewItems As Variant,
ChangedItems As Variant ) As Boolean
Update_2Updates the file's data for the given target language if changes have been made to the source file.
Update_2( Language As String, ProtocolFile As Variant, DeletedItems As Variant, NewItems As Variant,
ChangedItems As Variant ) As Boolean
WriteTargetFileWrites a target file for the active target language.
WriteTargetFile( TargetFile As String, PseudoTranslation As Boolean ) As Boolean
WriteTargetFile_2Writes a target file for a given target language.
WriteTargetFile_2( Language As String, TargetFile As String, PseudoTranslation As Boolean ) As Boolean
DatatypeReturns the data type as an enumeration value of the type "XLIFFDatatypes."
DatatypeStringReturns the datatype of the project file as a string.
DateTimeCreatedReturns the date and time that the project file was created.
DateTimeModifiedReturns the date and time that the project file was last modified.
EditorNameReturns the name of the editor who last modified the project file.
ModifiedReturns or sets whether the project file has been modified.
ParentReturns the "ProjectFiles" collection.
SourceFileChangedReturns whether the source file for the active target language has changed.
SourceFileExistReturns whether the source file exists.
SourceFileNameReturns the source file name of the project file.
SubFilesReturns the collection of corresponding subfiles.
TranslationStatusReturns the translation status of the project file.
TransUnitsReturns the collection of translaton units.
XMLDOMDocumentReturns the IXMLDOMDocument interface corresponding to the project file.


Last Updated: 04/27/05