private static void VulLiturgieTabel(IMppShapeTable inTabel, IMppFactory mppFactory, ILiedFormatter liedFormatter, IEnumerable <ISlideOpbouw> liturgie, string lezen, string tekst, string instellingenLezen, string instellingenTekst, string instellingLiturgie, bool instellingVerkortVerzenBijVolledigeContent)
            {
                var toonLijst = new List <IMppShapeTableContent>();

                toonLijst.Add(mppFactory.GetMppShapeTableContent1Column(0, instellingLiturgie, false));
                foreach (var liturgieItem in liturgie.Where(l => l.TonenInOverzicht))
                {
                    var display = liedFormatter.Liturgie(liturgieItem, instellingVerkortVerzenBijVolledigeContent);
                    var kolom1  = display.Naam;
                    if (liturgieItem.VerwerkenAlsType == VerwerkingType.bijbeltekst)
                    {
                        kolom1 = $"{instellingenLezen}{kolom1}";
                    }
                    var kolom2 = display.SubNaam;
                    var kolom3 = display.Verzen;
                    if (!string.IsNullOrWhiteSpace(kolom3))
                    {
                        kolom3 = $": {kolom3}";
                    }

                    // Bijbeltekst altijd in 1e kolom weergeven, en indien niet zo aangeleverd dan alsnog samenvoegen in kolom 1
                    if (liturgieItem.VerwerkenAlsType == VerwerkingType.bijbeltekst && !string.IsNullOrWhiteSpace(kolom2))
                    {
                        kolom1 = $"{kolom1} {kolom2}{kolom3}".TrimEnd();
                        kolom2 = null;
                        kolom3 = null;
                    }

                    if (!string.IsNullOrWhiteSpace(kolom2) || !string.IsNullOrWhiteSpace(kolom3))
                    {
                        toonLijst.Add(mppFactory.GetMppShapeTableContent3Column(toonLijst.Count, kolom1, kolom2, kolom3));
                    }
                    else
                    {
                        toonLijst.Add(mppFactory.GetMppShapeTableContent1Column(toonLijst.Count, kolom1, true));
                    }
                }
                if (!string.IsNullOrWhiteSpace(lezen))
                {
                    toonLijst.Add(mppFactory.GetMppShapeTableContent1Column(toonLijst.Count, $"{instellingenLezen}{lezen}", true));
                }
                if (!string.IsNullOrWhiteSpace(tekst))
                {
                    toonLijst.Add(mppFactory.GetMppShapeTableContent1Column(toonLijst.Count, $"{instellingenTekst}{tekst}", true));
                }
                inTabel.SetRowsContent(toonLijst);
                inTabel.TrimRows();
            }
 private static void VulLiturgieTabel(IMppShapeTable inTabel, IMppFactory mppFactory, ILiedFormatter liedFormatter, IEnumerable<ILiturgieRegel> liturgie, string lezen, string tekst, string instellingenLezen, string instellingenTekst, string instellingLiturgie)
 {
     var toonLijst = new List<IMppShapeTableContent>();
     toonLijst.Add(mppFactory.GetMppShapeTableContent1Column(0, instellingLiturgie, false));
     foreach (var liturgieItem in liturgie.Where(l => l.TonenInOverzicht))
     {
         var display = liedFormatter.Liturgie(liturgieItem);
         var kolom1 = display.Naam;
         if (liturgieItem.VerwerkenAlsType == VerwerkingType.bijbeltekst)
             kolom1 = $"{instellingenLezen}{kolom1}";
         var kolom2 = display.SubNaam;
         var kolom3 = display.Verzen;
         if (!string.IsNullOrWhiteSpace(kolom3))
             kolom3 = $": {kolom3}";
         if (!string.IsNullOrWhiteSpace(kolom2) || !string.IsNullOrWhiteSpace(kolom3))
             toonLijst.Add(mppFactory.GetMppShapeTableContent3Column(toonLijst.Count, kolom1, kolom2, kolom3));
         else
             toonLijst.Add(mppFactory.GetMppShapeTableContent1Column(toonLijst.Count, kolom1, true));
     }
     if (!string.IsNullOrWhiteSpace(lezen))
         toonLijst.Add(mppFactory.GetMppShapeTableContent1Column(toonLijst.Count, $"{instellingenLezen}{lezen}", true));
     if (!string.IsNullOrWhiteSpace(tekst))
         toonLijst.Add(mppFactory.GetMppShapeTableContent1Column(toonLijst.Count, $"{instellingenTekst}{tekst}", true));
     inTabel.InsertContent(toonLijst);
 }