예제 #1
0
        public void GetFootnoteOwnerAndFlid()
        {
            CheckDisposed();

            IStTxtPara para = (IStTxtPara)m_currentText.ParagraphsOS[0];
            ICmObject  owner;
            int        flid;

            Assert.IsTrue(para.GetFootnoteOwnerAndFlid(out owner, out flid));
            Assert.AreEqual(m_currentText.Hvo, owner.Hvo);
            Assert.AreEqual(
                Cache.MetaDataCacheAccessor.GetFieldId("StText", "DummyFootnotesOS", false), flid);
        }