示例#1
0
文件: List.cs 项目: zimmermanw84/DocX
        private void ValidateDocXNumberingPartExists()
        {
            var numberingUri = new Uri("/word/numbering.xml", UriKind.Relative);

            // If the internal document contains no /word/numbering.xml create one.
            if (!Document._package.PartExists(numberingUri))
            {
                Document._numbering = HelperFunctions.AddDefaultNumberingXml(Document._package);
            }
        }