} // DoInsertImage

        protected override void DoEndDocument(IRtfInterpreterContext context)
        {
            FlushPendingText();
            EndParagraph(context);
            _document = new RtfDocument(context, _visualDocumentContent);
            _visualDocumentContent = null;
            _visualDocumentContent = null;
        } // DoEndDocument
        }         // Document

        // ----------------------------------------------------------------------
        protected override void DoBeginDocument(IRtfInterpreterContext context)
        {
            document = null;
            visualDocumentContent = new RtfVisualCollection();
        }         // DoBeginDocument