C# Class 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.)
Inheritance: IVwEnv
ファイルを表示 Open project: sillsdev/FieldWorks Class Usage Examples

Protected Properties

Property Type Description
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

Public Methods

Method Description
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).

Protected Methods

Method Description
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

Private Methods

Method Description
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.

Method Details

AddDerivedProp() public method

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
return void

AddGenDateProp() public method

No easy way to implement this, it depends on a StrUni format method.
public AddGenDateProp ( int tag ) : void
tag int tag
return void

AddIntProp() public method

Member AddIntProp
public AddIntProp ( int tag ) : void
tag int tag
return void

AddIntPropPic() public method

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
return void

AddLazyItems() public method

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
return void

AddLazyVecItems() public method

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
return void

AddObj() public method

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.
return void

AddObjProp() public method

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.
return void

AddObjVec() public method

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.
return void

AddObjVecItems() public method

public AddObjVecItems ( int tag, IVwViewConstructor vc, int frag ) : void
tag int
vc IVwViewConstructor
frag int
return void

AddPicture() public method

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
return void

AddPictureWithCaption() public method

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.
return void

AddProp() public method

Adds the prop.
public AddProp ( int tag, IVwViewConstructor vc, int frag ) : void
tag int The tag.
vc IVwViewConstructor The vc.
frag int The frag.
return void

AddResultString() protected method

Accumulate a string into our result. The base implementation does nothing.
protected AddResultString ( string s ) : void
s string The s.
return void

AddReversedObjVecItems() public method

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.
return void

AddSeparatorBar() public method

A rather arbitrary way of representing a bar as a string.
public AddSeparatorBar ( ) : void
return void

AddSimpleRect() public method

public AddSimpleRect ( int rgb, int dmpWidth, int dmpHeight, int dmpBaselineOffset ) : void
rgb int
dmpWidth int
dmpHeight int
dmpBaselineOffset int
return void

AddString() public method

Adds the string.
public AddString ( ITsString tss ) : void
tss ITsString The TSS.
return void

AddStringAlt() public method

Add all the alternatives, in a very primitive arrangement. Not used much if at all.
public AddStringAlt ( int tag ) : void
tag int tag
return void

AddStringAltMember() public method

Member AddStringAltMember
public AddStringAltMember ( int tag, int ws, IVwViewConstructor _vwvc ) : void
tag int tag
ws int ws
_vwvc IVwViewConstructor _vwvc
return void

AddStringAltSeq() public method

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
return void

AddStringProp() public method

Member AddStringProp
public AddStringProp ( int tag, IVwViewConstructor _vwvc ) : void
tag int tag
_vwvc IVwViewConstructor _vwvc
return void

AddTimeProp() public method

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
return void

AddTsString() public method

Accumulate a TsString into our result. The base implementation does nothing.
public AddTsString ( ITsString tss ) : void
tss ITsString The string.
return void

AddUnicodeProp() public method

Member AddUnicodeProp
public AddUnicodeProp ( int tag, int ws, IVwViewConstructor _vwvc ) : void
tag int tag
ws int ws
_vwvc IVwViewConstructor _vwvc
return void

AddWindow() public method

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
return void

CPropPrev() protected method

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.
return int

CheckForNonPropInfo() protected method

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
return void

CloseDiv() public method

Nothing to do here.
public CloseDiv ( ) : void
return void

CloseFlowObject() protected method

Closes a flow object. Default implementation doesn't care about flow object organization.
protected CloseFlowObject ( ) : void
return void

CloseInnerPile() public method

Call virtual CloseParagraph
public CloseInnerPile ( ) : void
return void

CloseParagraph() public method

Nothing to do here.
public CloseParagraph ( ) : void
return void

CloseProp() protected method

Closes the prop. Does nothing as yet, but keeps things analogous to real VwEnv.
protected CloseProp ( ) : void
return void

CloseSpan() public method

public CloseSpan ( ) : void
return void

CloseTable() public method

Nothing to do here.
public CloseTable ( ) : void
return void

CloseTableBody() public method

Nothing to do here.
public CloseTableBody ( ) : void
return void

CloseTableCell() public method

Nothing to do here.
public CloseTableCell ( ) : void
return void

CloseTableFooter() public method

Nothing to do here.
public CloseTableFooter ( ) : void
return void

CloseTableHeader() public method

Nothing to do here.
public CloseTableHeader ( ) : void
return void

CloseTableHeaderCell() public method

Nothing to do here.
public CloseTableHeaderCell ( ) : void
return void

CloseTableRow() public method

Nothing to do here.
public CloseTableRow ( ) : void
return void

CloseTheObject() protected method

Closes the object.
protected CloseTheObject ( ) : void
return void

CollectorEnv() public method

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.
return System

ConvertVwEnvStackToSelLevInfo() protected static method

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..
return SelLevInfo[]

CurrentObject() public method

Member CurrentObject
public CurrentObject ( ) : int
return int

DisplayThisObject() protected method

Sub-classes can override
protected DisplayThisObject ( int hvoItem, int tag ) : bool
hvoItem int The hvo item.
tag int The tag.
return bool

EmptyParagraphBehavior() public method

Do nothing. This doesn't affect the collection of data.
public EmptyParagraphBehavior ( int behavior ) : void
behavior int
return void

GetOuterObject() public method

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.
return void

IsParagraphOpen() public method

Current flow object is a paragraph. (But being in a span it will still be true.)
public IsParagraphOpen ( ) : bool
return bool

MakeColumnGroup() public method

Nothing to do here. None of our collectors cares about flow object organization.
public MakeColumnGroup ( int nColSpan, VwLength vlWidth ) : void
nColSpan int
vlWidth VwLength
return void

MakeColumns() public method

Nothing to do here. None of our collectors cares about flow object organization.
public MakeColumns ( int nColSpan, VwLength vlWidth ) : void
nColSpan int
vlWidth VwLength
return void

NoteDependency() public method

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
return void

NoteStringValDependency() public method

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
return void

OpenConcPara() public method

Call virtual OpenParagraph
public OpenConcPara ( int ichMinItem, int ichLimItem, VwConcParaOpts cpoFlags, int dmpAlign ) : void
ichMinItem int
ichLimItem int
cpoFlags VwConcParaOpts
dmpAlign int
return void

OpenDiv() public method

public OpenDiv ( ) : void
return void

OpenFlowObject() protected method

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
return void

OpenInnerPile() public method

Call virtual OpenParagraph
public OpenInnerPile ( ) : void
return void

OpenMappedPara() public method

Call virtual OpenParagraph
public OpenMappedPara ( ) : void
return void

OpenMappedTaggedPara() public method

Call virtual OpenParagraph
public OpenMappedTaggedPara ( ) : void
return void

OpenOverridePara() public method

Call virtual OpenParagraph
public OpenOverridePara ( int cOverrideProperties, DispPropOverride _rgOverrideProperties ) : void
cOverrideProperties int cOverrideProperties
_rgOverrideProperties DispPropOverride _rgOverrideProperties
return void

OpenParagraph() public method

Nothing to do here.
public OpenParagraph ( ) : void
return void

OpenProp() protected method

Opens the prop.
protected OpenProp ( int tag ) : void
tag int The tag.
return void

OpenProp() protected method

Opens the prop.
protected OpenProp ( int tag, int ws ) : void
tag int The tag.
ws int The ws.
return void

OpenSpan() public method

Nothing to do here.
public OpenSpan ( ) : void
return void

OpenTable() public method

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
return void

OpenTableBody() public method

Nothing to do here.
public OpenTableBody ( ) : void
return void

OpenTableCell() public method

Nothing to do here.
public OpenTableCell ( int nRowSpan, int nColSpan ) : void
nRowSpan int
nColSpan int
return void

OpenTableFooter() public method

Nothing to do here.
public OpenTableFooter ( ) : void
return void

OpenTableHeader() public method

Nothing to do here.
public OpenTableHeader ( ) : void
return void

OpenTableHeaderCell() public method

public OpenTableHeaderCell ( int nRowSpan, int nColSpan ) : void
nRowSpan int
nColSpan int
return void

OpenTableRow() public method

Nothing to do here.
public OpenTableRow ( ) : void
return void

OpenTaggedPara() public method

Call virtual OpenParagraph
public OpenTaggedPara ( ) : void
return void

OpenTheObject() protected method

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.
return void

OpenVecProp() protected method

calls OpenProp and starts tracking the vector property.
protected OpenVecProp ( int tag ) : void
tag int
return void

PopStack() protected method

context stack
protected PopStack ( ) : StackItem
return StackItem

PostProcess() public method

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.
return void

ProcessXsltForPass() public static method

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
return void

RenameOutputToPassN() public static method

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.
return string

Reset() public method

Resets this instance.
public Reset ( ) : void
return void

SetParagraphMark() public method

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 ///
return void

get_StringWidth() public method

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
return void

set_IntProperty() public method

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
return void

set_StringProperty() public method

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
return void

Property Details

m_baseEnv protected_oe property

protected IVwEnv m_baseEnv
return IVwEnv

m_cda protected_oe property

This is used to find virtual property handlers in setting notifiers. See LT-8245
protected IVwCacheDa m_cda
return IVwCacheDa

m_cpropPrev protected_oe property

Used for multiple properties at the root level
protected PrevPropCounter m_cpropPrev
return PrevPropCounter

m_fGotNonPropInfo protected_oe property

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
return bool

m_fIsPropOpen protected_oe property

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
return bool

m_hvoCurr protected_oe property

The object we are currently building a display of.
protected int m_hvoCurr
return int

m_mdc protected_oe property

This is used to detect virtual properties in setting notifiers. See LT-8245.
protected IFwMetaDataCache m_mdc
return IFwMetaDataCache

m_sda protected_oe property

protected ISilDataAccess m_sda
return ISilDataAccess

m_stack protected_oe property

Collection of StackItems, keeps track of outer context.
protected List m_stack
return List

m_tagCurrent protected_oe property

Prop currently being built
protected int m_tagCurrent
return int

m_vectorItemIndex protected_oe property

tracks the current vector item being added in AddObj
protected IDictionary m_vectorItemIndex
return int>.IDictionary

m_ws protected_oe property

protected int m_ws
return int