public SquareAnnotationValidator(PreflightContext ctx, COSDictionary annotDictionary) { super(ctx, new PDAnnotationSquare(annotDictionary)); } }
annot = new PDAnnotationSquare(annotDic);
PDAnnotationSquare aSquare = new PDAnnotationSquare(); aSquare.setContents("Square Annotation");