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

The class that displays the draft view.
Inheritance: VwBaseVc
Show file Open project: sillsdev/FieldWorks

Public Methods

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

Protected Methods

Method Description
AddParagraphBoxContents ( IVwEnv vwenv, System.Action setParagraphProps, System.Action addContents ) : void

Adds the current paragraph's contents.

Method Details

AddParagraphBoxContents() protected method

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

EstimateHeight() public method

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

GetStrForGuid() public method

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