summaryrefslogtreecommitdiff
path: root/libjava/java/awt/print
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/awt/print')
-rw-r--r--libjava/java/awt/print/Book.h44
-rw-r--r--libjava/java/awt/print/NoPrinterJob.h51
-rw-r--r--libjava/java/awt/print/PageFormat.h54
-rw-r--r--libjava/java/awt/print/Pageable.h37
-rw-r--r--libjava/java/awt/print/Paper.h49
-rw-r--r--libjava/java/awt/print/Printable.h36
-rw-r--r--libjava/java/awt/print/PrinterAbortException.h36
-rw-r--r--libjava/java/awt/print/PrinterException.h36
-rw-r--r--libjava/java/awt/print/PrinterGraphics.h33
-rw-r--r--libjava/java/awt/print/PrinterIOException.h38
-rw-r--r--libjava/java/awt/print/PrinterJob.h76
11 files changed, 490 insertions, 0 deletions
diff --git a/libjava/java/awt/print/Book.h b/libjava/java/awt/print/Book.h
new file mode 100644
index 000000000..cda28618c
--- /dev/null
+++ b/libjava/java/awt/print/Book.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_Book__
+#define __java_awt_print_Book__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class Book;
+ class PageFormat;
+ class Printable;
+ }
+ }
+ }
+}
+
+class java::awt::print::Book : public ::java::lang::Object
+{
+
+public:
+ Book();
+ virtual jint getNumberOfPages();
+ virtual ::java::awt::print::PageFormat * getPageFormat(jint);
+ virtual ::java::awt::print::Printable * getPrintable(jint);
+ virtual void append(::java::awt::print::Printable *, ::java::awt::print::PageFormat *);
+ virtual void append(::java::awt::print::Printable *, ::java::awt::print::PageFormat *, jint);
+ virtual void setPage(jint, ::java::awt::print::Printable *, ::java::awt::print::PageFormat *);
+public: // actually package-private
+ ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::lang::Object)))) printables;
+ ::java::util::Vector * page_formats;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_print_Book__
diff --git a/libjava/java/awt/print/NoPrinterJob.h b/libjava/java/awt/print/NoPrinterJob.h
new file mode 100644
index 000000000..aac0af30b
--- /dev/null
+++ b/libjava/java/awt/print/NoPrinterJob.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_NoPrinterJob__
+#define __java_awt_print_NoPrinterJob__
+
+#pragma interface
+
+#include <java/awt/print/PrinterJob.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class NoPrinterJob;
+ class PageFormat;
+ class Pageable;
+ class Printable;
+ }
+ }
+ }
+}
+
+class java::awt::print::NoPrinterJob : public ::java::awt::print::PrinterJob
+{
+
+public: // actually package-private
+ NoPrinterJob();
+public:
+ virtual jint getCopies();
+ virtual void setCopies(jint);
+ virtual ::java::lang::String * getJobName();
+ virtual void setJobName(::java::lang::String *);
+ virtual ::java::lang::String * getUserName();
+ virtual void cancel();
+ virtual jboolean isCancelled();
+ virtual ::java::awt::print::PageFormat * defaultPage(::java::awt::print::PageFormat *);
+ virtual ::java::awt::print::PageFormat * pageDialog(::java::awt::print::PageFormat *);
+ virtual void print();
+ virtual jboolean printDialog();
+ virtual void setPageable(::java::awt::print::Pageable *);
+ virtual void setPrintable(::java::awt::print::Printable *);
+ virtual void setPrintable(::java::awt::print::Printable *, ::java::awt::print::PageFormat *);
+ virtual ::java::awt::print::PageFormat * validatePage(::java::awt::print::PageFormat *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_print_NoPrinterJob__
diff --git a/libjava/java/awt/print/PageFormat.h b/libjava/java/awt/print/PageFormat.h
new file mode 100644
index 000000000..0f4af7b65
--- /dev/null
+++ b/libjava/java/awt/print/PageFormat.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_PageFormat__
+#define __java_awt_print_PageFormat__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class PageFormat;
+ class Paper;
+ }
+ }
+ }
+}
+
+class java::awt::print::PageFormat : public ::java::lang::Object
+{
+
+public:
+ PageFormat();
+ virtual jdouble getWidth();
+ virtual jdouble getHeight();
+ virtual jdouble getImageableX();
+ virtual jdouble getImageableY();
+ virtual jdouble getImageableWidth();
+ virtual jdouble getImageableHeight();
+ virtual ::java::awt::print::Paper * getPaper();
+ virtual void setPaper(::java::awt::print::Paper *);
+ virtual jint getOrientation();
+ virtual void setOrientation(jint);
+ virtual JArray< jdouble > * getMatrix();
+ virtual ::java::lang::Object * clone();
+ static const jint LANDSCAPE = 0;
+ static const jint PORTRAIT = 1;
+ static const jint REVERSE_LANDSCAPE = 2;
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) orientation;
+ ::java::awt::print::Paper * paper;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_print_PageFormat__
diff --git a/libjava/java/awt/print/Pageable.h b/libjava/java/awt/print/Pageable.h
new file mode 100644
index 000000000..b97d4e522
--- /dev/null
+++ b/libjava/java/awt/print/Pageable.h
@@ -0,0 +1,37 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_Pageable__
+#define __java_awt_print_Pageable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class PageFormat;
+ class Pageable;
+ class Printable;
+ }
+ }
+ }
+}
+
+class java::awt::print::Pageable : public ::java::lang::Object
+{
+
+public:
+ virtual jint getNumberOfPages() = 0;
+ virtual ::java::awt::print::PageFormat * getPageFormat(jint) = 0;
+ virtual ::java::awt::print::Printable * getPrintable(jint) = 0;
+ static const jint UNKNOWN_NUMBER_OF_PAGES = -1;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_print_Pageable__
diff --git a/libjava/java/awt/print/Paper.h b/libjava/java/awt/print/Paper.h
new file mode 100644
index 000000000..3d7d3769f
--- /dev/null
+++ b/libjava/java/awt/print/Paper.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_Paper__
+#define __java_awt_print_Paper__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class Paper;
+ }
+ }
+ }
+}
+
+class java::awt::print::Paper : public ::java::lang::Object
+{
+
+public:
+ Paper();
+ virtual jdouble getHeight();
+ virtual jdouble getWidth();
+ virtual jdouble getImageableX();
+ virtual jdouble getImageableY();
+ virtual jdouble getImageableWidth();
+ virtual jdouble getImageableHeight();
+ virtual void setSize(jdouble, jdouble);
+ virtual void setImageableArea(jdouble, jdouble, jdouble, jdouble);
+ virtual ::java::lang::Object * clone();
+private:
+ jdouble __attribute__((aligned(__alignof__( ::java::lang::Object)))) height;
+ jdouble width;
+ jdouble imageableX;
+ jdouble imageableY;
+ jdouble imageableWidth;
+ jdouble imageableHeight;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_print_Paper__
diff --git a/libjava/java/awt/print/Printable.h b/libjava/java/awt/print/Printable.h
new file mode 100644
index 000000000..4160afcfd
--- /dev/null
+++ b/libjava/java/awt/print/Printable.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_Printable__
+#define __java_awt_print_Printable__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Graphics;
+ namespace print
+ {
+ class PageFormat;
+ class Printable;
+ }
+ }
+ }
+}
+
+class java::awt::print::Printable : public ::java::lang::Object
+{
+
+public:
+ virtual jint print(::java::awt::Graphics *, ::java::awt::print::PageFormat *, jint) = 0;
+ static const jint PAGE_EXISTS = 0;
+ static const jint NO_SUCH_PAGE = 1;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_print_Printable__
diff --git a/libjava/java/awt/print/PrinterAbortException.h b/libjava/java/awt/print/PrinterAbortException.h
new file mode 100644
index 000000000..f8475d995
--- /dev/null
+++ b/libjava/java/awt/print/PrinterAbortException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_PrinterAbortException__
+#define __java_awt_print_PrinterAbortException__
+
+#pragma interface
+
+#include <java/awt/print/PrinterException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class PrinterAbortException;
+ }
+ }
+ }
+}
+
+class java::awt::print::PrinterAbortException : public ::java::awt::print::PrinterException
+{
+
+public:
+ PrinterAbortException();
+ PrinterAbortException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = 4725169026278854136LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_print_PrinterAbortException__
diff --git a/libjava/java/awt/print/PrinterException.h b/libjava/java/awt/print/PrinterException.h
new file mode 100644
index 000000000..009ec510f
--- /dev/null
+++ b/libjava/java/awt/print/PrinterException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_PrinterException__
+#define __java_awt_print_PrinterException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class PrinterException;
+ }
+ }
+ }
+}
+
+class java::awt::print::PrinterException : public ::java::lang::Exception
+{
+
+public:
+ PrinterException();
+ PrinterException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -3757589981158265819LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_print_PrinterException__
diff --git a/libjava/java/awt/print/PrinterGraphics.h b/libjava/java/awt/print/PrinterGraphics.h
new file mode 100644
index 000000000..74541c07a
--- /dev/null
+++ b/libjava/java/awt/print/PrinterGraphics.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_PrinterGraphics__
+#define __java_awt_print_PrinterGraphics__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class PrinterGraphics;
+ class PrinterJob;
+ }
+ }
+ }
+}
+
+class java::awt::print::PrinterGraphics : public ::java::lang::Object
+{
+
+public:
+ virtual ::java::awt::print::PrinterJob * getPrinterJob() = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __java_awt_print_PrinterGraphics__
diff --git a/libjava/java/awt/print/PrinterIOException.h b/libjava/java/awt/print/PrinterIOException.h
new file mode 100644
index 000000000..46d7908d9
--- /dev/null
+++ b/libjava/java/awt/print/PrinterIOException.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_PrinterIOException__
+#define __java_awt_print_PrinterIOException__
+
+#pragma interface
+
+#include <java/awt/print/PrinterException.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class PrinterIOException;
+ }
+ }
+ }
+}
+
+class java::awt::print::PrinterIOException : public ::java::awt::print::PrinterException
+{
+
+public:
+ PrinterIOException(::java::io::IOException *);
+ virtual ::java::io::IOException * getIOException();
+ virtual ::java::lang::Throwable * getCause();
+private:
+ static const jlong serialVersionUID = 5850870712125932846LL;
+ ::java::io::IOException * __attribute__((aligned(__alignof__( ::java::awt::print::PrinterException)))) mException;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_print_PrinterIOException__
diff --git a/libjava/java/awt/print/PrinterJob.h b/libjava/java/awt/print/PrinterJob.h
new file mode 100644
index 000000000..39bb9a0e9
--- /dev/null
+++ b/libjava/java/awt/print/PrinterJob.h
@@ -0,0 +1,76 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_awt_print_PrinterJob__
+#define __java_awt_print_PrinterJob__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ namespace print
+ {
+ class PageFormat;
+ class Pageable;
+ class Printable;
+ class PrinterJob;
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace print
+ {
+ class PrintService;
+ class StreamPrintServiceFactory;
+ namespace attribute
+ {
+ class PrintRequestAttributeSet;
+ }
+ }
+ }
+}
+
+class java::awt::print::PrinterJob : public ::java::lang::Object
+{
+
+public:
+ static ::java::awt::print::PrinterJob * getPrinterJob();
+ PrinterJob();
+ virtual jint getCopies() = 0;
+ virtual void setCopies(jint) = 0;
+ virtual ::java::lang::String * getJobName() = 0;
+ virtual void setJobName(::java::lang::String *) = 0;
+ virtual ::java::lang::String * getUserName() = 0;
+ virtual void cancel() = 0;
+ virtual jboolean isCancelled() = 0;
+ virtual ::java::awt::print::PageFormat * defaultPage();
+ virtual ::java::awt::print::PageFormat * defaultPage(::java::awt::print::PageFormat *) = 0;
+ virtual ::java::awt::print::PageFormat * pageDialog(::java::awt::print::PageFormat *) = 0;
+ virtual ::java::awt::print::PageFormat * pageDialog(::javax::print::attribute::PrintRequestAttributeSet *);
+ virtual void print() = 0;
+ virtual void print(::javax::print::attribute::PrintRequestAttributeSet *);
+ virtual jboolean printDialog() = 0;
+ virtual jboolean printDialog(::javax::print::attribute::PrintRequestAttributeSet *);
+ virtual void setPageable(::java::awt::print::Pageable *) = 0;
+ virtual void setPrintable(::java::awt::print::Printable *) = 0;
+ virtual void setPrintable(::java::awt::print::Printable *, ::java::awt::print::PageFormat *) = 0;
+ virtual ::java::awt::print::PageFormat * validatePage(::java::awt::print::PageFormat *) = 0;
+ static JArray< ::javax::print::PrintService * > * lookupPrintServices();
+ static JArray< ::javax::print::StreamPrintServiceFactory * > * lookupStreamPrintServices(::java::lang::String *);
+ virtual ::javax::print::PrintService * getPrintService();
+ virtual void setPrintService(::javax::print::PrintService *);
+private:
+ ::javax::print::PrintService * __attribute__((aligned(__alignof__( ::java::lang::Object)))) printer;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_awt_print_PrinterJob__