Example #1
0
        internal CompiledParagraphInfo RemoveAll()
        {
            CompiledParagraphInfo compiledParagraphInfo = this;

            while (compiledParagraphInfo.m_parentParagraph != null)
            {
                compiledParagraphInfo = compiledParagraphInfo.RemoveParagraph(compiledParagraphInfo.ElementType);
            }
            ApplyPendingMargins();
            compiledParagraphInfo.ResetParagraph();
            return(compiledParagraphInfo);
        }