protected override void Write(PPTXRenderer renderer, ListBlock listBlock) { renderer.PushBlockSetting(renderer.Options.List); renderer.StartTextArea(); for (var i = 0; i < listBlock.Count; i++) { var item = listBlock[i]; var listItem = (ListItemBlock)item; renderer.AddTextRow(new PPTXText() { Bullet = listBlock.IsOrdered ? PPTXBullet.Number : PPTXBullet.Circle }); renderer.WriteChildren(listItem); renderer.WriteReturn(); } renderer.EndTextArea(); renderer.PopBlockSetting(); }