Searched refs:paper (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/test/java/awt/print/PrinterJob/
H A DMargins.java41 Paper paper = pageFormat.getPaper();
42 double wid = paper.getWidth();
43 double hgt = paper.getHeight();
44 paper.setImageableArea(0, -10, wid, hgt);
46 pageFormat.setPaper(paper);
53 paper.setImageableArea(0, 0, wid, hgt+72);
55 pageFormat.setPaper(paper);
79 Paper paper = pf.getPaper();
80 double wid = paper.getWidth();
81 double hgt = paper
[all...]
/openjdk7/jdk/test/java/awt/print/PageFormat/
H A DPageFormatFromAttributes.java89 Paper paper = pf.getPaper();
90 int pw = (int)paper.getWidth();
91 int ph = (int)paper.getHeight();
/openjdk7/jdk/test/java/awt/print/Dialog/
H A DPaperSizeError.java27 * @summary Test for fp error in paper size calculations.
67 Paper paper = new Paper();
68 paper.setSize(a4w, a4h);
70 pf.setPaper(paper);
/openjdk7/jdk/src/share/classes/java/awt/print/
H A DPrinterJob.java431 Paper paper = pf.getPaper();
456 paper.setSize(paperWid, paperHgt);
458 paper.setImageableArea(inch, inch,
473 paper.setImageableArea(printableArea[0], printableArea[1],
490 pf.setPaper(paper);
500 * adjusted to fit within the physical area of the paper that
H A DPageFormat.java42 * The origin is at the bottom left of the paper with
50 * The origin is at the top left of the paper with
52 * paper.
57 * The origin is at the top right of the paper with x
66 * A description of the physical piece of paper.
285 * @param paper the <code>Paper</code> object to which to set
288 * a null paper instance was passed as a parameter.
291 public void setPaper(Paper paper) { argument
292 mPaper = (Paper)paper.clone();
/openjdk7/jdk/src/share/classes/sun/print/
H A DRasterPrinterJob.java231 * Used to check if the paper size has changed such that the
232 * implementation needs to emit the new paper size information
235 * Its strictly the dimensions of the paper that we will check.
338 * Not adjusted for orientation of the paper.
345 * Not adjusted for orientation of the paper.
352 * Not adjusted for orientation of the paper.
359 * Not adjusted for orientation of the paper.
366 * Not adjusted for orientation of the paper.
373 * Not adjusted for orientation of the paper.
730 Paper paper
[all...]
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DCPrinterJob.m245 jobject paper = JNFNewObject(env, jm_Paper_ctor); // AWT_THREADING Safe (known object)
247 nsPrintInfoToJavaPaper(env, src, paper);
250 JNFCallVoidMethod(env, dst, jm_setPaper, paper); // AWT_THREADING Safe (!appKit)
252 (*env)->DeleteLocalRef(env, paper);
267 // Set up the paper. This will force Portrait since java Paper is
270 jobject paper = JNFCallObjectMethod(env, srcPageFormat, jm_getPaper); // AWT_THREADING Safe (!appKit)
271 javaPaperToNSPrintInfo(env, paper, dstPrintInfo);
272 (*env)->DeleteLocalRef(env, paper);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_PrintJob.cpp81 static const char *PRINTPAPERSIZE_STR = "mPrintPaperSize"; // The paper size
111 // public void setPaper(Paper paper)
274 static void setPaper(JNIEnv *env, jobject page, jobject paper);
277 static void getPaperValues(JNIEnv *env, jobject paper, RectDouble *paperSize,
279 static void setPaperValues(JNIEnv *env, jobject paper, const POINT *paperSize,
466 jobject paper = getPaper(env, page); local
477 * we validate the paper size correctly
497 /* Get the Windows paper and margins description.
502 /* Convert the Windows' paper and margins description
505 setPaperValues(env, paper,
678 jobject paper = getPaper(env, page); local
1331 jobject paper = getPaper(env, format); local
[all...]

Completed in 2231 milliseconds