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

« back to all changes in this revision

Viewing changes to external/ikvm/openjdk/sun/awt/windows/WPrinterJob.java

  • 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:
 
1
/*
 
2
  Copyright (C) 2009 Volker Berlin (i-net software)
 
3
 
 
4
  This software is provided 'as-is', without any express or implied
 
5
  warranty.  In no event will the authors be held liable for any damages
 
6
  arising from the use of this software.
 
7
 
 
8
  Permission is granted to anyone to use this software for any purpose,
 
9
  including commercial applications, and to alter it and redistribute it
 
10
  freely, subject to the following restrictions:
 
11
 
 
12
  1. The origin of this software must not be misrepresented; you must not
 
13
     claim that you wrote the original software. If you use this software
 
14
     in a product, an acknowledgment in the product documentation would be
 
15
     appreciated but is not required.
 
16
  2. Altered source versions must be plainly marked as such, and must not be
 
17
     misrepresented as being the original software.
 
18
  3. This notice may not be removed or altered from any source distribution.
 
19
 
 
20
  Jeroen Frijters
 
21
  jeroen@frijters.net
 
22
  
 
23
 */
 
24
package sun.awt.windows;
 
25
 
 
26
import ikvm.awt.IkvmToolkit;
 
27
 
 
28
import java.awt.Graphics;
 
29
import java.awt.HeadlessException;
 
30
import java.awt.Toolkit;
 
31
import java.awt.image.BufferedImage;
 
32
import java.awt.print.PageFormat;
 
33
import java.awt.print.Pageable;
 
34
import java.awt.print.Paper;
 
35
import java.awt.print.Printable;
 
36
import java.awt.print.PrinterException;
 
37
import java.awt.print.PrinterJob;
 
38
 
 
39
import javax.print.PrintService;
 
40
import javax.print.attribute.PrintRequestAttributeSet;
 
41
 
 
42
import cli.System.Drawing.Printing.*;
 
43
 
 
44
import sun.print.PeekGraphics;
 
45
import sun.print.PrintPeer;
 
46
import sun.print.RasterPrinterJob;
 
47
import sun.print.Win32PrintService;
 
48
 
 
49
import ikvm.internal.NotYetImplementedError;
 
50
 
 
51
/**
 
52
 * @author Volker Berlin
 
53
 */
 
54
public class WPrinterJob extends RasterPrinterJob{
 
55
 
 
56
    @Override
 
57
    protected void abortDoc(){
 
58
        throw new NotYetImplementedError();
 
59
    }
 
60
 
 
61
    @Override
 
62
    protected void endDoc() throws PrinterException{
 
63
        throw new NotYetImplementedError();
 
64
    }
 
65
 
 
66
    @Override
 
67
    protected void endPage(PageFormat format, Printable painter, int index) throws PrinterException{
 
68
        throw new NotYetImplementedError();
 
69
    }
 
70
 
 
71
    @Override
 
72
    protected double getPhysicalPageHeight(Paper p){
 
73
        throw new NotYetImplementedError();
 
74
    }
 
75
 
 
76
    @Override
 
77
    protected double getPhysicalPageWidth(Paper p){
 
78
        throw new NotYetImplementedError();
 
79
    }
 
80
 
 
81
    @Override
 
82
    protected double getPhysicalPrintableHeight(Paper p){
 
83
        throw new NotYetImplementedError();
 
84
    }
 
85
 
 
86
    @Override
 
87
    protected double getPhysicalPrintableWidth(Paper p){
 
88
        throw new NotYetImplementedError();
 
89
    }
 
90
 
 
91
    @Override
 
92
    protected double getPhysicalPrintableX(Paper p){
 
93
        throw new NotYetImplementedError();
 
94
    }
 
95
 
 
96
    @Override
 
97
    protected double getPhysicalPrintableY(Paper p){
 
98
        throw new NotYetImplementedError();
 
99
    }
 
100
 
 
101
    @Override
 
102
    protected double getXRes(){
 
103
        throw new NotYetImplementedError();
 
104
    }
 
105
 
 
106
    @Override
 
107
    protected double getYRes(){
 
108
        throw new NotYetImplementedError();
 
109
    }
 
110
 
 
111
    @Override
 
112
    protected void printBand(byte[] data, int x, int y, int width, int height) throws PrinterException{
 
113
        throw new NotYetImplementedError();
 
114
    }
 
115
 
 
116
    @Override
 
117
    protected void startDoc() throws PrinterException{
 
118
        throw new NotYetImplementedError();
 
119
    }
 
120
 
 
121
    @Override
 
122
    protected void startPage(PageFormat format, Printable painter, int index, boolean paperChanged)
 
123
            throws PrinterException{
 
124
        throw new NotYetImplementedError();
 
125
    }
 
126
}