/// ------------------------------------------------------------------------------------ /// <summary> /// Initializes a new instance of the <see cref="BtFootnotePrintLayoutSideBySideVc"/> class. /// </summary> /// <param name="target"></param> /// <param name="filterInstance"></param> /// <param name="styleSheet"></param> /// <param name="cache"></param> /// <param name="btWs">The writing system of the back translation side of the view /// </param> /// ------------------------------------------------------------------------------------ public BtFootnotePrintLayoutSideBySideVc(LayoutViewTarget target, int filterInstance, IVwStylesheet styleSheet, FdoCache cache, int btWs) : base(target, filterInstance) { Cache = cache; PrintLayout = true; m_VcImpl = new BtPrintLayoutSideBySideVcImpl <BtFootnotePrintLayoutSideBySideVc>(target, filterInstance, styleSheet, cache, btWs, true, this, BooksTag); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Initializes a new instance of the DraftViewVc class /// </summary> /// <param name="target">target of the view (printer or draft)</param> /// <param name="filterInstance">Number used to make filters unique for each main /// window</param> /// <param name="styleSheet">Optional stylesheet. Null is okay if this view constructor /// promises never to try to display a back translation</param> /// <param name="displayInTable">True to display the paragraphs in a table layout, /// false otherwise</param> /// ------------------------------------------------------------------------------------ public DraftViewVc(LayoutViewTarget target, int filterInstance, IVwStylesheet styleSheet, bool displayInTable) : base(target, filterInstance) { m_UnfinishedPic = PrepareImage(TeResourceHelper.BackTranslationUnfinishedImage); m_FinishedPic = PrepareImage(TeResourceHelper.BackTranslationFinishedImage); m_CheckedPic = PrepareImage(TeResourceHelper.BackTranslationCheckedImage); m_stylesheet = styleSheet; m_fDisplayInTable = displayInTable; //m_fLazy = true; // This makes the paragraphs lazy. }
/// ----------------------------------------------------------------------------------- /// <summary> /// Initializes a new instance of the <see cref="TeStVc"/> class. /// </summary> /// <param name="target">The LayoutViewTarget</param> /// <param name="filterInstance">Number used to make filters unique for each main /// window</param> /// ------------------------------------------------------------------------------------ public TeStVc(LayoutViewTarget target, int filterInstance) { m_target = target; m_filterInstance = filterInstance; m_updatedPrompts = new Set<int>(); }
/// ----------------------------------------------------------------------------------- /// <summary> /// Initializes a new instance of the <see cref="ScriptureBookIntroVc"/> class. /// </summary> /// <param name="target">target of the view (printer or draft)</param> /// <param name="filterInstance">Number used to make filters unique for each main /// window</param> /// <param name="styleSheet">Optional stylesheet. Null is okay if this view constructor /// promises never to try to display a back translation</param> /// <param name="displayInTable">True to display the paragraphs in a table layout, /// false otherwise</param> /// <param name="sectionTag">Tag (from virtual property) to use for sections.</param> /// ------------------------------------------------------------------------------------ public ScriptureBookIntroVc(LayoutViewTarget target, int filterInstance, IVwStylesheet styleSheet, bool displayInTable, int sectionTag) : base(target, filterInstance, styleSheet, displayInTable) { m_sectionTag = sectionTag; }
/// ----------------------------------------------------------------------------------- /// <summary> /// Initializes a new instance of the <see cref="TeStVc"/> class. /// </summary> /// <param name="target">The LayoutViewTarget</param> /// <param name="filterInstance">Number used to make filters unique for each main /// window</param> /// ------------------------------------------------------------------------------------ public TeStVc(LayoutViewTarget target, int filterInstance) { m_target = target; m_filterInstance = filterInstance; m_updatedPrompts = new Set <int>(); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Initializes a new instance of the FootnoteVc class /// </summary> /// <param name="target">The target.</param> /// <param name="filterInstance">number used to make filters unique for each main /// window</param> /// ------------------------------------------------------------------------------------ public FootnoteVc(LayoutViewTarget target, int filterInstance) : base(target, filterInstance) { }
IVwStylesheet m_stylesheet; // for computing whether a paragraph is cross-ref. #endregion #region Constructor /// ------------------------------------------------------------------------------------ /// <summary> /// Initializes a new instance of the FootnoteVc class /// </summary> /// <param name="filterInstance">number used to make filters unique for each main /// window</param> /// <param name="target">The target.</param> /// <param name="wsDefault">HVO of the default WS to be used for footnotes</param> /// ------------------------------------------------------------------------------------ public FootnoteVc(int filterInstance, LayoutViewTarget target, int wsDefault) : base(target, filterInstance) { m_wsDefault = wsDefault; }
/// -------------------------------------------------------------------------------- /// <summary> /// Initializes a new instance of the <see cref="ScriptureBodyVc"/> class. /// </summary> /// <param name="target">target of the view (printer or draft)</param> /// <param name="filterInstance">Number used to make filters unique for each main /// window</param> /// <param name="styleSheet">Optional stylesheet. Null is okay if this view constructor /// promises never to try to display a back translation</param> /// <param name="displayInTable">True to display the paragraphs in a table layout, /// false otherwise</param> /// -------------------------------------------------------------------------------- public ScriptureBodyVc(LayoutViewTarget target, int filterInstance, IVwStylesheet styleSheet, bool displayInTable) : base(target, filterInstance, styleSheet, displayInTable) { }