~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/monomac/src/pdfkit.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
239
239
                [Export ("paths")]
240
240
                NSBezierPath [] Paths { get; }
241
241
 
242
 
                [Export ("addBezierPath:path")]
 
242
                [Export ("addBezierPath:")]
243
243
                void AddBezierPathpath (NSBezierPath path);
244
244
 
245
 
                [Export ("removeBezierPath:path")]
 
245
                [Export ("removeBezierPath:")]
246
246
                void RemoveBezierPathpath (NSBezierPath path);
247
247
        }
248
248
 
358
358
                NSArray DashPattern { get; set; }
359
359
                //float [] DashPattern { get; set; }
360
360
 
361
 
                [Export ("drawInRect:rect")]
 
361
                [Export ("drawInRect:")]
362
362
                void Draw (RectangleF rect);
363
363
        }
364
364
 
607
607
                [Export ("removeAnnotation:")]
608
608
                void RemoveAnnotation (PdfAnnotation annotation);
609
609
 
610
 
                [Export ("annotationAtPoint:point")]
 
610
                [Export ("annotationAtPoint:")]
611
611
                PdfAnnotation GetAnnotation (PointF point);
612
612
 
613
613
                [Export ("drawWithBox:")]
651
651
        }
652
652
 
653
653
        [BaseType (typeof (NSObject), Name="PDFSelection")]
 
654
        [DisableDefaultCtor] // An uncaught exception was raised: init: not a valid initializer for PDFSelection
654
655
        public interface PdfSelection {
655
656
                [Export ("initWithDocument:")]
656
657
                IntPtr Constructor (PdfDocument document);
668
669
                [Export ("attributedString")]
669
670
                NSAttributedString AttributedString { get; }
670
671
 
671
 
                [Export ("boundsForPage:page")]
 
672
                [Export ("boundsForPage:")]
672
673
                RectangleF GetBoundsForPage (PdfPage page);
673
674
        
674
675
                //verify NSArray
870
871
                [Export ("copy:")]
871
872
                void Copy (NSObject sender);
872
873
 
873
 
                [Export ("printWithInfo:autoRotate:doRotate")]
 
874
                [Export ("printWithInfo:autoRotate:")]
874
875
                void Print (NSPrintInfo printInfo, bool doRotate);
875
876
 
876
877
                [Export ("printWithInfo:autoRotate:pageScaling:")]
912
913
 
913
914
                [Export ("enableDataDetectors")]
914
915
                bool EnableDataDetectors { get; set; }
915
 
        }
916
 
 
 
916
 
 
917
                [Field("PDFViewChangedHistoryNotification")]
 
918
                [Notification]
 
919
                NSString ChangedHistoryNotification { get; }
 
920
 
 
921
                [Field("PDFViewDocumentChangedNotification")]
 
922
                [Notification]
 
923
                NSString DocumentChangedNotification { get; }
 
924
 
 
925
                [Field ("PDFViewPageChangedNotification")]
 
926
                [Notification]
 
927
                NSString PageChangedNotification { get; }
 
928
 
 
929
                [Field ("PDFViewScaleChangedNotification")]
 
930
                [Notification]
 
931
                NSString ScaleChangedNotification { get; }
 
932
 
 
933
                [Field ("PDFViewAnnotationHitNotification")]
 
934
                [Notification (typeof (PdfViewAnnotationHitEventArgs))]
 
935
                NSString AnnotationHitNotification { get; }
 
936
 
 
937
                [Field ("PDFViewCopyPermissionNotification")]
 
938
                [Notification]
 
939
                NSString CopyPermissionNotification { get; }
 
940
 
 
941
                [Field ("PDFViewAnnotationWillHitNotification")]
 
942
                [Notification]
 
943
                NSString AnnotationWillHitNotification { get; }
 
944
 
 
945
                [Field ("PDFViewSelectionChangedNotification")]
 
946
                [Notification]
 
947
                NSString SelectionChangedNotification { get; }
 
948
 
 
949
                [Field ("PDFViewDisplayModeChangedNotification")]
 
950
                [Notification]
 
951
                NSString DisplayModeChangedNotification { get; }
 
952
 
 
953
                [Field ("PDFViewDisplayBoxChangedNotification")]
 
954
                [Notification]
 
955
                NSString DisplayBoxChangedNotification { get; }
 
956
        }
 
957
        
 
958
        public interface PdfViewAnnotationHitEventArgs {
 
959
                [Export ("PDFAnnotationHit")]
 
960
                PdfAnnotation AnnotationHit { get; }
 
961
        }
 
962
        
917
963
        //Verify delegate methods.  There are default actions (not just return null ) that should occur
918
964
        //if the delegate does not implement the method.
919
965
        [BaseType (typeof (NSObject))]