|
@@ -122,6 +122,9 @@
|
|
[self endMeasureModeAddAnnotation];
|
|
[self endMeasureModeAddAnnotation];
|
|
[self setNeedsDisplayAnnotationViewForVisiblePages];
|
|
[self setNeedsDisplayAnnotationViewForVisiblePages];
|
|
[self setAnnotationType:CAnnotationTypeUnkown];
|
|
[self setAnnotationType:CAnnotationTypeUnkown];
|
|
|
|
+ if (self.pdfListViewDelegate && [self.pdfListViewDelegate respondsToSelector:@selector(PDFListViewMeasureCancel:)]) {
|
|
|
|
+ [self.pdfListViewDelegate PDFListViewMeasureCancel:self];
|
|
|
|
+ }
|
|
} else if (CAnnotationTypeUnkown != [self annotationType] && eventChar == CPDFListEscapeCharacter) {
|
|
} else if (CAnnotationTypeUnkown != [self annotationType] && eventChar == CPDFListEscapeCharacter) {
|
|
if ((self.toolMode == CEditPDFToolMode) && (self.annotationType == CAnnotationTypeAddText || self.annotationType == CAnnotationTypeAddImage)) {
|
|
if ((self.toolMode == CEditPDFToolMode) && (self.annotationType == CAnnotationTypeAddText || self.annotationType == CAnnotationTypeAddImage)) {
|
|
// [[NSNotificationCenter defaultCenter] postNotificationName:@"CEditPDFToolModeChangeStateUnkown" object:self];
|
|
// [[NSNotificationCenter defaultCenter] postNotificationName:@"CEditPDFToolModeChangeStateUnkown" object:self];
|