private void FillBandlist(TableCellBuilder cellBuilder) { cellBuilder.SetBorderStroke(Stroke.None); cellBuilder.AddParagraph(ConcertData.TitleBandsList).SetFont(FNT12B).SetMargins(0, 20, 1, 4); cellBuilder.AddParagraph(ConcertData.BandsList).SetFont(FNT9).SetLineSpacing(1.2f).SetMargins(0, 0, 30, 4); cellBuilder.AddParagraph(""); }
private void FillRuleP(TableCellBuilder cellBuilder) { cellBuilder.AddParagraph(ConcertData.TitleRulesOfPurchase).SetFont(FNT12B).SetMargins(10, 10, 1, 4); cellBuilder.SetBorderStroke(strokeLeft: Stroke.None, strokeTop: Stroke.Solid, strokeRight: Stroke.Solid, strokeBottom: Stroke.Solid); cellBuilder.AddParagraph(ConcertData.RulesOfPurchase).SetFont(FNT9).SetLineSpacing(1.2f).SetMargins(10, 0, 10, 4); }
private void Customer(TableCellBuilder cellBuilder) { cellBuilder.AddParagraph(TradeData.CustomerName); foreach (var item in TradeData.CustomerAddress) { cellBuilder.AddParagraph(item); } }
private void FillPersonalInfoCounterFoil(TableCellBuilder cellBuilder) { cellBuilder.SetBorderStroke(Stroke.None).SetBold(true); cellBuilder.AddParagraph(TicketData.Admission).SetLineSpacing(1.4f); cellBuilder.AddParagraph(TicketData.TicketType).SetLineSpacing(1.4f); cellBuilder.AddParagraph(TicketData.Price).SetLineSpacing(1.4f); cellBuilder.AddParagraph(TicketData.Name).SetLineSpacing(1.4f); }
private void FillTicketDataCounterFoil(TableCellBuilder cellBuilder) { cellBuilder.SetBorderStroke(Stroke.None); cellBuilder.AddParagraph("Admission").SetLineSpacing(1.4f); cellBuilder.AddParagraph("Ticket type").SetLineSpacing(1.4f); cellBuilder.AddParagraph("Price").SetLineSpacing(1.4f); cellBuilder.AddParagraph("Name").SetLineSpacing(1.4f); }
void BodyInfo(TableCellBuilder cellBuilder) { cellBuilder.AddParagraph(FirmData.TaxInfo).SetMarginBottom(13).SetFont(FNT9); cellBuilder.AddParagraph("You bought:").SetFont(FNT9).AddTabSymbol() .AddTabulation(300, TabulationType.Right).AddText("Price:").SetFont(FNT9); cellBuilder.AddParagraph(TradeData.Bought).SetFont(FNT9B).AddTabSymbol() .AddTabulation(300, TabulationType.Right).AddText(TradeData.Price).SetFont(FNT9B); }
void Exempt(TableCellBuilder cellBuilder) { cellBuilder.AddParagraph("Callable 04 / 01 / 27 @100").SetFont(FNT10).SetLineSpacing(1.2f).AddTabSymbol() .AddTabulation(254, TabulationType.Right).AddText(TradeData.TaxExempt).SetFont(FNT10); cellBuilder.AddParagraph("Federally Tax Exempt").SetFont(FNT10); cellBuilder .SetBorderStroke(strokeLeft: Stroke.None, strokeTop: Stroke.None, strokeRight: Stroke.None, strokeBottom: Stroke.Solid); }
private void AddConcertData(TableCellBuilder cellBuilder) { cellBuilder .AddParagraph("Nick Cave and the Bad Seeds").SetFont(FNT19B); cellBuilder .AddParagraph("25.05.2021 7:30PM").SetFont(FNT12) .SetBorderStroke(strokeLeft: Stroke.None, strokeTop: Stroke.None, strokeRight: Stroke.None, strokeBottom: Stroke.Solid) .SetBorderWidth(2); }
private void No(TableCellBuilder cellBuilder) { cellBuilder .AddParagraph("E - ticket"); cellBuilder .AddParagraph(TicketData.Eticket).SetLineSpacing(1.5f); cellBuilder .AddImage(Path.Combine("images", "Qr_Code.png")).SetHeight(100); }
private void AddConcertData(TableCellBuilder cellBuilder) { cellBuilder .AddParagraph("Epic Rock Concert").SetFont(FNT19B); cellBuilder .AddParagraph("07/28/2021 9:00PM").SetFont(FNT12) .SetBorderStroke(strokeLeft: Stroke.None, strokeTop: Stroke.None, strokeRight: Stroke.None, strokeBottom: Stroke.Solid) .SetBorderWidth(2); }
private void FillRuleA(int start, int end, TableCellBuilder cellBuilder) { cellBuilder.AddParagraph(ConcertData.TitleRulesOfAttendance).SetFont(FNT12B).SetMargins(10, 10, 1, 4); cellBuilder.SetBorderStroke(strokeLeft: Stroke.Solid, strokeTop: Stroke.Solid, strokeRight: Stroke.None, strokeBottom: Stroke.Solid); foreach (var item in ConcertData.RulesOfAttendance) { cellBuilder.AddParagraph(item).SetFont(FNT9).SetMargins(20, 0, 10, 2); } }
private void No(TableCellBuilder cellBuilder) { cellBuilder .AddParagraph("E - ticket"); cellBuilder .AddParagraph(TicketData.Eticket).SetLineSpacing(1.5f); cellBuilder .AddQRCodeUrl("https://gehtsoftusa.com/", 4, Color.Black, Color.White, false).SetHeight(100); }
private void AddCompanyName(TableCellBuilder cellBuilder) { cellBuilder .SetVerticalAlignment(VerticalAlignment.Center) .SetPadding(13, 0, 0, 0); cellBuilder .AddParagraph(TicketData.Company + " company").SetFont(FNT9); cellBuilder .AddParagraph("Boarding pass").SetFont(FNT15); cellBuilder .AddParagraph("Passenger's coupon").SetFont(FNT8_G); }
private void AddOptionsToCell(TableCellBuilder cellBuilder) { AddParagraph(cellBuilder, "Account options", FNT10_5B); var paragraphBuilder = cellBuilder.AddParagraph(); paragraphBuilder .SetUrlStyle( StyleBuilder.New() .SetFontColor(Color.Blue) .SetFontName("Helvetica") .SetFontSize(7f) .SetFontUnderline(Stroke.Solid, Color.Blue) ) .SetFont(FNT7) .AddTextToParagraph( "A check mark in the box indicates you have these convenient services with your account(s). Go to ") .AddUrlToParagraph("https://" + statementInfo.AccountOptions, statementInfo.AccountOptions) .AddTextToParagraph( " or call the number above if you have questions or if you would like to add new services"); Field[] fields = new Field[] { new Field("Business Online Banking", "true"), new Field("Online Statements", "true"), new Field("Business Bill Pay", "true"), new Field("Business Spending Report", "true"), new Field("Overdraft Protection", "true"), }; AddCheckBoxes(cellBuilder, fields); }
private void Firm(TableCellBuilder cellBuilder) { foreach (var item in FirmData.FirmContact) { cellBuilder.AddParagraph(item); } }
private void FillWhatNextHalf(int start, int end, TableCellBuilder cellBuilder) { for (int i = start; i < end; i++) { cellBuilder.AddParagraph(WhatsNextData[i]).SetMarginBottom(8f); } }
void FillRightBlock(string a, string b, TableCellBuilder cellBuilder) { cellBuilder.AddParagraph(a).SetFont(FNT10).SetLineSpacing(1.2f).AddTabSymbol() .AddTabulation(210, TabulationType.Right).AddText(b).SetFont(FNT10); cellBuilder .SetBorderStroke(strokeLeft: Stroke.None, strokeTop: Stroke.None, strokeRight: Stroke.None, strokeBottom: Stroke.Solid); }
public static void AddParagraph(TableCellBuilder cellBuilder, string text, FontBuilder paragrpaphFont, float bottomMagin = 0.0f) { var paragraphBuilder = cellBuilder.AddParagraph(); paragraphBuilder.AddTextToParagraph(text) .SetMarginBottom(bottomMagin) .SetFont(paragrpaphFont); }
private void AddETK(TableCellBuilder cellBuilder) { cellBuilder .SetFont(FNT9) .AddParagraphToCell("ETK: " + TicketData.ETK); var paragraphBuilder = cellBuilder.AddParagraph("Reg No: " + TicketData.RegNo); paragraphBuilder.SetMarginBottom(4); }
private void AddCardHead(TableCellBuilder outerCellBuilder) { outerCellBuilder.SetPadding(0, 6, 0, 0); var paragraphBuilder = outerCellBuilder.AddParagraph(); paragraphBuilder .SetFont(FNT7B) .AddTextToParagraph("IF PAYING BY VISA, MASTERCARD, DISCOVER OR AMEX, FILL OUT BELOW"); outerCellBuilder.AddTable(FillCardNames); }
public static ParagraphBuilder AddFormRow(TableCellBuilder cellBuilder, string text = "$") { return(cellBuilder.AddParagraph() .AddTabSymbol() .SetFont(FNT7_2) .AddTabulation(30, TabulationType.Right, TabulationLeading.None) .AddTextToParagraph(text, addTabulationSymbol: true) .AddTabulation(96, TabulationType.Right, TabulationLeading.BottomLine)); }
private void AddWithdrawalsDescriptionToCell(TableCellBuilder cellBuilder, string[] text) { cellBuilder .SetFont(FNT7_2) .SetBorderStroke(Stroke.None, Stroke.None, Stroke.None, Stroke.None); foreach (string item in text) { ParagraphBuilder paragraphBuilder = cellBuilder.AddParagraph(); paragraphBuilder.AddText(item); } }
private void AddQuestions(TableCellBuilder cellBuilder) { AddParagraph(cellBuilder, "Questions?", FNT10_5B, 6f); AddParagraph(cellBuilder, "Available by phone 24 hours a day, 7 days a week:\n" + "Telecommunications Relay Services calls accepted", FNT7_9); var paragraphBuilder = cellBuilder.AddParagraph(); paragraphBuilder.SetMarginBottom(6); paragraphBuilder.AddText(statementInfo.PhoneFree).SetFont(FNT9_8B); paragraphBuilder.AddText("(" + statementInfo.Phone + ")").SetFont(FNT7_5); cellBuilder.AddTable(FillCallCentersTable); }
private void FillPersonalInfo(TableCellBuilder cellBuilder) { cellBuilder.AddParagraph(TicketData.Admission).SetLineSpacing(1.4f); cellBuilder.AddParagraph(TicketData.TicketType).SetLineSpacing(1.4f); cellBuilder.AddParagraph(TicketData.Price).SetLineSpacing(1.4f); cellBuilder.AddParagraph(TicketData.Name).SetLineSpacing(1.4f); cellBuilder.AddParagraph(TicketData.Venue).SetLineSpacing(1.4f); cellBuilder.AddParagraph(TicketData.Address).SetLineSpacing(1.4f); }
private void FillTicketData(TableCellBuilder cellBuilder) { cellBuilder.AddParagraph("Admission").SetLineSpacing(1.4f); cellBuilder.AddParagraph("Ticket type").SetLineSpacing(1.4f); cellBuilder.AddParagraph("Price").SetLineSpacing(1.4f); cellBuilder.AddParagraph("Name").SetLineSpacing(1.4f); cellBuilder.AddParagraph("Venue").SetLineSpacing(1.4f); cellBuilder.AddParagraph("Address").SetLineSpacing(1.4f); }
private void AddCalculateEndingBalanceDescriptionToCell( TableCellBuilder cellBuilder, string[] text) { cellBuilder .SetPadding(0, 10, 0, 0) .SetBorderStroke(Stroke.None, Stroke.None, Stroke.None, Stroke.None); for (int i = 0, l = text.Length; i < l; i++) { string item = text[i]; var font = i == 0 ? FNT7_2B : FNT7_2; ParagraphBuilder paragraphBuilder = cellBuilder.AddParagraph(); paragraphBuilder .SetFont(font) .AddText(item); } }
private void AddContactInfo(TableCellBuilder cellBuilder) { cellBuilder.SetBorderStroke(Stroke.None).SetPadding(11, 11, 0, 0); cellBuilder.AddParagraph(ConcertData.TitleHowtoFind).SetFont(FNT12B).SetMargins(0, 9, 1, 4); cellBuilder.AddParagraph(ConcertData.HowToFind).SetFont(FNT9); cellBuilder.AddParagraph(ConcertData.TitleLearn).SetFont(FNT12B).SetMarginTop(10); cellBuilder.AddParagraph(ConcertData.Facebook).SetFont(FNT9) .SetAlignment(HorizontalAlignment.Left); cellBuilder.AddParagraph(ConcertData.Twitter).SetFont(FNT9) .SetAlignment(HorizontalAlignment.Left); cellBuilder.AddParagraph(ConcertData.Instagram).SetFont(FNT9) .SetAlignment(HorizontalAlignment.Left); }
private void AddYourBusiness(TableCellBuilder cellBuilder) { AddParagraph(cellBuilder, "Your Business and " + statementInfo.BankName, FNT13B); var paragraphBuilder = cellBuilder.AddParagraph(); paragraphBuilder .SetUrlStyle( StyleBuilder.New() .SetFontColor(Color.Blue) .SetFontName("Helvetica") .SetFontSize(7.5f) .SetFontUnderline(Stroke.Solid, Color.Blue) .SetBorder(0, Stroke.None, Color.White) ) .SetFont(FNT7_5) .AddTextToParagraph("The plans you establish today will shape your business far into the future. The heart of the planning process is your business plan. Take the time now to build a strong foundation.\nFind out more at ") .AddUrlToParagraph("https://" + statementInfo.BusinessPlan, statementInfo.BusinessPlan) .AddTextToParagraph("."); }
private void BuildHelp(TableCellBuilder cellBuilder) { cellBuilder.AddParagraph("Heed help?") .SetFont(FNT11_B).SetMarginBottom(2); cellBuilder.AddTable(FillHelpTable); }
private void BuildFare(TableCellBuilder cellBuilder) { cellBuilder.AddParagraph("Fare breakdown") .SetFont(FNT11_B).SetMarginBottom(2); cellBuilder.AddTable(FillFareTable); }