Class ServerProjectTranslationDocInfo
Represents information about a server project translation document.
Syntax
public class ServerProjectTranslationDocInfo
Remarks
It does not contain detailed information about the FirstAccept, GroupSourcing and subvendor assignments. These information is covered by the ServerProjectTranslationDocInfo2 class.
Fields
ConfirmedCharacterCount
The total number of characters in confirmed segments of the document.
Declaration
public int ConfirmedCharacterCount
Type
Int32ConfirmedSegmentCount
The total number of confirmed segments in the document.
Declaration
public int ConfirmedSegmentCount
Type
Int32ConfirmedWordCount
The total number of words in confirmed segments of the document.
Declaration
public int ConfirmedWordCount
Type
Int32DocumentGuid
The Guid of the document that uniquely identifies the document within a server project. Two documents within two separate projects can have the same Guid: e.g. exporting a bilingual doc from projectA, and then importing it into projectB the two documents will have the same Guid (it is preserved during a bilingual export/import).
Declaration
public Guid DocumentGuid
Type
GuidDocumentName
The name of the document. Unique within a project for a specific target language. This is the name of the uploaded file without the extension. E.g.: "mydoc" for the uploaded doc "mydoc.txt". If a file is imported into a project with a name that conflicts with the name of an existing project document, then a number is appended to the name of the newly imported document. E.g. if documents with name "mydoc" and "mydoc1" exist within a project, then the importing of a file with name "mydoc.rtf" will have the "mydoc2" name.
Declaration
public string DocumentName
Type
StringDocumentStatus
The status of the document.
Declaration
public DocumentStatus DocumentStatus
Type
DocumentStatusExportPath
The default export path of the document. The path is determined by the Export Path rules associated to the project at the time of document import. The value is null if the document was imported through the webservice.
Declaration
public string ExportPath
Type
StringExternalDocumentId
An identifier of this document which was provided by the caller when importing the document. The value is not created by memoQ; it comes from the caller of the WS API import. Null when not specified during import, or document not imported via the WS API.
Declaration
public string ExternalDocumentId
Type
StringImportPath
The path the document was imported from.
Declaration
public string ImportPath
Type
StringIsImage
True if the document is an image file, false otherwise. Images can be imported into projects and translated, but they require a transcription first. Images are exported into an image localization package and after localization the package is imported back (see ServerProjectService. CreateImageLocalizationPack).
Declaration
public bool IsImage
Type
BooleanLockedCharacterCount
The total number of characters in locked segments of the document.
Declaration
public int LockedCharacterCount
Type
Int32LockedSegmentCount
The total number of locked segments in the document.
Declaration
public int LockedSegmentCount
Type
Int32LockedWordCount
The total number of words in locked segments of the document.
Declaration
public int LockedWordCount
Type
Int32MajorVersion
The documents current major version number if the document has recorded version history; -1 otherwise.
Declaration
public int MajorVersion
Type
Int32MinorVersion
The documents current minor version number if the document has recorded version history; -1 otherwise.
Declaration
public int MinorVersion
Type
Int32ParentDocumentId
Contains the unique identifier of the document which is the "parent" document of this one. When embedded objects are imported (e.g. an Excel spreadsheet embedded in a Word file), these documents are losely connected. Embedded objects are treated as separate documents, but certain operations link them to their parent (e.g. removing a document will remove all of its "children" too). This member contains the id of the parent document for child documents; e.g. the id of the Word document if this document is the embedded spredsheet in it. Value is empty Guid (all zeros) for documents without a parent (most documents which are not embedded objects).
Declaration
public Guid ParentDocumentId
Type
GuidProofreadCharacterCount
The total number of characters in proofred segments of the document.
Declaration
public int ProofreadCharacterCount
Type
Int32ProofreadSegmentCount
The total number of proofred segments in the document.
Declaration
public int ProofreadSegmentCount
Type
Int32ProofreadWordCount
The total number of words in proofred segments of the document.
Declaration
public int ProofreadWordCount
Type
Int32Reviewer1ConfirmedCharacterCount
The total number of characters in reviewer 1 confirmed segments of the document.
Declaration
public int Reviewer1ConfirmedCharacterCount
Type
Int32Reviewer1ConfirmedSegmentCount
The total number of reviewer1 confirmed segments in the document.
Declaration
public int Reviewer1ConfirmedSegmentCount
Type
Int32Reviewer1ConfirmedWordCount
The total number of words in reviewer 1 confirmed segments of the document.
Declaration
public int Reviewer1ConfirmedWordCount
Type
Int32TargetLangCode
The three+(two) letter code of the target language of the document. (such as fre, eng, eng-US).
Declaration
public string TargetLangCode
Type
StringTotalCharacterCount
The total number of characters in the document, including the number of characters in locked segments.
Declaration
public int TotalCharacterCount
Type
Int32TotalSegmentCount
The total number of segments in the document, including the number of locked segments.
Declaration
public int TotalSegmentCount
Type
Int32TotalWordCount
The total number of words in the document, including the number of words in locked segments.
Declaration
public int TotalWordCount
Type
Int32UserAssignments
The users assigned to the translation document with their document assignment role and deadline.
Declaration
public TranslationDocumentUserRoleAssignmentDetails[] UserAssignments
Type
TranslationDocumentUserRoleAssignmentDetails[]Remarks
It does not contain information about the FirstAccept, GroupSourcing and subvendor group assignments. It is covered by the.ServerProjectTranslationDocInfo2 class.
WebTransUrl
The memoQWebTrans URL to open and edit this document. This URL is filled only when (1) the server has webTrans license, (2) memoQWebTrans URL is set in memoQ Server, and (3) the project is enabled for web access. The value is null or empty string otherwise.
Declaration
public string WebTransUrl
Type
StringWeightedChars
The weighted character count of the document. The value may not be available (if there is no analysis available for the document), in which case the value is -1.
Declaration
public float WeightedChars
Type
SingleWeightedWords
The weighted word count of the document. The value may not be available (if there is no analysis available for the document), in which case the value is -1.
Declaration
public float WeightedWords
Type
SingleWorkflowStatus
The workflow status of the document.
Declaration
public WorkflowStatus WorkflowStatus