C# 클래스 MtEnhancedTradosPlugin.MtTranslationProviderTagPlacer

Holds data on a source segment and the tags it contains, which can be used to insert the tags in the target segment
파일 보기 프로젝트 열기: patrickporter/MT-Enhanced-Trados-Plugin 1 사용 예제들

공개 메소드들

메소드 설명
GetTaggedSegment ( string _returnedText ) : Segment

Returns a tagged segments from a target string containing markup, where the target string represents the translation of the class instance's source segment

MtTranslationProviderTagPlacer ( Segment _sourceSegment ) : System
RemoveTrailingClosingTags ( Segment segment ) : Segment

Microsoft always adds closing tags, but we don't keep track of our tags that way..so the segments always have garbage text at the end with the closing tag markup...this method removes them

비공개 메소드들

메소드 설명
DecodeReturnedText ( string strInput ) : string
GetSourceTagsDict ( ) : MtTag>.Dictionary
GetTargetElements ( ) : string[]

puts returned string into an array of elements

메소드 상세

GetTaggedSegment() 공개 메소드

Returns a tagged segments from a target string containing markup, where the target string represents the translation of the class instance's source segment
public GetTaggedSegment ( string _returnedText ) : Segment
_returnedText string
리턴 Segment

MtTranslationProviderTagPlacer() 공개 메소드

public MtTranslationProviderTagPlacer ( Segment _sourceSegment ) : System
_sourceSegment Segment
리턴 System

RemoveTrailingClosingTags() 공개 메소드

Microsoft always adds closing tags, but we don't keep track of our tags that way..so the segments always have garbage text at the end with the closing tag markup...this method removes them
public RemoveTrailingClosingTags ( Segment segment ) : Segment
segment Segment
리턴 Segment