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
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
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