예제 #1
0
        public RtfFootnote addFootnote(int position)
        {
            if (!_allowFootnote)
            {
                throw new Exception("Footnote is not allowed.");
            }
            RtfFootnote fnt = new RtfFootnote(position, _text.Length);

            _footnotes.Add(fnt);
            return(fnt);
        }
예제 #2
0
		public RtfFootnote addFootnote(int position)
		{
			if (!_allowFootnote) {
				throw new Exception("Footnote is not allowed.");
			}
			RtfFootnote fnt = new RtfFootnote(position, _text.Length);
			_footnotes.Add(fnt);
			return fnt;
		}