private void RenderFrontMatter(USFMDocument frontMatter)
        {
            // reset default format before rendering front matters
            DocxConfig currentConfig = configDocx;

            configDocx = new DocxConfig();

            foreach (var marker in frontMatter.Contents)
            {
                RenderMarker(marker, new StyleConfig());
            }

            // revert to user config format
            configDocx = currentConfig;

            CT_P pHeader = CreateFrontHeader();

            newDoc.Document.body.Items.Add(pHeader);
            newDoc.CreateParagraph().CreateRun().AddBreak(BreakType.PAGE);
        }
 public DocxRenderer(DocxConfig config)
 {
     configDocx = config;
 }
 public DocxRenderer()
 {
     configDocx = new DocxConfig();
 }