private void PrintResponse(XRect bounds)
        {
            var font = GetFont();

              Table table = new Table(font);
              table.AddColumn(bounds.Width);
              table.AddRow(GuiResources.SigningRequestDocumentAccepted);
              table.AddRow(GuiResources.SigningRequestDocumentRefusedFingerprintMismatch);
              table.AddRow(GuiResources.SigningRequestDocumentRefusedLost);
              table.AddRow(GuiResources.SigningRequestDocumentRefusedForgotten);
              table.AddRow(GuiResources.SigningRequestDocumentRefusedSignatureInvalid);

              if (this.certificate is VoterCertificate)
              {
            table.AddRow(GuiResources.SigningRequestDocumentRefusedNoMember);
              }
              else
              {
            table.AddRow(GuiResources.SigningRequestDocumentRefusedNotFx);
              }

              table.AddRow(GuiResources.SigningRequestDocumentRefusedHasCertificate);
              table.Draw(new XPoint(bounds.Left, bounds.Top), this.graphics);

              SignObject caSign = new SignObject(this.graphics, GuiResources.SigningRequestDocumentSignCA, GuiResources.SigningRequestDocumentSignSignature, GuiResources.SigningRequestDocumentSignDate, font);
              caSign.SetCenterTop(bounds.Left + bounds.Width / 8f * 7f, bounds.Top);
              caSign.Draw();
        }
        private void PrintRevoke(XRect bounds)
        {
            var font = GetFont();

              Table table = new Table(font);
              table.AddColumn(bounds.Width);
              table.AddRow(GuiResources.SigningRequestDocumentRevokedForgotten);
              table.AddRow(GuiResources.SigningRequestDocumentRevokedLost);
              table.AddRow(GuiResources.SigningRequestDocumentRevokedStolen);

              if (this.certificate is VoterCertificate)
              {
            table.AddRow(GuiResources.SigningRequestDocumentRevokedNoLonger);
              }
              else
              {
            table.AddRow(GuiResources.SigningRequestDocumentRevokedNoMoreFx);
              }

              table.AddRow(GuiResources.SigningRequestDocumentRevokedError);
              table.Draw(new XPoint(bounds.Left, bounds.Top), this.graphics);

              SignObject caSign = new SignObject(this.graphics, GuiResources.SigningRequestDocumentSignCA, GuiResources.SigningRequestDocumentSignSignature, GuiResources.SigningRequestDocumentSignDate, font);
              caSign.SetCenterTop(bounds.Left + bounds.Width / 8f * 7f, bounds.Top);
              caSign.Draw();
        }
        private void PrintRequest(XRect bounds)
        {
            var font = GetFont();
              double eights = bounds.Width / 8f;

              SignObject requesterSign = new SignObject(this.graphics, GuiResources.SigningRequestDocumentSignRequester, GuiResources.SigningRequestDocumentSignSignature, GuiResources.SigningRequestDocumentSignDate, font);
              requesterSign.SetCenterTop(bounds.Left + eights, bounds.Top);
              requesterSign.Draw();

              SignObject firstAuthoritySign = new SignObject(this.graphics, GuiResources.SigningRequestDocumentSignFirstAuthority, GuiResources.SigningRequestDocumentSignSignature, GuiResources.SigningRequestDocumentSignDate, font);
              firstAuthoritySign.SetCenterTop(bounds.Left + 3 * eights, bounds.Top);
              firstAuthoritySign.Draw();

              SignObject secondAuthoritySign = new SignObject(this.graphics, GuiResources.SigningRequestDocumentSignSecondAuthority, GuiResources.SigningRequestDocumentSignSignature, GuiResources.SigningRequestDocumentSignDate, font);
              secondAuthoritySign.SetCenterTop(bounds.Left + 5 * eights, bounds.Top);
              secondAuthoritySign.Draw();

              SignObject thirdAuthoritySign = new SignObject(this.graphics, GuiResources.SigningRequestDocumentSignThirdAuthority, GuiResources.SigningRequestDocumentSignSignature, GuiResources.SigningRequestDocumentSignDate, font);
              thirdAuthoritySign.SetCenterTop(bounds.Left + 7 * eights, bounds.Top);
              thirdAuthoritySign.Draw();
        }