Exemplo n.º 1
0
 internal static DocumentBuilder AddContractSection(this DocumentBuilder builder)
 {
     builder.AddDefaultSection(s =>
     {
         s.SetSize(PaperSize.Letter);
         s.SetOrientation(PageOrientation.Portrait);
         s.SetMargins(new Box(40, 80, 40, 40));
         AddContractTitle(s);
         ReplaceKeyWordsFromDictionary();
         AddContractText(s);
         AddFooter(s);
     });
     builder.AddDefaultSection(s =>
     {
         s.SetSize(PaperSize.Letter);
         s.SetOrientation(PageOrientation.Portrait);
         s.SetMargins(new Box(40, 80, 40, 40));
         AddSignatures(s);
         AddLastFooter(s);
     });
     return(builder);
 }