using System.Text.RegularExpressions; using Aspose.Words.Replacing; namespace Kreta.BusinessLogic.Utils { public static class MulasztasiErtesitokReplacers { public static Regex TanuloNeveRegex = new Regex("{tanuloNeve}"); public static Regex IntezmenyNeveRegex = new Regex("{intezmenyNeve}"); public static Regex IntezmenyCimeRegex = new Regex("{intezmenyCime}"); public static Regex TagintezmenyNeveRegex = new Regex("{tagintezmenyNeve}"); public static Regex TagintezmenyCimeRegex = new Regex("{tagintezmenyCime}"); public static Regex OsztalyNeveRegex = new Regex("{osztalyNeve}"); public static Regex AnyjaNeveRegex = new Regex("{anyjaNeve}"); public static Regex SzuletesiHelyRegex = new Regex("{szuletesiHely}"); public static Regex SzuletesiIdoRegex = new Regex("{szuletesiIdo}"); public static Regex LakohelyCimeRegex = new Regex("{lakohelyCime}"); public static Regex TartozkodasiCimeRegex = new Regex("{tartozkodasiCime}"); public static Regex OsztalyfonokNeveRegex = new Regex("{osztalyfonokNeve}"); public static Regex OsszesMulasztasSzamaRegex = new Regex("{osszesMulasztasSzama}"); public static Regex IgazoltMulasztasokSzamaRegex = new Regex("{igazoltMulasztasokSzama}"); public static Regex IgazolatlanMulasztasokSzamaRegex = new Regex("{igazolatlanMulasztasokSzama}"); public static Regex IgazoltHozottMulasztasokSzamaRegex = new Regex("{igazoltHozottMulasztasokSzama}"); public static Regex IgazolatlanHozottMulasztasokSzamaRegex = new Regex("{igazolatlanHozottMulasztasokSzama}"); public static Regex KeltezesVarosRegex = new Regex("{keltezesVaros}"); public static Regex KeltezesDatumRegex = new Regex("{keltezesDatum}"); public static Regex IntezmenyVezetoNeveRegex = new Regex("{intezmenyVezetoNeve}"); public static Regex IntezmenyVezetoRegex = new Regex("{intezmenyVezeto}"); public static Regex GondviseloNeveRegex = new Regex("{gondviseloNeve}"); public static Regex GondviseloTelefonszamaRegex = new Regex("{gondviseloTelefonszama}"); public static Regex GondviseloLakohelyeRegex = new Regex("{gondviseloLakohelye}"); public static Regex TanevNeveRegex = new Regex("{tanevNeve}"); public static FindReplaceOptions FindReplaceoptions = new FindReplaceOptions { MatchCase = true, FindWholeWordsOnly = false, ReplacingCallback = new WordTextReplacer(), }; } }