C# Класс SIL.FieldWorks.Common.RootSites.CollectorEnv

CollectorEnv is a base class for objects that implement the IVwEnv interface. The main implementation (in C++) is normally used to actually produce a Views-based display. This class and its subclasses are used by the same code, but for purposes like producing an equivalent string, or testing whether some display will be blank. Note that collectorEnv does not currently fully support multiple-root-object situations (you would have to call the outer Display() method for each root box, and it would not track ihvoRoot...I'm not quite sure where that might be needed.)
Наследование: IVwEnv
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
m_baseEnv IVwEnv
m_cda IVwCacheDa
m_cpropPrev PrevPropCounter
m_fGotNonPropInfo bool
m_fIsPropOpen bool
m_hvoCurr int
m_mdc IFwMetaDataCache
m_sda ISilDataAccess
m_stack List
m_tagCurrent int
m_vectorItemIndex int>.IDictionary
m_ws int

Открытые методы

Метод Описание
AddDerivedProp ( int _rgtag, int ctag, IVwViewConstructor _vwvc, int frag ) : void

Also not implemented at all by VwEnv.

AddGenDateProp ( int tag ) : void

No easy way to implement this, it depends on a StrUni format method.

AddIntProp ( int tag ) : void

Member AddIntProp

AddIntPropPic ( int tag, IVwViewConstructor _vc, int frag, int nMin, int nMax ) : void

Member AddIntPropPic

AddLazyItems ( int _rghvo, int chvo, IVwViewConstructor _vwvc, int frag ) : void

Rarely if ever used.

AddLazyVecItems ( int tag, IVwViewConstructor vc, int frag ) : void

For our purpose, laziness is not relevant. Equivalent to the non-lazy version.

AddObj ( int hvoItem, IVwViewConstructor vc, int frag ) : void

Adds the obj.

AddObjProp ( int tag, IVwViewConstructor vc, int frag ) : void

Adds the obj prop.

AddObjVec ( int tag, IVwViewConstructor vc, int frag ) : void

Adds the obj vec.

AddObjVecItems ( int tag, IVwViewConstructor vc, int frag ) : void
AddPicture ( IPicture _pict, int tag, int dxmpWidth, int dympHeight ) : void

Member AddAdjustedPicture

AddPictureWithCaption ( IPicture _pict, int tag, ITsTextProps _ttpCaption, int hvoCmFile, int ws, int dxmpWidth, int dympHeight, IVwViewConstructor _vc ) : void

Member AddPicture

AddProp ( int tag, IVwViewConstructor vc, int frag ) : void

Adds the prop.

AddReversedObjVecItems ( int tag, IVwViewConstructor vc, int frag ) : void

Adds the obj vec items in reverse order.

AddSeparatorBar ( ) : void

A rather arbitrary way of representing a bar as a string.

AddSimpleRect ( int rgb, int dmpWidth, int dmpHeight, int dmpBaselineOffset ) : void
AddString ( ITsString tss ) : void

Adds the string.

AddStringAlt ( int tag ) : void

Add all the alternatives, in a very primitive arrangement. Not used much if at all.

AddStringAltMember ( int tag, int ws, IVwViewConstructor _vwvc ) : void

Member AddStringAltMember

AddStringAltSeq ( int tag, int _rgenc, int cws ) : void

An implementation equivalent to the IVwEnv one is fairly trivial, but so unsatisfactory that I'm sure we're not using it.

AddStringProp ( int tag, IVwViewConstructor _vwvc ) : void

Member AddStringProp

AddTimeProp ( int tag, uint flags ) : void

May need to do this one soon. Needs a new interface to give access to the IVwEnv internal methods.

AddTsString ( ITsString tss ) : void

Accumulate a TsString into our result. The base implementation does nothing.

AddUnicodeProp ( int tag, int ws, IVwViewConstructor _vwvc ) : void

Member AddUnicodeProp

AddWindow ( IVwEmbeddedWindow _ew, int dmpAscent, bool fJustifyRight, bool fAutoShow ) : void

Probably unused, but we'll put something in because a window is probably 'something' and therefore interesting to the TestCollectorEnv.

CloseDiv ( ) : void

Nothing to do here.

CloseInnerPile ( ) : void

Call virtual CloseParagraph

CloseParagraph ( ) : void

Nothing to do here.

CloseSpan ( ) : void
CloseTable ( ) : void

Nothing to do here.

CloseTableBody ( ) : void

Nothing to do here.

CloseTableCell ( ) : void

Nothing to do here.

CloseTableFooter ( ) : void

Nothing to do here.

CloseTableHeader ( ) : void

Nothing to do here.

CloseTableHeaderCell ( ) : void

Nothing to do here.

CloseTableRow ( ) : void

Nothing to do here.

CollectorEnv ( IVwEnv baseEnv, ISilDataAccess sda, int hvoRoot ) : System

Create one. If the base environment is not null, it is used for various things, such as obtaining 'outer object' information.

CurrentObject ( ) : int

Member CurrentObject

EmptyParagraphBehavior ( int behavior ) : void

Do nothing. This doesn't affect the collection of data.

GetOuterObject ( int iLevel, int &hvo, int &tag, int &ihvo ) : void

Gets the outer object.

IsParagraphOpen ( ) : bool

Current flow object is a paragraph. (But being in a span it will still be true.)

MakeColumnGroup ( int nColSpan, VwLength vlWidth ) : void

Nothing to do here. None of our collectors cares about flow object organization.

MakeColumns ( int nColSpan, VwLength vlWidth ) : void

Nothing to do here. None of our collectors cares about flow object organization.

NoteDependency ( int rghvo, int rgtag, int chvo ) : void

If we're capturing a test on top of a real VwEnv, pass the information on so things will regenerate properly.

NoteStringValDependency ( int hvo, int tag, int ws, ITsString _tssVal ) : void

If we're capturing a test on top of a real VwEnv, pass the information on so things will regenerate properly.

OpenConcPara ( int ichMinItem, int ichLimItem, VwConcParaOpts cpoFlags, int dmpAlign ) : void

Call virtual OpenParagraph

OpenDiv ( ) : void
OpenInnerPile ( ) : void

Call virtual OpenParagraph

OpenMappedPara ( ) : void

Call virtual OpenParagraph

OpenMappedTaggedPara ( ) : void

Call virtual OpenParagraph

OpenOverridePara ( int cOverrideProperties, DispPropOverride _rgOverrideProperties ) : void

Call virtual OpenParagraph

OpenParagraph ( ) : void

Nothing to do here.

OpenSpan ( ) : void

Nothing to do here.

OpenTable ( int cCols, VwLength vlWidth, int mpBorder, VwAlignment vwalign, VwFramePosition frmpos, VwRule vwrule, int mpSpacing, int mpPadding, bool fSelectOneCol ) : void

Nothing to do here.

OpenTableBody ( ) : void

Nothing to do here.

OpenTableCell ( int nRowSpan, int nColSpan ) : void

Nothing to do here.

OpenTableFooter ( ) : void

Nothing to do here.

OpenTableHeader ( ) : void

Nothing to do here.

OpenTableHeaderCell ( int nRowSpan, int nColSpan ) : void
OpenTableRow ( ) : void

Nothing to do here.

OpenTaggedPara ( ) : void

Call virtual OpenParagraph

PostProcess ( string sXsltFile, string sOutputFile, int iPass ) : void

Optionally apply an XSLT to the output file.

ProcessXsltForPass ( string sXsltFile, string sOutputFile, int iPass ) : void

Apply the XSLT to the output file, first renaming it so that the user sees the expected final output file.

RenameOutputToPassN ( string sOutputFile, int iPass ) : string

Renames the output to pass N.

Reset ( ) : void

Resets this instance.

SetParagraphMark ( VwBoundaryMark boundaryMark ) : void

Member SetParagraphMark

get_StringWidth ( ITsString tss, ITsTextProps _ttp, int &dmpx, int &dmpy ) : void

Answer some arbitrary guess. The string length is not very good, but probably good enough for collector results. Non-zero (except for empty strings) in case something divides by it.

set_IntProperty ( int tpt, int tpv, int nValue ) : void

Nothing to do here. None of our collectors cares about integer properties (yet).

set_StringProperty ( int sp, string bstrValue ) : void

Nothing to do here. None of our collectors cares about string properties (yet).

Защищенные методы

Метод Описание
AddResultString ( string s ) : void

Accumulate a string into our result. The base implementation does nothing.

CPropPrev ( int tag ) : int

Gets the count of previous occurrences of the given property at our current stack level.

CheckForNonPropInfo ( ) : void

See whether anything has been added to the view while no property was open, and if so, bump the gap-in-attrs count.

CloseFlowObject ( ) : void

Closes a flow object. Default implementation doesn't care about flow object organization.

CloseProp ( ) : void

Closes the prop. Does nothing as yet, but keeps things analogous to real VwEnv.

CloseTheObject ( ) : void

Closes the object.

ConvertVwEnvStackToSelLevInfo ( IList locationStack, int cPropPrevRootLevel ) : SelLevInfo[]

Converts the VwEnv Collector Stack to a SelLevInfo array.

DisplayThisObject ( int hvoItem, int tag ) : bool

Sub-classes can override

OpenFlowObject ( ) : void

Opens a flow object. Default only cares for the purpose of keeping track of non-property things added, which affects our count of gaps in properties, which is important for figuring out which literal a selection is part of.

OpenProp ( int tag ) : void

Opens the prop.

OpenProp ( int tag, int ws ) : void

Opens the prop.

OpenTheObject ( int hvo, int ihvo ) : void

Opens the object.

OpenVecProp ( int tag ) : void

calls OpenProp and starts tracking the vector property.

PopStack ( ) : StackItem

context stack

Приватные методы

Метод Описание
AddResultString ( string s, int ws ) : void

Accumulate a string into our result, with known writing system. This base implementation ignores the writing system.

IncrementPropCount ( int tag ) : void

Increments the property count for the given tag.

NoteAddingSomething ( ) : void

Note that something (box, text, picture) is being added to the display.

Описание методов

AddDerivedProp() публичный Метод

Also not implemented at all by VwEnv.
public AddDerivedProp ( int _rgtag, int ctag, IVwViewConstructor _vwvc, int frag ) : void
_rgtag int
ctag int
_vwvc IVwViewConstructor
frag int
Результат void

AddGenDateProp() публичный Метод

No easy way to implement this, it depends on a StrUni format method.
public AddGenDateProp ( int tag ) : void
tag int tag
Результат void

AddIntProp() публичный Метод

Member AddIntProp
public AddIntProp ( int tag ) : void
tag int tag
Результат void

AddIntPropPic() публичный Метод

Member AddIntPropPic
public AddIntPropPic ( int tag, IVwViewConstructor _vc, int frag, int nMin, int nMax ) : void
tag int tag
_vc IVwViewConstructor The view constructor.
frag int frag
nMin int nMin
nMax int nMax
Результат void

AddLazyItems() публичный Метод

Rarely if ever used.
public AddLazyItems ( int _rghvo, int chvo, IVwViewConstructor _vwvc, int frag ) : void
_rghvo int _rghvo
chvo int chvo
_vwvc IVwViewConstructor _vwvc
frag int frag
Результат void

AddLazyVecItems() публичный Метод

For our purpose, laziness is not relevant. Equivalent to the non-lazy version.
public AddLazyVecItems ( int tag, IVwViewConstructor vc, int frag ) : void
tag int
vc IVwViewConstructor
frag int
Результат void

AddObj() публичный Метод

Adds the obj.
public AddObj ( int hvoItem, IVwViewConstructor vc, int frag ) : void
hvoItem int The hvo item.
vc IVwViewConstructor The vc.
frag int The frag.
Результат void

AddObjProp() публичный Метод

Adds the obj prop.
public AddObjProp ( int tag, IVwViewConstructor vc, int frag ) : void
tag int The tag.
vc IVwViewConstructor The vc.
frag int The frag.
Результат void

AddObjVec() публичный Метод

Adds the obj vec.
public AddObjVec ( int tag, IVwViewConstructor vc, int frag ) : void
tag int The tag.
vc IVwViewConstructor The vc.
frag int The frag.
Результат void

AddObjVecItems() публичный Метод

public AddObjVecItems ( int tag, IVwViewConstructor vc, int frag ) : void
tag int
vc IVwViewConstructor
frag int
Результат void

AddPicture() публичный Метод

Member AddAdjustedPicture
public AddPicture ( IPicture _pict, int tag, int dxmpWidth, int dympHeight ) : void
_pict IPicture _pict
tag int tag
dxmpWidth int dxmpWidth
dympHeight int dympHeight
Результат void

AddPictureWithCaption() публичный Метод

Member AddPicture
public AddPictureWithCaption ( IPicture _pict, int tag, ITsTextProps _ttpCaption, int hvoCmFile, int ws, int dxmpWidth, int dympHeight, IVwViewConstructor _vc ) : void
_pict IPicture _pict
tag int tag
_ttpCaption ITsTextProps The _TTP caption.
hvoCmFile int The hvo cm file.
ws int The ws.
dxmpWidth int Width of the DXMP.
dympHeight int Height of the dymp.
_vc IVwViewConstructor The view constructor.
Результат void

AddProp() публичный Метод

Adds the prop.
public AddProp ( int tag, IVwViewConstructor vc, int frag ) : void
tag int The tag.
vc IVwViewConstructor The vc.
frag int The frag.
Результат void

AddResultString() защищенный Метод

Accumulate a string into our result. The base implementation does nothing.
protected AddResultString ( string s ) : void
s string The s.
Результат void

AddReversedObjVecItems() публичный Метод

Adds the obj vec items in reverse order.
public AddReversedObjVecItems ( int tag, IVwViewConstructor vc, int frag ) : void
tag int The tag.
vc IVwViewConstructor The vc.
frag int The frag.
Результат void

AddSeparatorBar() публичный Метод

A rather arbitrary way of representing a bar as a string.
public AddSeparatorBar ( ) : void
Результат void

AddSimpleRect() публичный Метод

public AddSimpleRect ( int rgb, int dmpWidth, int dmpHeight, int dmpBaselineOffset ) : void
rgb int
dmpWidth int
dmpHeight int
dmpBaselineOffset int
Результат void

AddString() публичный Метод

Adds the string.
public AddString ( ITsString tss ) : void
tss ITsString The TSS.
Результат void

AddStringAlt() публичный Метод

Add all the alternatives, in a very primitive arrangement. Not used much if at all.
public AddStringAlt ( int tag ) : void
tag int tag
Результат void

AddStringAltMember() публичный Метод

Member AddStringAltMember
public AddStringAltMember ( int tag, int ws, IVwViewConstructor _vwvc ) : void
tag int tag
ws int ws
_vwvc IVwViewConstructor _vwvc
Результат void

AddStringAltSeq() публичный Метод

An implementation equivalent to the IVwEnv one is fairly trivial, but so unsatisfactory that I'm sure we're not using it.
public AddStringAltSeq ( int tag, int _rgenc, int cws ) : void
tag int tag
_rgenc int _rgenc
cws int cws
Результат void

AddStringProp() публичный Метод

Member AddStringProp
public AddStringProp ( int tag, IVwViewConstructor _vwvc ) : void
tag int tag
_vwvc IVwViewConstructor _vwvc
Результат void

AddTimeProp() публичный Метод

May need to do this one soon. Needs a new interface to give access to the IVwEnv internal methods.
public AddTimeProp ( int tag, uint flags ) : void
tag int
flags uint
Результат void

AddTsString() публичный Метод

Accumulate a TsString into our result. The base implementation does nothing.
public AddTsString ( ITsString tss ) : void
tss ITsString The string.
Результат void

AddUnicodeProp() публичный Метод

Member AddUnicodeProp
public AddUnicodeProp ( int tag, int ws, IVwViewConstructor _vwvc ) : void
tag int tag
ws int ws
_vwvc IVwViewConstructor _vwvc
Результат void

AddWindow() публичный Метод

Probably unused, but we'll put something in because a window is probably 'something' and therefore interesting to the TestCollectorEnv.
public AddWindow ( IVwEmbeddedWindow _ew, int dmpAscent, bool fJustifyRight, bool fAutoShow ) : void
_ew IVwEmbeddedWindow
dmpAscent int
fJustifyRight bool
fAutoShow bool
Результат void

CPropPrev() защищенный Метод

Gets the count of previous occurrences of the given property at our current stack level.
protected CPropPrev ( int tag ) : int
tag int The tag/flid to check.
Результат int

CheckForNonPropInfo() защищенный Метод

See whether anything has been added to the view while no property was open, and if so, bump the gap-in-attrs count.
protected CheckForNonPropInfo ( ) : void
Результат void

CloseDiv() публичный Метод

Nothing to do here.
public CloseDiv ( ) : void
Результат void

CloseFlowObject() защищенный Метод

Closes a flow object. Default implementation doesn't care about flow object organization.
protected CloseFlowObject ( ) : void
Результат void

CloseInnerPile() публичный Метод

Call virtual CloseParagraph
public CloseInnerPile ( ) : void
Результат void

CloseParagraph() публичный Метод

Nothing to do here.
public CloseParagraph ( ) : void
Результат void

CloseProp() защищенный Метод

Closes the prop. Does nothing as yet, but keeps things analogous to real VwEnv.
protected CloseProp ( ) : void
Результат void

CloseSpan() публичный Метод

public CloseSpan ( ) : void
Результат void

CloseTable() публичный Метод

Nothing to do here.
public CloseTable ( ) : void
Результат void

CloseTableBody() публичный Метод

Nothing to do here.
public CloseTableBody ( ) : void
Результат void

CloseTableCell() публичный Метод

Nothing to do here.
public CloseTableCell ( ) : void
Результат void

CloseTableFooter() публичный Метод

Nothing to do here.
public CloseTableFooter ( ) : void
Результат void

CloseTableHeader() публичный Метод

Nothing to do here.
public CloseTableHeader ( ) : void
Результат void

CloseTableHeaderCell() публичный Метод

Nothing to do here.
public CloseTableHeaderCell ( ) : void
Результат void

CloseTableRow() публичный Метод

Nothing to do here.
public CloseTableRow ( ) : void
Результат void

CloseTheObject() защищенный Метод

Closes the object.
protected CloseTheObject ( ) : void
Результат void

CollectorEnv() публичный Метод

Create one. If the base environment is not null, it is used for various things, such as obtaining 'outer object' information.
public CollectorEnv ( IVwEnv baseEnv, ISilDataAccess sda, int hvoRoot ) : System
baseEnv IVwEnv The base env.
sda ISilDataAccess Data access to get prop values etc.
hvoRoot int The root object to display, if m_baseEnv is null. /// If baseEnv is not null, hvoRoot is ignored.
Результат System

ConvertVwEnvStackToSelLevInfo() защищенный статический Метод

Converts the VwEnv Collector Stack to a SelLevInfo array.
protected static ConvertVwEnvStackToSelLevInfo ( IList locationStack, int cPropPrevRootLevel ) : SelLevInfo[]
locationStack IList The vwEnv collector stack.
cPropPrevRootLevel int The count of previous occurrences of the base item on the stack..
Результат SelLevInfo[]

CurrentObject() публичный Метод

Member CurrentObject
public CurrentObject ( ) : int
Результат int

DisplayThisObject() защищенный Метод

Sub-classes can override
protected DisplayThisObject ( int hvoItem, int tag ) : bool
hvoItem int The hvo item.
tag int The tag.
Результат bool

EmptyParagraphBehavior() публичный Метод

Do nothing. This doesn't affect the collection of data.
public EmptyParagraphBehavior ( int behavior ) : void
behavior int
Результат void

GetOuterObject() публичный Метод

Gets the outer object.
public GetOuterObject ( int iLevel, int &hvo, int &tag, int &ihvo ) : void
iLevel int Index of the outer level to retrieve.
hvo int The hvo.
tag int The tag.
ihvo int The ihvo.
Результат void

IsParagraphOpen() публичный Метод

Current flow object is a paragraph. (But being in a span it will still be true.)
public IsParagraphOpen ( ) : bool
Результат bool

MakeColumnGroup() публичный Метод

Nothing to do here. None of our collectors cares about flow object organization.
public MakeColumnGroup ( int nColSpan, VwLength vlWidth ) : void
nColSpan int
vlWidth VwLength
Результат void

MakeColumns() публичный Метод

Nothing to do here. None of our collectors cares about flow object organization.
public MakeColumns ( int nColSpan, VwLength vlWidth ) : void
nColSpan int
vlWidth VwLength
Результат void

NoteDependency() публичный Метод

If we're capturing a test on top of a real VwEnv, pass the information on so things will regenerate properly.
public NoteDependency ( int rghvo, int rgtag, int chvo ) : void
rghvo int _rghvo
rgtag int _rgtag
chvo int chvo
Результат void

NoteStringValDependency() публичный Метод

If we're capturing a test on top of a real VwEnv, pass the information on so things will regenerate properly.
public NoteStringValDependency ( int hvo, int tag, int ws, ITsString _tssVal ) : void
hvo int
tag int
ws int
_tssVal ITsString
Результат void

OpenConcPara() публичный Метод

Call virtual OpenParagraph
public OpenConcPara ( int ichMinItem, int ichLimItem, VwConcParaOpts cpoFlags, int dmpAlign ) : void
ichMinItem int
ichLimItem int
cpoFlags VwConcParaOpts
dmpAlign int
Результат void

OpenDiv() публичный Метод

public OpenDiv ( ) : void
Результат void

OpenFlowObject() защищенный Метод

Opens a flow object. Default only cares for the purpose of keeping track of non-property things added, which affects our count of gaps in properties, which is important for figuring out which literal a selection is part of.
protected OpenFlowObject ( ) : void
Результат void

OpenInnerPile() публичный Метод

Call virtual OpenParagraph
public OpenInnerPile ( ) : void
Результат void

OpenMappedPara() публичный Метод

Call virtual OpenParagraph
public OpenMappedPara ( ) : void
Результат void

OpenMappedTaggedPara() публичный Метод

Call virtual OpenParagraph
public OpenMappedTaggedPara ( ) : void
Результат void

OpenOverridePara() публичный Метод

Call virtual OpenParagraph
public OpenOverridePara ( int cOverrideProperties, DispPropOverride _rgOverrideProperties ) : void
cOverrideProperties int cOverrideProperties
_rgOverrideProperties DispPropOverride _rgOverrideProperties
Результат void

OpenParagraph() публичный Метод

Nothing to do here.
public OpenParagraph ( ) : void
Результат void

OpenProp() защищенный Метод

Opens the prop.
protected OpenProp ( int tag ) : void
tag int The tag.
Результат void

OpenProp() защищенный Метод

Opens the prop.
protected OpenProp ( int tag, int ws ) : void
tag int The tag.
ws int The ws.
Результат void

OpenSpan() публичный Метод

Nothing to do here.
public OpenSpan ( ) : void
Результат void

OpenTable() публичный Метод

Nothing to do here.
public OpenTable ( int cCols, VwLength vlWidth, int mpBorder, VwAlignment vwalign, VwFramePosition frmpos, VwRule vwrule, int mpSpacing, int mpPadding, bool fSelectOneCol ) : void
cCols int
vlWidth VwLength
mpBorder int
vwalign VwAlignment
frmpos VwFramePosition
vwrule VwRule
mpSpacing int
mpPadding int
fSelectOneCol bool
Результат void

OpenTableBody() публичный Метод

Nothing to do here.
public OpenTableBody ( ) : void
Результат void

OpenTableCell() публичный Метод

Nothing to do here.
public OpenTableCell ( int nRowSpan, int nColSpan ) : void
nRowSpan int
nColSpan int
Результат void

OpenTableFooter() публичный Метод

Nothing to do here.
public OpenTableFooter ( ) : void
Результат void

OpenTableHeader() публичный Метод

Nothing to do here.
public OpenTableHeader ( ) : void
Результат void

OpenTableHeaderCell() публичный Метод

public OpenTableHeaderCell ( int nRowSpan, int nColSpan ) : void
nRowSpan int
nColSpan int
Результат void

OpenTableRow() публичный Метод

Nothing to do here.
public OpenTableRow ( ) : void
Результат void

OpenTaggedPara() публичный Метод

Call virtual OpenParagraph
public OpenTaggedPara ( ) : void
Результат void

OpenTheObject() защищенный Метод

Opens the object.
protected OpenTheObject ( int hvo, int ihvo ) : void
hvo int The hvo.
ihvo int The index of this object in the collection being displayed.
Результат void

OpenVecProp() защищенный Метод

calls OpenProp and starts tracking the vector property.
protected OpenVecProp ( int tag ) : void
tag int
Результат void

PopStack() защищенный Метод

context stack
protected PopStack ( ) : StackItem
Результат StackItem

PostProcess() публичный Метод

Optionally apply an XSLT to the output file.
public PostProcess ( string sXsltFile, string sOutputFile, int iPass ) : void
sXsltFile string The XSLT file.
sOutputFile string The output file.
iPass int The pass number.
Результат void

ProcessXsltForPass() публичный статический Метод

Apply the XSLT to the output file, first renaming it so that the user sees the expected final output file.
public static ProcessXsltForPass ( string sXsltFile, string sOutputFile, int iPass ) : void
sXsltFile string
sOutputFile string
iPass int
Результат void

RenameOutputToPassN() публичный статический Метод

Renames the output to pass N.
public static RenameOutputToPassN ( string sOutputFile, int iPass ) : string
sOutputFile string The s output file.
iPass int The i pass.
Результат string

Reset() публичный Метод

Resets this instance.
public Reset ( ) : void
Результат void

SetParagraphMark() публичный Метод

Member SetParagraphMark
public SetParagraphMark ( VwBoundaryMark boundaryMark ) : void
boundaryMark VwBoundaryMark enumeration value used to represent the paragraph or section /// boundary and whether it is highlighted or not: endOfParagraph, endOfSection, /// endOfParagraphHighlighted, or endofSectionHighlighted ///
Результат void

get_StringWidth() публичный Метод

Answer some arbitrary guess. The string length is not very good, but probably good enough for collector results. Non-zero (except for empty strings) in case something divides by it.
public get_StringWidth ( ITsString tss, ITsTextProps _ttp, int &dmpx, int &dmpy ) : void
tss ITsString
_ttp ITsTextProps
dmpx int
dmpy int
Результат void

set_IntProperty() публичный Метод

Nothing to do here. None of our collectors cares about integer properties (yet).
public set_IntProperty ( int tpt, int tpv, int nValue ) : void
tpt int
tpv int
nValue int
Результат void

set_StringProperty() публичный Метод

Nothing to do here. None of our collectors cares about string properties (yet).
public set_StringProperty ( int sp, string bstrValue ) : void
sp int
bstrValue string
Результат void

Описание свойств

m_baseEnv защищенное свойство

protected IVwEnv m_baseEnv
Результат IVwEnv

m_cda защищенное свойство

This is used to find virtual property handlers in setting notifiers. See LT-8245
protected IVwCacheDa m_cda
Результат IVwCacheDa

m_cpropPrev защищенное свойство

Used for multiple properties at the root level
protected PrevPropCounter m_cpropPrev
Результат PrevPropCounter

m_fGotNonPropInfo защищенное свойство

Set if we add something while m_fIsPropOpen is true; cleared (and we note an occurrence of ktagNotAnAttr) if it is set when clearing m_fIsPropOpen.
protected bool m_fGotNonPropInfo
Результат bool

m_fIsPropOpen защищенное свойство

set by OpenProp and closeObject, cleared by CloseProp and OpenObject; Keeps track of whether things currently being added are part of some known property of the current object.
protected bool m_fIsPropOpen
Результат bool

m_hvoCurr защищенное свойство

The object we are currently building a display of.
protected int m_hvoCurr
Результат int

m_mdc защищенное свойство

This is used to detect virtual properties in setting notifiers. See LT-8245.
protected IFwMetaDataCache m_mdc
Результат IFwMetaDataCache

m_sda защищенное свойство

protected ISilDataAccess m_sda
Результат ISilDataAccess

m_stack защищенное свойство

Collection of StackItems, keeps track of outer context.
protected List m_stack
Результат List

m_tagCurrent защищенное свойство

Prop currently being built
protected int m_tagCurrent
Результат int

m_vectorItemIndex защищенное свойство

tracks the current vector item being added in AddObj
protected IDictionary m_vectorItemIndex
Результат int>.IDictionary

m_ws защищенное свойство

protected int m_ws
Результат int