C# Класс SIL.FieldWorks.Common.RootSites.SimpleRootSiteTests.SimpleRootSiteDataProviderBaseVc

The class that displays the draft view.
Наследование: VwBaseVc
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
AddParagraphBoxContents ( IVwEnv vwenv, System.Action setParagraphProps, System.Action addContents ) : void

Adds the current paragraph's contents.

Описание методов

AddParagraphBoxContents() защищенный Метод

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.
Результат void

EstimateHeight() публичный Метод

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
Результат int

GetStrForGuid() публичный Метод

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
Результат ITsString