C# 클래스 SIL.FieldWorks.IText.InterlinearExporter

InterlinearExporter is an IVwEnv implementation which exports interlinear data to an XmlWriter. Make one of these by creating an XmlTextWriter.
상속: SIL.FieldWorks.Common.RootSites.CollectorEnv
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_cache SIL.FieldWorks.FDO.FdoCache
m_repoObj ICmObjectRepository
m_writer System.Xml.XmlWriter
m_wsManager IWritingSystemManager

공개 메소드들

메소드 설명
AddObj ( int hvoItem, IVwViewConstructor vc, int frag ) : void
AddObjProp ( int tag, IVwViewConstructor vc, int frag ) : void
AddObjVecItems ( int tag, IVwViewConstructor vc, int frag ) : void

This method (as far as I know) will be first called on the StText object, and then recursively from the base implementation for vector items in component objects.

AddProp ( int tag, IVwViewConstructor vc, int frag ) : void
AddString ( ITsString tss ) : void
AddStringAltMember ( int tag, int ws, IVwViewConstructor _vwvc ) : void
AddStringProp ( int tag, IVwViewConstructor _vwvc ) : void
AddTsString ( ITsString tss ) : void
AddUnicodeProp ( int tag, int ws, IVwViewConstructor _vwvc ) : void
Create ( string mode, SIL.FieldWorks.FDO.FdoCache cache, XmlWriter writer, ICmObject objRoot, SIL.FieldWorks.IText.InterlinLineChoices lineChoices, InterlinVc vc ) : InterlinearExporter
ExportDisplay ( ) : void
NoteDependency ( int _rghvo, int rgtag, int chvo ) : void
WriteBeginDocument ( ) : void
WriteEndDocument ( ) : void

보호된 메소드들

메소드 설명
CloseTheObject ( ) : void
InterlinearExporter ( SIL.FieldWorks.FDO.FdoCache cache, XmlWriter writer, ICmObject objRoot, SIL.FieldWorks.IText.InterlinLineChoices lineChoices, InterlinVc vc ) : System
OpenTheObject ( int hvo, int ihvo ) : void
UpdateWsList ( int ws ) : void
WriteGuidAttributeForCurrentObj ( ) : System.Guid
WriteGuidAttributeForObj ( int hvo ) : System.Guid
WriteStartMorpheme ( int hvo ) : void
WriteStartParagraph ( int hvo ) : void
WriteStartPhrase ( int hvo ) : void
WriteStartWord ( int hvo ) : void

비공개 메소드들

메소드 설명
CloseItem ( ) : void
GetMarkedGloss ( int hvo, int tag, int ws ) : ITsString

Glosses must be marked as proclitics or enclitics. See LT-8288.

GetText ( ITsString tss ) : string
GetWsFromTsString ( ITsString tss ) : int
OpenItem ( string itemType ) : void
SetRootObject ( ICmObject objRoot ) : void

This allows the exporter to be called multiple times with different roots.

SetTextTitleAndMetadata ( IStText txt ) : void

Sets title, abbreviation, source and comment(description) data for the text.

WriteItem ( int tag, string itemType, int alt ) : void
WriteItem ( string itemType, ITsString tss ) : void
WriteLangAndContent ( int ws, ITsString tss ) : void

Write a lang attribute identifying the string, then its content as the body of an element.

WritePendingItem ( string itemType, ITsString &tss ) : void

Write an item consisting of the specified string, and clear it.

WritePrefixLangAlt ( int ws, int tag ) : void

메소드 상세

AddObj() 공개 메소드

public AddObj ( int hvoItem, IVwViewConstructor vc, int frag ) : void
hvoItem int
vc IVwViewConstructor
frag int
리턴 void

AddObjProp() 공개 메소드

public AddObjProp ( int tag, IVwViewConstructor vc, int frag ) : void
tag int
vc IVwViewConstructor
frag int
리턴 void

AddObjVecItems() 공개 메소드

This method (as far as I know) will be first called on the StText object, and then recursively from the base implementation for vector items in component objects.
public AddObjVecItems ( int tag, IVwViewConstructor vc, int frag ) : void
tag int
vc IVwViewConstructor
frag int
리턴 void

AddProp() 공개 메소드

public AddProp ( int tag, IVwViewConstructor vc, int frag ) : void
tag int
vc IVwViewConstructor
frag int
리턴 void

AddString() 공개 메소드

public AddString ( ITsString tss ) : void
tss ITsString
리턴 void

AddStringAltMember() 공개 메소드

public AddStringAltMember ( int tag, int ws, IVwViewConstructor _vwvc ) : void
tag int
ws int
_vwvc IVwViewConstructor
리턴 void

AddStringProp() 공개 메소드

public AddStringProp ( int tag, IVwViewConstructor _vwvc ) : void
tag int
_vwvc IVwViewConstructor
리턴 void

AddTsString() 공개 메소드

public AddTsString ( ITsString tss ) : void
tss ITsString
리턴 void

AddUnicodeProp() 공개 메소드

public AddUnicodeProp ( int tag, int ws, IVwViewConstructor _vwvc ) : void
tag int
ws int
_vwvc IVwViewConstructor
리턴 void

CloseTheObject() 보호된 메소드

protected CloseTheObject ( ) : void
리턴 void

Create() 공개 정적인 메소드

public static Create ( string mode, SIL.FieldWorks.FDO.FdoCache cache, XmlWriter writer, ICmObject objRoot, SIL.FieldWorks.IText.InterlinLineChoices lineChoices, InterlinVc vc ) : InterlinearExporter
mode string
cache SIL.FieldWorks.FDO.FdoCache
writer System.Xml.XmlWriter
objRoot ICmObject
lineChoices SIL.FieldWorks.IText.InterlinLineChoices
vc InterlinVc
리턴 InterlinearExporter

ExportDisplay() 공개 메소드

public ExportDisplay ( ) : void
리턴 void

InterlinearExporter() 보호된 메소드

protected InterlinearExporter ( SIL.FieldWorks.FDO.FdoCache cache, XmlWriter writer, ICmObject objRoot, SIL.FieldWorks.IText.InterlinLineChoices lineChoices, InterlinVc vc ) : System
cache SIL.FieldWorks.FDO.FdoCache
writer System.Xml.XmlWriter
objRoot ICmObject
lineChoices SIL.FieldWorks.IText.InterlinLineChoices
vc InterlinVc
리턴 System

NoteDependency() 공개 메소드

public NoteDependency ( int _rghvo, int rgtag, int chvo ) : void
_rghvo int
rgtag int
chvo int
리턴 void

OpenTheObject() 보호된 메소드

protected OpenTheObject ( int hvo, int ihvo ) : void
hvo int
ihvo int
리턴 void

UpdateWsList() 보호된 메소드

protected UpdateWsList ( int ws ) : void
ws int
리턴 void

WriteBeginDocument() 공개 메소드

public WriteBeginDocument ( ) : void
리턴 void

WriteEndDocument() 공개 메소드

public WriteEndDocument ( ) : void
리턴 void

WriteGuidAttributeForCurrentObj() 보호된 메소드

protected WriteGuidAttributeForCurrentObj ( ) : System.Guid
리턴 System.Guid

WriteGuidAttributeForObj() 보호된 메소드

protected WriteGuidAttributeForObj ( int hvo ) : System.Guid
hvo int
리턴 System.Guid

WriteStartMorpheme() 보호된 메소드

protected WriteStartMorpheme ( int hvo ) : void
hvo int
리턴 void

WriteStartParagraph() 보호된 메소드

protected WriteStartParagraph ( int hvo ) : void
hvo int
리턴 void

WriteStartPhrase() 보호된 메소드

protected WriteStartPhrase ( int hvo ) : void
hvo int
리턴 void

WriteStartWord() 보호된 메소드

protected WriteStartWord ( int hvo ) : void
hvo int
리턴 void

프로퍼티 상세

m_cache 보호되어 있는 프로퍼티

protected FdoCache,SIL.FieldWorks.FDO m_cache
리턴 SIL.FieldWorks.FDO.FdoCache

m_repoObj 보호되어 있는 프로퍼티

protected ICmObjectRepository m_repoObj
리턴 ICmObjectRepository

m_writer 보호되어 있는 프로퍼티

protected XmlWriter,System.Xml m_writer
리턴 System.Xml.XmlWriter

m_wsManager 보호되어 있는 프로퍼티

protected IWritingSystemManager m_wsManager
리턴 IWritingSystemManager