/// ------------------------------------------------------------------------------------ /// <summary> /// Gets the writing system for the HVO. This could either be the vernacular or /// analysis writing system. /// </summary> /// <param name="hvo">HVO</param> /// <returns>Writing system</returns> /// ------------------------------------------------------------------------------------ public override int GetWritingSystemForHvo(int hvo) { CheckDisposed(); BtPrintLayoutSideBySideVc vc = Divisions[0].MainVc as BtPrintLayoutSideBySideVc; return(vc.GetWritingSystemForHvo(hvo)); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Creates and returns the primary view construtor for the main view in the layout. /// This is only called once. /// </summary> /// <param name="div"></param> /// <returns>The view constructor to be used for the main view</returns> /// ------------------------------------------------------------------------------------ public override IVwViewConstructor MakeMainVc(DivisionLayoutMgr div) { BtPrintLayoutSideBySideVc vc = new BtPrintLayoutSideBySideVc( TeStVc.LayoutViewTarget.targetPrint, div.FilterInstance, m_styleSheet, m_fdoCache, m_ws); vc.HeightEstimator = this; return(vc); }