Skip to content

Commit

Permalink
New signature for Telugu Certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
Kantas2601 committed Nov 25, 2024
1 parent 678916d commit b326876
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ private void generateTeluguCertificate(PDDocument document, PDFont textFont, Str
float signatureY = (mediaBox1.getHeight()/5+ 60);
float signatureX1 = rchIdX;
float signatureX2 = mediaBox1.getWidth()/2;
float signatureX3 = mediaBox1.getWidth()/2 + 114;
float signatureX3 = mediaBox1.getWidth()/2 + 80;


SimpleDateFormat formatter = new SimpleDateFormat("dd-MM-yyyy");
Expand Down Expand Up @@ -537,11 +537,11 @@ private void generateTeluguCertificate(PDDocument document, PDFont textFont, Str
is3.close();
bin3.close();

float imageWidth3 = 70;
float imageHeight3 = 70;
float imageWidth3 = 120;
float imageHeight3 = 100;
image3 = image3.scaleByWidth(imageWidth3);
image3 = image3.scaleByHeight(imageHeight3);
image3.draw(document, contents1, signatureX3, signatureY - 7);
image3.draw(document, contents1, signatureX3, signatureY - 17);
contents1.close();
} catch (IOException erros){
System.out.println("---Error---=>" + erros);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,6 @@
<task:scheduled ref="autoReportMail" method="executeInternal" cron="0 0 9 1 * ?"/>
<task:scheduled ref="autoReportMail" method="executeWeekly" cron="0 0 12 ? * MON"/>
<!--<task:scheduled ref="autoReportMail" method="test" cron="${cron.test}" />-->
<task:scheduled ref="etlNotificationService" method="scheduledNotification" cron="0 30 4 * * ?"/>
<task:scheduled ref="etlNotificationService" method="scheduledNotification" cron="0 30 7 * * ?"/>
</task:scheduled-tasks>
</beans>

0 comments on commit b326876

Please sign in to comment.