Свойство | Тип | Описание | |
---|---|---|---|
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 |
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.
|
public AddDerivedProp ( int _rgtag, int ctag, IVwViewConstructor _vwvc, int frag ) : void | ||
_rgtag | int | |
ctag | int | |
_vwvc | IVwViewConstructor | |
frag | int | |
Результат | void |
public AddGenDateProp ( int tag ) : void | ||
tag | int | tag |
Результат | void |
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 |
public AddLazyItems ( int _rghvo, int chvo, IVwViewConstructor _vwvc, int frag ) : void | ||
_rghvo | int | _rghvo |
chvo | int | chvo |
_vwvc | IVwViewConstructor | _vwvc |
frag | int | frag |
Результат | void |
public AddLazyVecItems ( int tag, IVwViewConstructor vc, int frag ) : void | ||
tag | int | |
vc | IVwViewConstructor | |
frag | int | |
Результат | void |
public AddObj ( int hvoItem, IVwViewConstructor vc, int frag ) : void | ||
hvoItem | int | The hvo item. |
vc | IVwViewConstructor | The vc. |
frag | int | The frag. |
Результат | void |
public AddObjProp ( int tag, IVwViewConstructor vc, int frag ) : void | ||
tag | int | The tag. |
vc | IVwViewConstructor | The vc. |
frag | int | The frag. |
Результат | void |
public AddObjVec ( int tag, IVwViewConstructor vc, int frag ) : void | ||
tag | int | The tag. |
vc | IVwViewConstructor | The vc. |
frag | int | The frag. |
Результат | void |
public AddObjVecItems ( int tag, IVwViewConstructor vc, int frag ) : void | ||
tag | int | |
vc | IVwViewConstructor | |
frag | int | |
Результат | void |
public AddPicture ( IPicture _pict, int tag, int dxmpWidth, int dympHeight ) : void | ||
_pict | IPicture | _pict |
tag | int | tag |
dxmpWidth | int | dxmpWidth |
dympHeight | int | dympHeight |
Результат | void |
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 |
public AddProp ( int tag, IVwViewConstructor vc, int frag ) : void | ||
tag | int | The tag. |
vc | IVwViewConstructor | The vc. |
frag | int | The frag. |
Результат | void |
protected AddResultString ( string s ) : void | ||
s | string | The s. |
Результат | void |
public AddReversedObjVecItems ( int tag, IVwViewConstructor vc, int frag ) : void | ||
tag | int | The tag. |
vc | IVwViewConstructor | The vc. |
frag | int | The frag. |
Результат | void |
public AddSimpleRect ( int rgb, int dmpWidth, int dmpHeight, int dmpBaselineOffset ) : void | ||
rgb | int | |
dmpWidth | int | |
dmpHeight | int | |
dmpBaselineOffset | int | |
Результат | void |
public AddString ( ITsString tss ) : void | ||
tss | ITsString | The TSS. |
Результат | void |
public AddStringAltMember ( int tag, int ws, IVwViewConstructor _vwvc ) : void | ||
tag | int | tag |
ws | int | ws |
_vwvc | IVwViewConstructor | _vwvc |
Результат | void |
public AddStringAltSeq ( int tag, int _rgenc, int cws ) : void | ||
tag | int | tag |
_rgenc | int | _rgenc |
cws | int | cws |
Результат | void |
public AddStringProp ( int tag, IVwViewConstructor _vwvc ) : void | ||
tag | int | tag |
_vwvc | IVwViewConstructor | _vwvc |
Результат | void |
public AddTimeProp ( int tag, uint flags ) : void | ||
tag | int | |
flags | uint | |
Результат | void |
public AddTsString ( ITsString tss ) : void | ||
tss | ITsString | The string. |
Результат | void |
public AddUnicodeProp ( int tag, int ws, IVwViewConstructor _vwvc ) : void | ||
tag | int | tag |
ws | int | ws |
_vwvc | IVwViewConstructor | _vwvc |
Результат | void |
public AddWindow ( IVwEmbeddedWindow _ew, int dmpAscent, bool fJustifyRight, bool fAutoShow ) : void | ||
_ew | IVwEmbeddedWindow | |
dmpAscent | int | |
fJustifyRight | bool | |
fAutoShow | bool | |
Результат | void |
protected CPropPrev ( int tag ) : int | ||
tag | int | The tag/flid to check. |
Результат | int |
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 |
protected static ConvertVwEnvStackToSelLevInfo ( IList |
||
locationStack | IList |
The vwEnv collector stack. |
cPropPrevRootLevel | int | The count of previous occurrences of the base item on the stack.. |
Результат | SelLevInfo[] |
protected DisplayThisObject ( int hvoItem, int tag ) : bool | ||
hvoItem | int | The hvo item. |
tag | int | The tag. |
Результат | bool |
public EmptyParagraphBehavior ( int behavior ) : void | ||
behavior | int | |
Результат | void |
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 |
public MakeColumnGroup ( int nColSpan, VwLength vlWidth ) : void | ||
nColSpan | int | |
vlWidth | VwLength | |
Результат | void |
public MakeColumns ( int nColSpan, VwLength vlWidth ) : void | ||
nColSpan | int | |
vlWidth | VwLength | |
Результат | void |
public NoteDependency ( int rghvo, int rgtag, int chvo ) : void | ||
rghvo | int | _rghvo |
rgtag | int | _rgtag |
chvo | int | chvo |
Результат | void |
public NoteStringValDependency ( int hvo, int tag, int ws, ITsString _tssVal ) : void | ||
hvo | int | |
tag | int | |
ws | int | |
_tssVal | ITsString | |
Результат | void |
public OpenConcPara ( int ichMinItem, int ichLimItem, VwConcParaOpts cpoFlags, int dmpAlign ) : void | ||
ichMinItem | int | |
ichLimItem | int | |
cpoFlags | VwConcParaOpts | |
dmpAlign | int | |
Результат | void |
public OpenOverridePara ( int cOverrideProperties, DispPropOverride _rgOverrideProperties ) : void | ||
cOverrideProperties | int | cOverrideProperties |
_rgOverrideProperties | DispPropOverride | _rgOverrideProperties |
Результат | void |
protected OpenProp ( int tag, int ws ) : void | ||
tag | int | The tag. |
ws | int | The ws. |
Результат | void |
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 |
public OpenTableCell ( int nRowSpan, int nColSpan ) : void | ||
nRowSpan | int | |
nColSpan | int | |
Результат | void |
public OpenTableHeaderCell ( int nRowSpan, int nColSpan ) : void | ||
nRowSpan | int | |
nColSpan | int | |
Результат | void |
protected OpenTheObject ( int hvo, int ihvo ) : void | ||
hvo | int | The hvo. |
ihvo | int | The index of this object in the collection being displayed. |
Результат | void |
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 |
public static ProcessXsltForPass ( string sXsltFile, string sOutputFile, int iPass ) : void | ||
sXsltFile | string | |
sOutputFile | string | |
iPass | int | |
Результат | void |
public static RenameOutputToPassN ( string sOutputFile, int iPass ) : string | ||
sOutputFile | string | The s output file. |
iPass | int | The i pass. |
Результат | string |
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 |
public get_StringWidth ( ITsString tss, ITsTextProps _ttp, int &dmpx, int &dmpy ) : void | ||
tss | ITsString | |
_ttp | ITsTextProps | |
dmpx | int | |
dmpy | int | |
Результат | void |
public set_IntProperty ( int tpt, int tpv, int nValue ) : void | ||
tpt | int | |
tpv | int | |
nValue | int | |
Результат | void |
public set_StringProperty ( int sp, string bstrValue ) : void | ||
sp | int | |
bstrValue | string | |
Результат | void |
protected IDictionary |
||
Результат | int>.IDictionary |