Show / Hide Table of Contents

# Class ServerProjectTranslationDocInfo2

Encapsulates information about a server project translation document. It contains detailed information about the FirstAccept, GroupSourcing and subvendor assignments as well.

##### Inheritance

Object
ServerProjectTranslationDocInfo2

##### Syntax

    public class ServerProjectTranslationDocInfo2

### Fields

#### ConfirmedCharacterCount

The total number of characters in confirmed segments of the document.

##### Declaration

    public int ConfirmedCharacterCount

##### Type

Int32

#### ConfirmedSegmentCount

The total number of confirmed segments in the document.

##### Declaration

    public int ConfirmedSegmentCount

##### Type

Int32

#### ConfirmedWordCount

The total number of words in confirmed segments of the document.

##### Declaration

    public int ConfirmedWordCount

##### Type

Int32

#### DocumentGuid

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

Guid

#### DocumentName

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

String

#### DocumentStatus

The status of the document.

##### Declaration

    public DocumentStatus DocumentStatus

##### Type

DocumentStatus

#### ExportPath

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

String

#### ExternalDocumentId

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

String

#### ImportPath

The path the document was imported from.

##### Declaration

    public string ImportPath

##### Type

String

#### IsImage

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

Boolean

#### LockedCharacterCount

The total number of characters in locked segments of the document.

##### Declaration

    public int LockedCharacterCount

##### Type

Int32

#### LockedSegmentCount

The total number of locked segments in the document.

##### Declaration

    public int LockedSegmentCount

##### Type

Int32

#### LockedWordCount

The total number of words in locked segments of the document.

##### Declaration

    public int LockedWordCount

##### Type

Int32

#### MajorVersion

The documents current major version number if the document has recorded version history; -1 otherwise.

##### Declaration

    public int MajorVersion

##### Type

Int32

#### MinorVersion

The documents current minor version number if the document has recorded version history; -1 otherwise.

##### Declaration

    public int MinorVersion

##### Type

Int32

#### ParentDocumentId

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

Guid

#### ProofreadCharacterCount

The total number of characters in proofred segments of the document.

##### Declaration

    public int ProofreadCharacterCount

##### Type

Int32

#### ProofreadSegmentCount

The total number of proofred segments in the document.

##### Declaration

    public int ProofreadSegmentCount

##### Type

Int32

#### ProofreadWordCount

The total number of words in proofred segments of the document.

##### Declaration

    public int ProofreadWordCount

##### Type

Int32

#### Reviewer1ConfirmedCharacterCount

The total number of characters in reviewer 1 confirmed segments of the document.

##### Declaration

    public int Reviewer1ConfirmedCharacterCount

##### Type

Int32

#### Reviewer1ConfirmedSegmentCount

The total number of reviewer1 confirmed segments in the document.

##### Declaration

    public int Reviewer1ConfirmedSegmentCount

##### Type

Int32

#### Reviewer1ConfirmedWordCount

The total number of words in reviewer 1 confirmed segments of the document.

##### Declaration

    public int Reviewer1ConfirmedWordCount

##### Type

Int32

#### Slices

The slices of the document if any, null otherwise.

##### Declaration

    public ServerProjectTranslationDocSliceInfo[] Slices

##### Type

ServerProjectTranslationDocSliceInfo[]

#### TargetLangCode

The three+(two) letter code of the target language of the document. (such as fre, eng, eng-US).

##### Declaration

    public string TargetLangCode

##### Type

String

#### TotalCharacterCount

The total number of characters in the document, including the number of characters in locked segments.

##### Declaration

    public int TotalCharacterCount

##### Type

Int32

#### TotalSegmentCount

The total number of segments in the document, including the number of locked segments.

##### Declaration

    public int TotalSegmentCount

##### Type

Int32

#### TotalWordCount

The total number of words in the document, including the number of words in locked segments.

##### Declaration

    public int TotalWordCount

##### Type

Int32

#### UserAssignments

The users/user groups/subvendor groups assigned to the translation document.

##### Declaration

    public TranslationDocumentDetailedAssignmentInfo[] UserAssignments

##### Type

TranslationDocumentDetailedAssignmentInfo[]

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

String

#### WeightedChars

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

Single

#### WeightedWords

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

Single

#### WorkflowStatus

The workflow status of the document.

##### Declaration

    public WorkflowStatus WorkflowStatus

##### Type

WorkflowStatus