Revision: 5171
http://skim-app.svn.sourceforge.net/skim-app/?rev=5171&view=rev
Author: hofman
Date: 2009-01-27 16:19:13 +0000 (Tue, 27 Jan 2009)
Log Message:
-----------
move and change document api for openmeta
Modified Paths:
--------------
trunk/SKPDFDocument.h
trunk/SKPDFDocument.m
Modified: trunk/SKPDFDocument.h
===================================================================
--- trunk/SKPDFDocument.h 2009-01-27 16:13:45 UTC (rev 5170)
+++ trunk/SKPDFDocument.h 2009-01-27 16:19:13 UTC (rev 5171)
@@ -130,18 +130,17 @@
- (SKPDFSynchronizer *)synchronizer;
- (NSArray *)snapshots;
-- (NSArray *)pages;
+- (NSArray *)tags;
+- (double)rating;
+
+- (NSArray *)pages;
- (unsigned int)countOfPages;
- (PDFPage *)objectInPagesAtIndex:(unsigned int)index;
- (NSArray *)notes;
- (void)insertInNotes:(PDFAnnotation *)newNote;
- (void)insertObject:(PDFAnnotation *)newNote inNotesAtIndex:(unsigned
int)anIndex;
- (void)removeObjectFromNotesAtIndex:(unsigned int)anIndex;
-- (NSArray *)tags;
-- (void)setTags:(NSArray *)newTags;
-- (double)rating;
-- (void)setRating:(double)newRating;
- (PDFPage *)currentPage;
- (void)setCurrentPage:(PDFPage *)page;
- (id)activeNote;
Modified: trunk/SKPDFDocument.m
===================================================================
--- trunk/SKPDFDocument.m 2009-01-27 16:13:45 UTC (rev 5170)
+++ trunk/SKPDFDocument.m 2009-01-27 16:19:13 UTC (rev 5171)
@@ -1732,6 +1732,14 @@
return [[self mainWindowController] snapshots];
}
+- (NSArray *)tags {
+ return [[self mainWindowController] tags];
+}
+
+- (double)rating {
+ return [[self mainWindowController] rating];
+}
+
#pragma mark Passwords
- (const char *)keychainServiceName {
@@ -1871,22 +1879,6 @@
[[self undoManager] setActionName:NSLocalizedString(@"Remove Note", @"Undo
action name")];
}
-- (NSArray *)tags {
- return [[self mainWindowController] tags];
-}
-
-- (void)setTags:(NSArray *)newTags {
- [[self mainWindowController] setTags:newTags];
-}
-
-- (double)rating {
- return [[self mainWindowController] rating];
-}
-
-- (void)setRating:(double)newRating {
- [[self mainWindowController] setRating:newRating];
-}
-
- (PDFPage *)currentPage {
return [[self pdfView] currentPage];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit