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
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Protected Properties

Свойство 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

Méthodes publiques

Méthode 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).

Méthodes protégées

Méthode 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

Méthode 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 méthode

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
Résultat void

AddGenDateProp() public méthode

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

AddIntProp() public méthode

Member AddIntProp
public AddIntProp ( int tag ) : void
tag int tag
Résultat void

AddIntPropPic() public méthode

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
Résultat void

AddLazyItems() public méthode

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
Résultat void

AddLazyVecItems() public méthode

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
Résultat void

AddObj() public méthode

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.
Résultat void

AddObjProp() public méthode

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.
Résultat void

AddObjVec() public méthode

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.
Résultat void

AddObjVecItems() public méthode

public AddObjVecItems ( int tag, IVwViewConstructor vc, int frag ) : void
tag int
vc IVwViewConstructor
frag int
Résultat void

AddPicture() public méthode

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
Résultat void

AddPictureWithCaption() public méthode

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.
Résultat void

AddProp() public méthode

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

AddResultString() protected méthode

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

AddReversedObjVecItems() public méthode

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.
Résultat void

AddSeparatorBar() public méthode

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

AddSimpleRect() public méthode

public AddSimpleRect ( int rgb, int dmpWidth, int dmpHeight, int dmpBaselineOffset ) : void
rgb int
dmpWidth int
dmpHeight int
dmpBaselineOffset int
Résultat void

AddString() public méthode

Adds the string.
public AddString ( ITsString tss ) : void
tss ITsString The TSS.
Résultat void

AddStringAlt() public méthode

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

AddStringAltMember() public méthode

Member AddStringAltMember
public AddStringAltMember ( int tag, int ws, IVwViewConstructor _vwvc ) : void
tag int tag
ws int ws
_vwvc IVwViewConstructor _vwvc
Résultat void

AddStringAltSeq() public méthode

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
Résultat void

AddStringProp() public méthode

Member AddStringProp
public AddStringProp ( int tag, IVwViewConstructor _vwvc ) : void
tag int tag
_vwvc IVwViewConstructor _vwvc
Résultat void

AddTimeProp() public méthode

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
Résultat void

AddTsString() public méthode

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

AddUnicodeProp() public méthode

Member AddUnicodeProp
public AddUnicodeProp ( int tag, int ws, IVwViewConstructor _vwvc ) : void
tag int tag
ws int ws
_vwvc IVwViewConstructor _vwvc
Résultat void

AddWindow() public méthode

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
Résultat void

CPropPrev() protected méthode

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.
Résultat int

CheckForNonPropInfo() protected méthode

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
Résultat void

CloseDiv() public méthode

Nothing to do here.
public CloseDiv ( ) : void
Résultat void

CloseFlowObject() protected méthode

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

CloseInnerPile() public méthode

Call virtual CloseParagraph
public CloseInnerPile ( ) : void
Résultat void

CloseParagraph() public méthode

Nothing to do here.
public CloseParagraph ( ) : void
Résultat void

CloseProp() protected méthode

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

CloseSpan() public méthode

public CloseSpan ( ) : void
Résultat void

CloseTable() public méthode

Nothing to do here.
public CloseTable ( ) : void
Résultat void

CloseTableBody() public méthode

Nothing to do here.
public CloseTableBody ( ) : void
Résultat void

CloseTableCell() public méthode

Nothing to do here.
public CloseTableCell ( ) : void
Résultat void

CloseTableFooter() public méthode

Nothing to do here.
public CloseTableFooter ( ) : void
Résultat void

CloseTableHeader() public méthode

Nothing to do here.
public CloseTableHeader ( ) : void
Résultat void

CloseTableHeaderCell() public méthode

Nothing to do here.
public CloseTableHeaderCell ( ) : void
Résultat void

CloseTableRow() public méthode

Nothing to do here.
public CloseTableRow ( ) : void
Résultat void

CloseTheObject() protected méthode

Closes the object.
protected CloseTheObject ( ) : void
Résultat void

CollectorEnv() public méthode

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.
Résultat System

ConvertVwEnvStackToSelLevInfo() protected static méthode

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..
Résultat SelLevInfo[]

CurrentObject() public méthode

Member CurrentObject
public CurrentObject ( ) : int
Résultat int

DisplayThisObject() protected méthode

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

EmptyParagraphBehavior() public méthode

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

GetOuterObject() public méthode

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.
Résultat void

IsParagraphOpen() public méthode

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

MakeColumnGroup() public méthode

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

MakeColumns() public méthode

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

NoteDependency() public méthode

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
Résultat void

NoteStringValDependency() public méthode

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
Résultat void

OpenConcPara() public méthode

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

OpenDiv() public méthode

public OpenDiv ( ) : void
Résultat void

OpenFlowObject() protected méthode

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
Résultat void

OpenInnerPile() public méthode

Call virtual OpenParagraph
public OpenInnerPile ( ) : void
Résultat void

OpenMappedPara() public méthode

Call virtual OpenParagraph
public OpenMappedPara ( ) : void
Résultat void

OpenMappedTaggedPara() public méthode

Call virtual OpenParagraph
public OpenMappedTaggedPara ( ) : void
Résultat void

OpenOverridePara() public méthode

Call virtual OpenParagraph
public OpenOverridePara ( int cOverrideProperties, DispPropOverride _rgOverrideProperties ) : void
cOverrideProperties int cOverrideProperties
_rgOverrideProperties DispPropOverride _rgOverrideProperties
Résultat void

OpenParagraph() public méthode

Nothing to do here.
public OpenParagraph ( ) : void
Résultat void

OpenProp() protected méthode

Opens the prop.
protected OpenProp ( int tag ) : void
tag int The tag.
Résultat void

OpenProp() protected méthode

Opens the prop.
protected OpenProp ( int tag, int ws ) : void
tag int The tag.
ws int The ws.
Résultat void

OpenSpan() public méthode

Nothing to do here.
public OpenSpan ( ) : void
Résultat void

OpenTable() public méthode

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
Résultat void

OpenTableBody() public méthode

Nothing to do here.
public OpenTableBody ( ) : void
Résultat void

OpenTableCell() public méthode

Nothing to do here.
public OpenTableCell ( int nRowSpan, int nColSpan ) : void
nRowSpan int
nColSpan int
Résultat void

OpenTableFooter() public méthode

Nothing to do here.
public OpenTableFooter ( ) : void
Résultat void

OpenTableHeader() public méthode

Nothing to do here.
public OpenTableHeader ( ) : void
Résultat void

OpenTableHeaderCell() public méthode

public OpenTableHeaderCell ( int nRowSpan, int nColSpan ) : void
nRowSpan int
nColSpan int
Résultat void

OpenTableRow() public méthode

Nothing to do here.
public OpenTableRow ( ) : void
Résultat void

OpenTaggedPara() public méthode

Call virtual OpenParagraph
public OpenTaggedPara ( ) : void
Résultat void

OpenTheObject() protected méthode

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.
Résultat void

OpenVecProp() protected méthode

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

PopStack() protected méthode

context stack
protected PopStack ( ) : StackItem
Résultat StackItem

PostProcess() public méthode

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.
Résultat void

ProcessXsltForPass() public static méthode

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
Résultat void

RenameOutputToPassN() public static méthode

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.
Résultat string

Reset() public méthode

Resets this instance.
public Reset ( ) : void
Résultat void

SetParagraphMark() public méthode

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 ///
Résultat void

get_StringWidth() public méthode

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
Résultat void

set_IntProperty() public méthode

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
Résultat void

set_StringProperty() public méthode

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
Résultat void

Property Details

m_baseEnv protected_oe property

protected IVwEnv m_baseEnv
Résultat IVwEnv

m_cda protected_oe property

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

m_cpropPrev protected_oe property

Used for multiple properties at the root level
protected PrevPropCounter m_cpropPrev
Résultat 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
Résultat 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
Résultat bool

m_hvoCurr protected_oe property

The object we are currently building a display of.
protected int m_hvoCurr
Résultat int

m_mdc protected_oe property

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

m_sda protected_oe property

protected ISilDataAccess m_sda
Résultat ISilDataAccess

m_stack protected_oe property

Collection of StackItems, keeps track of outer context.
protected List m_stack
Résultat List

m_tagCurrent protected_oe property

Prop currently being built
protected int m_tagCurrent
Résultat int

m_vectorItemIndex protected_oe property

tracks the current vector item being added in AddObj
protected IDictionary m_vectorItemIndex
Résultat int>.IDictionary

m_ws protected_oe property

protected int m_ws
Résultat int