dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing/Printing Duplex.cs, 1.


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing/Printing Duplex.cs, 1.1, 1.2 Margins.cs, 1.2, 1.3 PaperKind.cs, 1.1, 1.2 PrintDocument.cs, 1.3, 1.4 PrinterSettings.cs, 1.2, 1.3 PrintingPermissionAttribute.cs, 1.2, 1.3 ModeField.cs, 1.1, NONE
Date: Wed, 03 Sep 2003 02:01:31 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Drawing/Printing
In directory subversions:/tmp/cvs-serv5753/System.Drawing/Printing

Modified Files:
        Duplex.cs Margins.cs PaperKind.cs PrintDocument.cs 
        PrinterSettings.cs PrintingPermissionAttribute.cs 
Removed Files:
        ModeField.cs 
Log Message:


Signature-compatibility fixes in "System.Drawing.Printing".


Index: Duplex.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Drawing/Printing/Duplex.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** Duplex.cs   7 Jun 2003 22:40:58 -0000       1.1
--- Duplex.cs   3 Sep 2003 06:01:27 -0000       1.2
***************
*** 27,31 ****
        Default         = -1,
        Simplex         = 1,
!       Veritcal        = 2,
        Horizontal      = 3
  
--- 27,31 ----
        Default         = -1,
        Simplex         = 1,
!       Vertical        = 2,
        Horizontal      = 3
  

Index: Margins.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Drawing/Printing/Margins.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Margins.cs  9 Jun 2003 22:15:09 -0000       1.2
--- Margins.cs  3 Sep 2003 06:01:27 -0000       1.3
***************
*** 27,31 ****
  
  #if CONFIG_COMPONENT_MODEL
! [TypeConverter("System.Drawing.Printing.MarginsConverter")]
  #endif
  public class Margins : ICloneable
--- 27,31 ----
  
  #if CONFIG_COMPONENT_MODEL
! [TypeConverter(typeof(MarginsConverter))]
  #endif
  public class Margins : ICloneable

Index: PaperKind.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Drawing/Printing/PaperKind.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** PaperKind.cs        7 Jun 2003 22:40:58 -0000       1.1
--- PaperKind.cs        3 Sep 2003 06:01:27 -0000       1.2
***************
*** 38,41 ****
--- 38,42 ----
        A5                                                                      
= 11,
        B4                                                                      
= 12,
+       B5                                                                      
= 13,
        Folio                                                           = 14,
        Quarto                                                          = 15,
***************
*** 52,61 ****
        ESheet                                                          = 26,
        DLEnvelope                                                      = 27,
        C3Envelope                                                      = 29,
        C4Envelope                                                      = 30,
        C65Envelope                                                     = 32,
        B4Envelope                                                      = 33,
!       C5Envelope                                                      = 34,
        B6Envelope                                                      = 35,
        MonarchEnvelope                                         = 37,
        PersonalEnvelope                                        = 38,
--- 53,65 ----
        ESheet                                                          = 26,
        DLEnvelope                                                      = 27,
+       C5Envelope                                                      = 28,
        C3Envelope                                                      = 29,
        C4Envelope                                                      = 30,
+       C6Envelope                                                      = 31,
        C65Envelope                                                     = 32,
        B4Envelope                                                      = 33,
!       B5Envelope                                                      = 34,
        B6Envelope                                                      = 35,
+       ItalyEnvelope                                           = 36,
        MonarchEnvelope                                         = 37,
        PersonalEnvelope                                        = 38,

Index: PrintDocument.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Drawing/Printing/PrintDocument.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** PrintDocument.cs    18 Jul 2003 03:53:32 -0000      1.3
--- PrintDocument.cs    3 Sep 2003 06:01:27 -0000       1.4
***************
*** 26,29 ****
--- 26,32 ----
  using System.Drawing.Toolkit;
  
+ #if CONFIG_COMPONENT_MODEL
+ [DefaultEvent("PrintPage")]
+ #endif
  public class PrintDocument
  #if CONFIG_COMPONENT_MODEL
***************
*** 50,53 ****
--- 53,59 ----
  
        // Get or set the document's properties.
+ #if CONFIG_COMPONENT_MODEL
+       
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
+ #endif
        public PageSettings DefaultPageSettings
                        {
***************
*** 61,64 ****
--- 67,73 ----
                                }
                        }
+ #if CONFIG_COMPONENT_MODEL
+       [DefaultValue("document")]
+ #endif
        public String DocumentName
                        {
***************
*** 83,86 ****
--- 92,98 ----
                                }
                        }
+ #if CONFIG_COMPONENT_MODEL
+       
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
+ #endif
        public PrintController PrintController
                        {
***************
*** 99,102 ****
--- 111,117 ----
                                }
                        }
+ #if CONFIG_COMPONENT_MODEL
+       
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
+ #endif
        public PrinterSettings PrinterSettings
                        {

Index: PrinterSettings.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Drawing/Printing/PrinterSettings.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** PrinterSettings.cs  9 Jun 2003 22:15:09 -0000       1.2
--- PrinterSettings.cs  3 Sep 2003 06:01:27 -0000       1.3
***************
*** 37,41 ****
        // Internal state.
        private bool collate;
!       private int copies;
        private PageSettings defaultPageSettings;
        private Duplex duplex;
--- 37,41 ----
        // Internal state.
        private bool collate;
!       private short copies;
        private PageSettings defaultPageSettings;
        private Duplex duplex;
***************
*** 88,92 ****
                                }
                        }
!       public int Copies
                        {
                                get
--- 88,92 ----
                                }
                        }
!       public short Copies
                        {
                                get

Index: PrintingPermissionAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Drawing/Printing/PrintingPermissionAttribute.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** PrintingPermissionAttribute.cs      9 Jun 2003 22:15:09 -0000       1.2
--- PrintingPermissionAttribute.cs      3 Sep 2003 06:01:27 -0000       1.3
***************
*** 29,33 ****
  using System.Security.Permissions;
  
! [AttributeUsage(AttributeTargets.All)]
  public sealed class PrintingPermissionAttribute : CodeAccessSecurityAttribute
  {
--- 29,33 ----
  using System.Security.Permissions;
  
! [AttributeUsage(AttributeTargets.All, AllowMultiple=true)]
  public sealed class PrintingPermissionAttribute : CodeAccessSecurityAttribute
  {

--- ModeField.cs DELETED ---





reply via email to

[Prev in Thread] Current Thread [Next in Thread]