예제 #1
0
        /// ------------------------------------------------------------------------------------
        /// <summary>
        /// Gets the Scripture reference of the specified annotation as string.
        /// </summary>
        /// <param name="ann">The specified annotation.</param>
        /// ------------------------------------------------------------------------------------
        private string GetRefAsString(ScrScriptureNote ann)
        {
            BCVRef   startRef  = new BCVRef(ann.BeginRef);
            IScrBook book      = m_scr.FindBook(startRef.Book);
            string   titleText = ResourceHelper.GetResourceString("kstidScriptureTitle");
            string   introText = ResourceHelper.GetResourceString("kstidScriptureIntro");

            return(ScrReference.MakeReferenceString(book.BestUIName, startRef, new BCVRef(ann.EndRef),
                                                    m_scr.ChapterVerseSepr, m_scr.Bridge, titleText, introText));
        }