C# Class SIL.FieldWorks.Common.RootSites.SimpleRootSiteTests.SimpleRootSiteDataProviderBaseVc

The class that displays the draft view.
Inheritance: VwBaseVc
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode Description
EstimateHeight ( int hvo, int frag, int dxAvailWidth ) : int

This routine is used to estimate the height of an item. The item will be one of those you have added to the environment using AddLazyItems. Note that the calling code does NOT ensure that data for displaying the item in question has been loaded. The first three arguments are as for Display, that is, you are being asked to estimate how much vertical space is needed to display this item in the available width.

GetStrForGuid ( string bstrGuid ) : ITsString

Get the string that should be displayed in place of an object character associated with the specified GUID. This dummy version just returns something similar to what TE would normally put in for an alpha footnote.

Méthodes protégées

Méthode Description
AddParagraphBoxContents ( IVwEnv vwenv, System.Action setParagraphProps, System.Action addContents ) : void

Adds the current paragraph's contents.

Method Details

AddParagraphBoxContents() protected méthode

Adds the current paragraph's contents.
protected AddParagraphBoxContents ( IVwEnv vwenv, System.Action setParagraphProps, System.Action addContents ) : void
vwenv IVwEnv The view environment
setParagraphProps System.Action The set paragraph props.
addContents System.Action add contents to the paragraph flow object.
Résultat void

EstimateHeight() public méthode

This routine is used to estimate the height of an item. The item will be one of those you have added to the environment using AddLazyItems. Note that the calling code does NOT ensure that data for displaying the item in question has been loaded. The first three arguments are as for Display, that is, you are being asked to estimate how much vertical space is needed to display this item in the available width.
public EstimateHeight ( int hvo, int frag, int dxAvailWidth ) : int
hvo int
frag int
dxAvailWidth int
Résultat int

GetStrForGuid() public méthode

Get the string that should be displayed in place of an object character associated with the specified GUID. This dummy version just returns something similar to what TE would normally put in for an alpha footnote.
public GetStrForGuid ( string bstrGuid ) : ITsString
bstrGuid string
Résultat ITsString