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
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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