@@ -497,7 +497,7 @@ private static void addAnnotations(PdfDocument pdfDoc, XfdfObject resultXfdf) {
497
497
}
498
498
499
499
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
501
501
}
502
502
503
503
private static void addCommonAnnotationAttributes (AnnotObject annot , PdfAnnotation pdfAnnotation ) {
@@ -579,7 +579,7 @@ private static void createCircleAnnotation(PdfAnnotation pdfAnnotation, AnnotObj
579
579
}
580
580
581
581
if (pdfCircleAnnotation .getBorderEffect () != null ) {
582
- //TODO how to map intensity?
582
+ //TODO DEVSIX-4133 map intensity to border effect dictionary's I key
583
583
//annot.addAttribute(new AttributeObject("intensity", pdfCircleAnnotation.getBorderEffect().getAsString()));
584
584
annot .addAttribute (XfdfConstants .STYLE , pdfCircleAnnotation .getBorderEffect ().getAsString (PdfName .Style ));
585
585
@@ -613,7 +613,7 @@ private static void createSquareAnnotation(PdfAnnotation pdfAnnotation, AnnotObj
613
613
}
614
614
615
615
if (pdfSquareAnnotation .getBorderEffect () != null ) {
616
- //TODO how to map intensity?
616
+ //TODO DEVSIX-4133 map intensity to border effect dictionary's I key
617
617
//annot.addAttribute(new AttributeObject("intensity", pdfCircleAnnotation.getBorderEffect().getAsString()));
618
618
annot .addAttribute (XfdfConstants .STYLE , pdfSquareAnnotation .getBorderEffect ().getAsString (PdfName .Style ));
619
619
}
@@ -669,7 +669,7 @@ private static void createFreeTextAnnotation(PdfAnnotation pdfAnnotation, AnnotO
669
669
annot .addAttribute (XfdfConstants .STYLE , pdfFreeTextAnnotation .getBorderStyle ().getAsString (PdfName .Style ));
670
670
}
671
671
672
- //TODO add rotation optional attribute
672
+ //TODO DEVSIX-4134 add rotation optional attribute
673
673
//annot.addAttribute(new AttributeObject("rotation", pdfFreeTextAnnotation.));
674
674
annot .addAttribute (new AttributeObject (XfdfConstants .JUSTIFICATION , String .valueOf (pdfFreeTextAnnotation .getJustification ())));
675
675
if (pdfFreeTextAnnotation .getIntent () != null ) {
@@ -679,7 +679,7 @@ private static void createFreeTextAnnotation(PdfAnnotation pdfAnnotation, AnnotO
679
679
if (pdfFreeTextAnnotation .getContents () != null ) {
680
680
annot .setContents (pdfFreeTextAnnotation .getContents ());
681
681
}
682
- //TODO add contents-richtext
682
+ //TODO DEVSIX-3215 add contents-richtext
683
683
if (pdfFreeTextAnnotation .getDefaultAppearance () != null ) {
684
684
annot .setDefaultAppearance (pdfFreeTextAnnotation .getDefaultAppearance ().getValue ());
685
685
}
@@ -834,7 +834,7 @@ private static void createPolyGeomAnnotation(PdfAnnotation pdfAnnotation, AnnotO
834
834
}
835
835
836
836
if (pdfPolyGeomAnnotation .getBorderEffect () != null ) {
837
- //TODO how to map intensity?
837
+ //TODO DEVSIX-4133 map intensity to border effect dictionary's I key
838
838
//annot.addAttribute(new AttributeObject("intensity", pdfCircleAnnotation.getBorderEffect().getAsString()));
839
839
annot .addAttribute (XfdfConstants .STYLE , pdfPolyGeomAnnotation .getBorderEffect ().getAsString (PdfName .Style ));
840
840
}
@@ -872,7 +872,7 @@ private static AnnotObject createXfdfAnnotation(PdfAnnotation pdfAnnotation, int
872
872
AnnotObject annot = new AnnotObject ();
873
873
annot .setRef (pdfAnnotation .getPdfObject ().getIndirectReference ());
874
874
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
876
876
877
877
if (pdfAnnotation instanceof PdfTextMarkupAnnotation ) {
878
878
createTextMarkupAnnotation (pdfAnnotation , annot , pageNumber );
0 commit comments