Skip to content

Commit e704355

Browse files
BlackEgoistiText-CI
authored andcommitted
Add ticket references to TODO remarks
DEVSIX-4126
1 parent 5bff203 commit e704355

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

forms/src/main/java/com/itextpdf/forms/xfdf/XfdfObjectFactory.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ private static void addAnnotations(PdfDocument pdfDoc, XfdfObject resultXfdf) {
497497
}
498498

499499
private static void updateXfdfAnnotation(AnnotObject annotObject, PdfAnnotation pdfAnnotation, int pageNumber) {
500-
//tODO implement update, refactor createXfdfAnnotation() method to accomodate the change
500+
//TODO DEVSIX-4132 implement update, refactor createXfdfAnnotation() method to accommodate the change
501501
}
502502

503503
private static void addCommonAnnotationAttributes(AnnotObject annot, PdfAnnotation pdfAnnotation) {
@@ -579,7 +579,7 @@ private static void createCircleAnnotation(PdfAnnotation pdfAnnotation, AnnotObj
579579
}
580580

581581
if (pdfCircleAnnotation.getBorderEffect() != null) {
582-
//TODO how to map intensity?
582+
//TODO DEVSIX-4133 map intensity to border effect dictionary's I key
583583
//annot.addAttribute(new AttributeObject("intensity", pdfCircleAnnotation.getBorderEffect().getAsString()));
584584
annot.addAttribute(XfdfConstants.STYLE, pdfCircleAnnotation.getBorderEffect().getAsString(PdfName.Style));
585585

@@ -613,7 +613,7 @@ private static void createSquareAnnotation(PdfAnnotation pdfAnnotation, AnnotObj
613613
}
614614

615615
if (pdfSquareAnnotation.getBorderEffect() != null) {
616-
//TODO how to map intensity?
616+
//TODO DEVSIX-4133 map intensity to border effect dictionary's I key
617617
//annot.addAttribute(new AttributeObject("intensity", pdfCircleAnnotation.getBorderEffect().getAsString()));
618618
annot.addAttribute(XfdfConstants.STYLE, pdfSquareAnnotation.getBorderEffect().getAsString(PdfName.Style));
619619
}
@@ -669,7 +669,7 @@ private static void createFreeTextAnnotation(PdfAnnotation pdfAnnotation, AnnotO
669669
annot.addAttribute(XfdfConstants.STYLE, pdfFreeTextAnnotation.getBorderStyle().getAsString(PdfName.Style));
670670
}
671671

672-
//TODO add rotation optional attribute
672+
//TODO DEVSIX-4134 add rotation optional attribute
673673
//annot.addAttribute(new AttributeObject("rotation", pdfFreeTextAnnotation.));
674674
annot.addAttribute(new AttributeObject(XfdfConstants.JUSTIFICATION, String.valueOf(pdfFreeTextAnnotation.getJustification())));
675675
if (pdfFreeTextAnnotation.getIntent() != null) {
@@ -679,7 +679,7 @@ private static void createFreeTextAnnotation(PdfAnnotation pdfAnnotation, AnnotO
679679
if (pdfFreeTextAnnotation.getContents() != null) {
680680
annot.setContents(pdfFreeTextAnnotation.getContents());
681681
}
682-
//TODO add contents-richtext
682+
//TODO DEVSIX-3215 add contents-richtext
683683
if (pdfFreeTextAnnotation.getDefaultAppearance() != null) {
684684
annot.setDefaultAppearance(pdfFreeTextAnnotation.getDefaultAppearance().getValue());
685685
}
@@ -834,7 +834,7 @@ private static void createPolyGeomAnnotation(PdfAnnotation pdfAnnotation, AnnotO
834834
}
835835

836836
if (pdfPolyGeomAnnotation.getBorderEffect() != null) {
837-
//TODO how to map intensity?
837+
//TODO DEVSIX-4133 map intensity to border effect dictionary's I key
838838
//annot.addAttribute(new AttributeObject("intensity", pdfCircleAnnotation.getBorderEffect().getAsString()));
839839
annot.addAttribute(XfdfConstants.STYLE, pdfPolyGeomAnnotation.getBorderEffect().getAsString(PdfName.Style));
840840
}
@@ -872,7 +872,7 @@ private static AnnotObject createXfdfAnnotation(PdfAnnotation pdfAnnotation, int
872872
AnnotObject annot = new AnnotObject();
873873
annot.setRef(pdfAnnotation.getPdfObject().getIndirectReference());
874874
annot.addFdfAttributes(pageNumber);
875-
//TODO move here all common methods like addFDFAttributes and Add common annotations
875+
//TODO DEVSIX-4135 move here all common methods like addFDFAttributes and Add common annotations
876876

877877
if (pdfAnnotation instanceof PdfTextMarkupAnnotation) {
878878
createTextMarkupAnnotation(pdfAnnotation, annot, pageNumber);

0 commit comments

Comments
 (0)