Revision: 3998
http://skim-app.svn.sourceforge.net/skim-app/?rev=3998&view=rev
Author: hofman
Date: 2008-06-10 17:23:36 -0700 (Tue, 10 Jun 2008)
Log Message:
-----------
Move some annotation methods to private pdfview category
Modified Paths:
--------------
trunk/SKPDFView.h
trunk/SKPDFView.m
Modified: trunk/SKPDFView.h
===================================================================
--- trunk/SKPDFView.h 2008-06-11 00:09:18 UTC (rev 3997)
+++ trunk/SKPDFView.h 2008-06-11 00:23:36 UTC (rev 3998)
@@ -178,17 +178,18 @@
- (void)addAnnotation:(id)sender;
- (void)addAnnotationWithType:(SKNoteType)annotationType;
-- (void)addAnnotationWithType:(SKNoteType)annotationType
defaultPoint:(NSPoint)point;
-- (void)addAnnotationWithType:(SKNoteType)annotationType contents:(NSString
*)text page:(PDFPage *)page bounds:(NSRect)bounds;
- (void)addAnnotation:(PDFAnnotation *)annotation toPage:(PDFPage *)page;
- (void)removeActiveAnnotation:(id)sender;
- (void)removeThisAnnotation:(id)sender;
- (void)removeAnnotation:(PDFAnnotation *)annotation;
+
- (void)editActiveAnnotation:(id)sender;
- (void)editThisAnnotation:(id)sender;
- (void)endAnnotationEdit:(id)sender;
+
- (void)selectNextActiveAnnotation:(id)sender;
- (void)selectPreviousActiveAnnotation:(id)sender;
+
- (void)scrollAnnotationToVisible:(PDFAnnotation *)annotation;
- (void)scrollRect:(NSRect)rect inPageToVisible:(PDFPage *)page;
- (void)displayLineAtPoint:(NSPoint)point inPageAtIndex:(unsigned
int)pageIndex;
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2008-06-11 00:09:18 UTC (rev 3997)
+++ trunk/SKPDFView.m 2008-06-11 00:23:36 UTC (rev 3998)
@@ -127,6 +127,9 @@
@interface SKPDFView (Private)
+- (void)addAnnotationWithType:(SKNoteType)annotationType
defaultPoint:(NSPoint)point;
+- (void)addAnnotationWithType:(SKNoteType)annotationType contents:(NSString
*)text page:(PDFPage *)page bounds:(NSRect)bounds;
+
- (void)transformCGContext:(CGContextRef)context forPage:(PDFPage *)page;
- (NSRange)visiblePageIndexRange;
@@ -1832,7 +1835,7 @@
if (page == nil) {
// Get center of the current page
page = [self currentPage];
- center = [sef convertPoint:SKCenterPoint([page bounds])
fromPage:page];
+ center = [self convertPoint:SKCenterPoint([page
boundsForBox:[self displayBox]]) fromPage:page];
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit