|
|
@@ -5,10 +5,7 @@
|
|
|
// Dennis Hayes ([email protected])
|
|
|
//
|
|
|
// (C) 2002 Ximian, Inc
|
|
|
-//
|
|
|
-
|
|
|
-//
|
|
|
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
|
|
|
+// Copyright (C) 2004, 2006 Novell, Inc (http://www.novell.com)
|
|
|
//
|
|
|
// Permission is hereby granted, free of charge, to any person obtaining
|
|
|
// a copy of this software and associated documentation files (the
|
|
|
@@ -30,19 +27,18 @@
|
|
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
//
|
|
|
|
|
|
-using System;
|
|
|
+namespace System.Drawing.Printing {
|
|
|
+
|
|
|
+ public abstract class PrintController {
|
|
|
|
|
|
-namespace System.Drawing.Printing
|
|
|
-{
|
|
|
- public abstract class PrintController
|
|
|
- {
|
|
|
- public PrintController ()
|
|
|
- {
|
|
|
- }
|
|
|
#if NET_2_0
|
|
|
public virtual bool IsPreview {
|
|
|
get { return false; }
|
|
|
- }
|
|
|
+ }
|
|
|
+#else
|
|
|
+ public PrintController ()
|
|
|
+ {
|
|
|
+ }
|
|
|
#endif
|
|
|
public virtual void OnEndPage (PrintDocument document, PrintPageEventArgs e)
|
|
|
{
|
|
|
@@ -56,7 +52,6 @@ namespace System.Drawing.Printing
|
|
|
{
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public virtual Graphics OnStartPage (PrintDocument document, PrintPageEventArgs e)
|
|
|
{
|
|
|
return null;
|