/// ------------------------------------------------------------------------------------ /// <summary> /// Gets whether the given publication uses uniform line spacing. /// </summary> /// <param name="pubControl">The pub control, which had better be a ScripturePublication /// </param> /// <returns><c>true</c> if this is the correction printout view; otherwise /// <c>false</c></returns> /// ------------------------------------------------------------------------------------ protected virtual bool PublicationUsesUniformLineSpacing(IPublicationView pubControl) { return false; }
public PublicationPresenter(IPublicationView view) { View = view; }
/// ------------------------------------------------------------------------------------ /// <summary> /// Gets whether the given publication uses uniform line spacing. /// </summary> /// <param name="pubControl">The pub control, which had better be a ScripturePublication /// </param> /// <returns><c>true</c> if this is the correction printout view; otherwise /// <c>false</c></returns> /// ------------------------------------------------------------------------------------ protected override bool PublicationUsesUniformLineSpacing(IPublicationView pubControl) { return ((((ScripturePublication)pubControl).ViewType) & (TeViewType.Scripture | TeViewType.View3 | TeViewType.Print)) == (TeViewType.Scripture | TeViewType.View3 | TeViewType.Print); }