Revision: 5667
http://skim-app.svn.sourceforge.net/skim-app/?rev=5667&view=rev
Author: hofman
Date: 2009-09-04 15:00:08 +0000 (Fri, 04 Sep 2009)
Log Message:
-----------
Use a PDFDocument and PDFPage subclass for our PDF, so we can avoid method
swizzling to override the print operation and caching the foregroundBox.
Modified Paths:
--------------
trunk/PDFDocument_SKExtensions.m
trunk/PDFPage_SKExtensions.m
trunk/SKMainDocument.m
trunk/Skim.xcodeproj/project.pbxproj
Added Paths:
-----------
trunk/SKPDFDocument.h
trunk/SKPDFDocument.m
trunk/SKPDFPage.h
trunk/SKPDFPage.m
Modified: trunk/PDFDocument_SKExtensions.m
===================================================================
--- trunk/PDFDocument_SKExtensions.m 2009-09-04 14:32:47 UTC (rev 5666)
+++ trunk/PDFDocument_SKExtensions.m 2009-09-04 15:00:08 UTC (rev 5667)
@@ -38,37 +38,10 @@
#import "PDFDocument_SKExtensions.h"
#import "PDFSelection_SKExtensions.h"
-#import "SKPrintAccessoryController.h"
-#import "SKRuntime.h"
-...@interface PDFDocument (SKPrivateDeclarations)
-- (NSPrintOperation *)getPrintOperationForPrintInfo:(NSPrintInfo *)printInfo
autoRotate:(BOOL)autoRotate;
-...@end
-
-
@implementation PDFDocument (SKExtensions)
-static id (*original_getPrintOperationForPrintInfo_autoRotate)(id, SEL, id,
BOOL) = NULL;
-
-- (NSPrintOperation *)replacement_getPrintOperationForPrintInfo:(NSPrintInfo
*)printInfo autoRotate:(BOOL)autoRotate {
- NSPrintOperation *printOperation =
original_getPrintOperationForPrintInfo_autoRotate(self, _cmd, printInfo,
autoRotate);
- BOOL suppressPrintPanel = [[[[printOperation printInfo] dictionary]
objectForKey:@"SKSuppressPrintPanel"] boolValue];
-
- if (suppressPrintPanel)
- [printOperation setShowsPrintPanel:NO];
-
- NSPrintPanel *printPanel = [printOperation printPanel];
- [printPanel setOptions:NSPrintPanelShowsCopies |
NSPrintPanelShowsPageRange | NSPrintPanelShowsPaperSize |
NSPrintPanelShowsOrientation | NSPrintPanelShowsScaling |
NSPrintPanelShowsPreview];
- [printPanel addAccessoryController:[[[SKPrintAccessoryController alloc]
init] autorelease]];
-
- return printOperation;
-}
-
-+ (void)load {
- original_getPrintOperationForPrintInfo_autoRotate = (id (*)(id, SEL, id,
BOOL))SKReplaceInstanceMethodImplementationFromSelector(self,
@selector(getPrintOperationForPrintInfo:autoRotate:),
@selector(replacement_getPrintOperationForPrintInfo:autoRotate:));
-}
-
- (PDFSelection *)selectionByExtendingSelection:(PDFSelection *)selection
toPage:(PDFPage *)page atPoint:(NSPoint)point {
PDFSelection *sel = selection;
NSArray *pages = [selection pages];
Modified: trunk/PDFPage_SKExtensions.m
===================================================================
--- trunk/PDFPage_SKExtensions.m 2009-09-04 14:32:47 UTC (rev 5666)
+++ trunk/PDFPage_SKExtensions.m 2009-09-04 15:00:08 UTC (rev 5667)
@@ -60,27 +60,8 @@
NSString *SKPDFPageActionCrop = @"crop";
NSString *SKPDFPageActionRotate = @"rotate";
-#define SKAutoCropBoxMarginWidthKey @"SKAutoCropBoxMarginWidth"
-#define SKAutoCropBoxMarginHeightKey @"SKAutoCropBoxMarginHeight"
-
@implementation PDFPage (SKExtensions)
-#define FOREGROUND_BOX_MARGIN 10.0
-
-// A subclass with ivars would be nicer in some respects, but that would
require subclassing PDFDocument and returning instances of the subclass for
each page.
-static CFMutableDictionaryRef bboxCache = NULL;
-static void (*original_dealloc)(id, SEL) = NULL;
-
-- (void)replacement_dealloc {
- CFDictionaryRemoveValue(bboxCache, self);
- original_dealloc(self, _cmd);
-}
-
-+ (void)load {
- original_dealloc = (void (*)(id,
SEL))SKReplaceInstanceMethodImplementationFromSelector(self,
@selector(dealloc), @selector(replacement_dealloc));
- bboxCache = CFDictionaryCreateMutable(NULL, 0, NULL,
&kSKNSRectDictionaryValueCallBacks);
-}
-
static BOOL usesSequentialPageNumbering = NO;
+ (BOOL)usesSequentialPageNumbering {
@@ -91,67 +72,9 @@
usesSequentialPageNumbering = flag;
}
-- (NSBitmapImageRep *)newBitmapImageRepForBox:(PDFDisplayBox)box {
- NSRect bounds = [self boundsForBox:box];
- NSBitmapImageRep *imageRep;
- imageRep = [[NSBitmapImageRep alloc] initWithBitmapDataPlanes:NULL
-
pixelsWide:NSWidth(bounds)
-
pixelsHigh:NSHeight(bounds)
- bitsPerSample:8
- samplesPerPixel:4
- hasAlpha:YES
- isPlanar:NO
-
colorSpaceName:NSCalibratedRGBColorSpace
- bitmapFormat:0
- bytesPerRow:0
- bitsPerPixel:32];
- if (imageRep) {
- [NSGraphicsContext saveGraphicsState];
- [NSGraphicsContext setCurrentContext:[NSGraphicsContext
graphicsContextWithBitmapImageRep:imageRep]];
- [[NSGraphicsContext currentContext]
setImageInterpolation:NSImageInterpolationNone];
- [[NSGraphicsContext currentContext] setShouldAntialias:NO];
- if ([self rotation]) {
- NSAffineTransform *transform = [NSAffineTransform transform];
- switch ([self rotation]) {
- case 90: [transform translateXBy:NSWidth(bounds) yBy:0.0];
break;
- case 180: [transform translateXBy:NSHeight(bounds)
yBy:NSWidth(bounds)]; break;
- case 270: [transform translateXBy:0.0 yBy:NSHeight(bounds)];
break;
- }
- [transform rotateByDegrees:[self rotation]];
- [transform concat];
- }
- [[self annotations]
makeObjectsPerformSelector:@selector(hideIfTemporary)];
- [self drawWithBox:box];
- [[self annotations]
makeObjectsPerformSelector:@selector(displayIfTemporary)];
- [NSGraphicsContext restoreGraphicsState];
- }
- return imageRep;
-}
-
+// this will be overridden in our custom subclass
- (NSRect)foregroundBox {
- NSRect *rectPtr = NULL;
- if (FALSE == CFDictionaryGetValueIfPresent(bboxCache, (void *)self, (const
void **)&rectPtr)) {
- CGFloat marginWidth = [[NSUserDefaults standardUserDefaults]
floatForKey:SKAutoCropBoxMarginWidthKey];
- CGFloat marginHeight = [[NSUserDefaults standardUserDefaults]
floatForKey:SKAutoCropBoxMarginHeightKey];
- NSBitmapImageRep *imageRep = [self
newBitmapImageRepForBox:kPDFDisplayBoxMediaBox];
- NSRect bounds = [self boundsForBox:kPDFDisplayBoxMediaBox];
- NSRect rect = [imageRep foregroundRect];
- if (imageRep == nil) {
- rect = bounds;
- } else if (NSEqualRects(NSZeroRect, rect)) {
- rect.origin.x = SKFloor(NSMidX(bounds));
- rect.origin.x = SKCeil(NSMidY(bounds));
- } else {
- rect.origin.x += NSMinX(bounds);
- rect.origin.y += NSMinY(bounds);
- }
- [imageRep release];
- rect = NSIntersectionRect(NSInsetRect(rect, -marginWidth,
-marginHeight), bounds);
- rectPtr = ▭
- CFDictionarySetValue(bboxCache, (void *)self, (void *)rectPtr);
- }
- // dereferencing here should always be safe (if not in the dictionary, it
was initialized)
- return *rectPtr;
+ return [self boundsForBox:kPDFDisplayBoxCropBox];
}
- (NSImage *)image {
Modified: trunk/SKMainDocument.m
===================================================================
--- trunk/SKMainDocument.m 2009-09-04 14:32:47 UTC (rev 5666)
+++ trunk/SKMainDocument.m 2009-09-04 15:00:08 UTC (rev 5667)
@@ -41,6 +41,7 @@
#import <CoreFoundation/CoreFoundation.h>
#import <SkimNotes/SkimNotes.h>
#import "SKMainWindowController.h"
+#import "SKPDFDocument.h"
#import "PDFAnnotation_SKExtensions.h"
#import "SKNPDFAnnotationNote_SKExtensions.h"
#import "SKConversionProgressController.h"
@@ -640,7 +641,7 @@
data = [SKConversionProgressController PDFDataWithPostScriptData:data];
if (data)
- pdfDoc = [[PDFDocument alloc] initWithData:data];
+ pdfDoc = [[SKPDFDocument alloc] initWithData:data];
[tmpData setPdfDocument:pdfDoc];
@@ -680,7 +681,7 @@
if (pdfFile) {
NSURL *pdfURL = [NSURL fileURLWithPath:pdfFile];
if ((data = [[NSData alloc] initWithContentsOfURL:pdfURL
options:NSUncachedRead error:&error]) &&
- (pdfDoc = [[PDFDocument alloc] initWithURL:pdfURL])) {
+ (pdfDoc = [[SKPDFDocument alloc] initWithURL:pdfURL])) {
NSArray *array = [[NSFileManager defaultManager]
readSkimNotesFromPDFBundleAtURL:absoluteURL error:&error];
if (array == nil) {
NSAlert *alert = [NSAlert
alertWithMessageText:NSLocalizedString(@"Unable to Read Notes", @"Message in
alert dialog")
@@ -703,13 +704,13 @@
if (fileData = [[NSData alloc] initWithContentsOfURL:absoluteURL
options:NSUncachedRead error:&error]) {
if (SKIsPDFDocumentType(docType)) {
if (data = [fileData retain])
- pdfDoc = [[PDFDocument alloc] initWithURL:absoluteURL];
+ pdfDoc = [[SKPDFDocument alloc] initWithURL:absoluteURL];
} else if (SKIsPostScriptDocumentType(docType)) {
if (data = [[SKConversionProgressController
PDFDataWithPostScriptData:fileData] retain])
- pdfDoc = [[PDFDocument alloc] initWithData:data];
+ pdfDoc = [[SKPDFDocument alloc] initWithData:data];
} else if (SKIsDVIDocumentType(docType)) {
if (data = [[SKConversionProgressController
PDFDataWithDVIFile:[absoluteURL path]] retain])
- pdfDoc = [[PDFDocument alloc] initWithData:data];
+ pdfDoc = [[SKPDFDocument alloc] initWithData:data];
}
}
if (pdfDoc) {
Added: trunk/SKPDFDocument.h
===================================================================
--- trunk/SKPDFDocument.h (rev 0)
+++ trunk/SKPDFDocument.h 2009-09-04 15:00:08 UTC (rev 5667)
@@ -0,0 +1,44 @@
+//
+// SKPDFDocument.h
+// Skim
+//
+// Created by Christiaan on 9/4/09.
+/*
+ This software is Copyright (c) 2009
+ Christiaan Hofman. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ - Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ - Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+
+ - Neither the name of Christiaan Hofman nor the names of any
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <Cocoa/Cocoa.h>
+#import <Quartz/Quartz.h>
+
+
+...@interface SKPDFDocument : PDFDocument
+...@end
Added: trunk/SKPDFDocument.m
===================================================================
--- trunk/SKPDFDocument.m (rev 0)
+++ trunk/SKPDFDocument.m 2009-09-04 15:00:08 UTC (rev 5667)
@@ -0,0 +1,69 @@
+//
+// SKPDFDocument.m
+// Skim
+//
+// Created by Christiaan on 9/4/09.
+/*
+ This software is Copyright (c) 2008-2009
+ Christiaan Hofman. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ - Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ - Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+
+ - Neither the name of Christiaan Hofman nor the names of any
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "SKPDFDocument.h"
+#import "SKPDFPage.h"
+#import "SKPrintAccessoryController.h"
+
+
+...@interface PDFDocument (SKPrivateDeclarations)
+- (NSPrintOperation *)getPrintOperationForPrintInfo:(NSPrintInfo *)printInfo
autoRotate:(BOOL)autoRotate;
+...@end
+
+
+...@implementation SKPDFDocument
+
+- (Class)pageClass {
+ return [SKPDFPage class];
+}
+
+- (NSPrintOperation *)getPrintOperationForPrintInfo:(NSPrintInfo *)printInfo
autoRotate:(BOOL)autoRotate {
+ NSPrintOperation *printOperation = nil;
+ if ([[SKPDFDocument superclass] instancesRespondToSelector:_cmd]) {
+ printOperation = [super getPrintOperationForPrintInfo:printInfo
autoRotate:autoRotate];
+ if ([[[[printOperation printInfo] dictionary]
objectForKey:@"SKSuppressPrintPanel"] boolValue])
+ [printOperation setShowsPrintPanel:NO];
+
+ NSPrintPanel *printPanel = [printOperation printPanel];
+ [printPanel setOptions:NSPrintPanelShowsCopies |
NSPrintPanelShowsPageRange | NSPrintPanelShowsPaperSize |
NSPrintPanelShowsOrientation | NSPrintPanelShowsScaling |
NSPrintPanelShowsPreview];
+ [printPanel addAccessoryController:[[[SKPrintAccessoryController
alloc] init] autorelease]];
+ }
+ return printOperation;
+}
+
+...@end
Added: trunk/SKPDFPage.h
===================================================================
--- trunk/SKPDFPage.h (rev 0)
+++ trunk/SKPDFPage.h 2009-09-04 15:00:08 UTC (rev 5667)
@@ -0,0 +1,16 @@
+//
+// SKPDFPage.h
+// Skim
+//
+// Created by Christiaan on 9/4/09.
+// Copyright 2009 Christiaan Hofman. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+#import <Quartz/Quartz.h>
+
+
+...@interface SKPDFPage : PDFPage {
+ NSRect foregroundBox;
+}
+...@end
Added: trunk/SKPDFPage.m
===================================================================
--- trunk/SKPDFPage.m (rev 0)
+++ trunk/SKPDFPage.m 2009-09-04 15:00:08 UTC (rev 5667)
@@ -0,0 +1,89 @@
+//
+// SKPDFPage.m
+// Skim
+//
+// Created by Christiaan on 9/4/09.
+// Copyright 2009 Christiaan Hofman. All rights reserved.
+//
+
+#import "SKPDFPage.h"
+#import "SKStringConstants.h"
+#import "NSBitmapImageRep_SKExtensions.h"
+#import "NSData_SKExtensions.h"
+
+#define SKAutoCropBoxMarginWidthKey @"SKAutoCropBoxMarginWidth"
+#define SKAutoCropBoxMarginHeightKey @"SKAutoCropBoxMarginHeight"
+
+...@implementation SKPDFPage
+
+- (id)init {
+ if (self = [super init]) {
+ foregroundBox = NSZeroRect;
+ }
+ return self;
+}
+
+- (NSBitmapImageRep *)newBitmapImageRepForBox:(PDFDisplayBox)box {
+ NSRect bounds = [self boundsForBox:box];
+ NSBitmapImageRep *imageRep;
+ imageRep = [[NSBitmapImageRep alloc] initWithBitmapDataPlanes:NULL
+
pixelsWide:NSWidth(bounds)
+
pixelsHigh:NSHeight(bounds)
+ bitsPerSample:8
+ samplesPerPixel:4
+ hasAlpha:YES
+ isPlanar:NO
+
colorSpaceName:NSCalibratedRGBColorSpace
+ bitmapFormat:0
+ bytesPerRow:0
+ bitsPerPixel:32];
+ if (imageRep) {
+ [NSGraphicsContext saveGraphicsState];
+ [NSGraphicsContext setCurrentContext:[NSGraphicsContext
graphicsContextWithBitmapImageRep:imageRep]];
+ [[NSGraphicsContext currentContext]
setImageInterpolation:NSImageInterpolationNone];
+ [[NSGraphicsContext currentContext] setShouldAntialias:NO];
+ if ([self rotation]) {
+ NSAffineTransform *transform = [NSAffineTransform transform];
+ switch ([self rotation]) {
+ case 90: [transform translateXBy:NSWidth(bounds) yBy:0.0];
break;
+ case 180: [transform translateXBy:NSHeight(bounds)
yBy:NSWidth(bounds)]; break;
+ case 270: [transform translateXBy:0.0 yBy:NSHeight(bounds)];
break;
+ }
+ [transform rotateByDegrees:[self rotation]];
+ [transform concat];
+ }
+ [[self annotations]
makeObjectsPerformSelector:@selector(hideIfTemporary)];
+ [self drawWithBox:box];
+ [[self annotations]
makeObjectsPerformSelector:@selector(displayIfTemporary)];
+ [NSGraphicsContext restoreGraphicsState];
+ }
+ return imageRep;
+}
+
+- (NSRect)foregroundBox {
+ if (NSEqualRects(NSZeroRect, foregroundBox)) {
+ CGFloat marginWidth = [[NSUserDefaults standardUserDefaults]
floatForKey:SKAutoCropBoxMarginWidthKey];
+ CGFloat marginHeight = [[NSUserDefaults standardUserDefaults]
floatForKey:SKAutoCropBoxMarginHeightKey];
+ NSBitmapImageRep *imageRep = [self
newBitmapImageRepForBox:kPDFDisplayBoxMediaBox];
+ NSRect bounds = [self boundsForBox:kPDFDisplayBoxMediaBox];
+ foregroundBox = [imageRep foregroundRect];
+ if (imageRep == nil) {
+ foregroundBox = bounds;
+ } else if (NSEqualRects(NSZeroRect, foregroundBox)) {
+ foregroundBox.origin.x = SKFloor(NSMidX(bounds));
+ foregroundBox.origin.x = SKCeil(NSMidY(bounds));
+ } else {
+ foregroundBox.origin.x += NSMinX(bounds);
+ foregroundBox.origin.y += NSMinY(bounds);
+ }
+ [imageRep release];
+ foregroundBox = NSIntersectionRect(NSInsetRect(foregroundBox,
-marginWidth, -marginHeight), bounds);
+ }
+ return foregroundBox;
+}
+
+- (NSData *)contentBoundsAsQDRect {
+ return [NSData dataWithRectAsQDRect:[self foregroundBox]];
+}
+
+...@end
Modified: trunk/Skim.xcodeproj/project.pbxproj
===================================================================
--- trunk/Skim.xcodeproj/project.pbxproj 2009-09-04 14:32:47 UTC (rev
5666)
+++ trunk/Skim.xcodeproj/project.pbxproj 2009-09-04 15:00:08 UTC (rev
5667)
@@ -127,6 +127,8 @@
CE54898C0B35D4EF00F8AFB6 /* InfoWindow.nib in Resources */ =
{isa = PBXBuildFile; fileRef = CE54898A0B35D4EF00F8AFB6 /* InfoWindow.nib */; };
CE54898F0B35D50E00F8AFB6 /* SKInfoWindowController.m in Sources
*/ = {isa = PBXBuildFile; fileRef = CE54898E0B35D50E00F8AFB6 /*
SKInfoWindowController.m */; };
CE5BAF4410511A0F00161B87 /* PDFOutline_SKExtensions.m in
Sources */ = {isa = PBXBuildFile; fileRef = CE5BAF4310511A0F00161B87 /*
PDFOutline_SKExtensions.m */; };
+ CE5BB0CF10515CCC00161B87 /* SKPDFDocument.m in Sources */ =
{isa = PBXBuildFile; fileRef = CE5BB0CE10515CCC00161B87 /* SKPDFDocument.m */;
};
+ CE5BB0D310515D3100161B87 /* SKPDFPage.m in Sources */ = {isa =
PBXBuildFile; fileRef = CE5BB0D210515D3100161B87 /* SKPDFPage.m */; };
CE5BD6740C7ADF1500EBDCF7 /* SKTypeSelectHelper.m in Sources */
= {isa = PBXBuildFile; fileRef = CE5BD6720C7ADF1500EBDCF7 /*
SKTypeSelectHelper.m */; };
CE5BEA190C7C635400EBDCF7 /* NSGeometry_SKExtensions.m in
Sources */ = {isa = PBXBuildFile; fileRef = CE5BEA170C7C635400EBDCF7 /*
NSGeometry_SKExtensions.m */; };
CE5BF8010C7CBF6300EBDCF7 /* SKTableView.m in Sources */ = {isa
= PBXBuildFile; fileRef = CE5BF7FF0C7CBF6300EBDCF7 /* SKTableView.m */; };
@@ -669,6 +671,10 @@
CE5A82310E6C42BF008C0AA9 /* Italian */ = {isa =
PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings;
name = Italian; path = Italian.lproj/ZoomValues.strings; sourceTree =
"<group>"; };
CE5BAF4210511A0F00161B87 /* PDFOutline_SKExtensions.h */ = {isa
= PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path
= PDFOutline_SKExtensions.h; sourceTree = "<group>"; };
CE5BAF4310511A0F00161B87 /* PDFOutline_SKExtensions.m */ = {isa
= PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc;
path = PDFOutline_SKExtensions.m; sourceTree = "<group>"; };
+ CE5BB0CD10515CCC00161B87 /* SKPDFDocument.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path =
SKPDFDocument.h; sourceTree = "<group>"; };
+ CE5BB0CE10515CCC00161B87 /* SKPDFDocument.m */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path
= SKPDFDocument.m; sourceTree = "<group>"; };
+ CE5BB0D110515D3100161B87 /* SKPDFPage.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path =
SKPDFPage.h; sourceTree = "<group>"; };
+ CE5BB0D210515D3100161B87 /* SKPDFPage.m */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path
= SKPDFPage.m; sourceTree = "<group>"; };
CE5BD6710C7ADF1500EBDCF7 /* SKTypeSelectHelper.h */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path =
SKTypeSelectHelper.h; sourceTree = "<group>"; };
CE5BD6720C7ADF1500EBDCF7 /* SKTypeSelectHelper.m */ = {isa =
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path
= SKTypeSelectHelper.m; sourceTree = "<group>"; };
CE5BEA160C7C635400EBDCF7 /* NSGeometry_SKExtensions.h */ = {isa
= PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path
= NSGeometry_SKExtensions.h; sourceTree = "<group>"; };
@@ -1382,6 +1388,10 @@
CEAA8F2D0EA2A86200C16FE4 /* SKNoteText.m */,
CEE54DEF0DA2EF0E0037169F /*
SKPDFAnnotationTemporary.h */,
CEE54DF00DA2EF0E0037169F /*
SKPDFAnnotationTemporary.m */,
+ CE5BB0CD10515CCC00161B87 /* SKPDFDocument.h */,
+ CE5BB0CE10515CCC00161B87 /* SKPDFDocument.m */,
+ CE5BB0D110515D3100161B87 /* SKPDFPage.h */,
+ CE5BB0D210515D3100161B87 /* SKPDFPage.m */,
CE3366DD0E28BCFA005F99E6 /* SKPDFSyncRecord.h
*/,
CE3366DE0E28BCFA005F99E6 /* SKPDFSyncRecord.m
*/,
CE4294A10BBD29120016FDC2 /* SKReadingBar.h */,
@@ -2159,6 +2169,8 @@
CEFBC96A103C5CBF00535C74 /* SKFormatCommand.m
in Sources */,
CEA2045F1050233E008E082B /*
SKPrintAccessoryController.m in Sources */,
CE5BAF4410511A0F00161B87 /*
PDFOutline_SKExtensions.m in Sources */,
+ CE5BB0CF10515CCC00161B87 /* SKPDFDocument.m in
Sources */,
+ CE5BB0D310515D3100161B87 /* SKPDFPage.m in
Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit