ソースを参照

Add a HSSF print paper size constant for "printer default" for bug #56509

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1594848 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_3_11_BETA1
Nick Burch 10年前
コミット
5eacb4c2f7

+ 1
- 0
src/java/org/apache/poi/hssf/usermodel/HSSFPrintSetup.java ファイルの表示

@@ -26,6 +26,7 @@ import org.apache.poi.ss.usermodel.PrintSetup;
* <P>
* Paper size constants have been added for the ones I have access
* to. They follow as:<br>
* public static final short PRINTER_DEFAULT_PAPERSIZE = 0;<br>
* public static final short LETTER_PAPERSIZE = 1;<br>
* public static final short LEGAL_PAPERSIZE = 5;<br>
* public static final short EXECUTIVE_PAPERSIZE = 7;<br>

+ 2
- 0
src/java/org/apache/poi/ss/usermodel/PrintSetup.java ファイルの表示

@@ -18,6 +18,8 @@
package org.apache.poi.ss.usermodel;

public interface PrintSetup {
/** Whatever the printer's default paper size is */
public static final short PRINTER_DEFAULT_PAPERSIZE = 0;
/** US Letter 8 1/2 x 11 in */
public static final short LETTER_PAPERSIZE = 1;
/** US Letter Small 8 1/2 x 11 in */

読み込み中…
キャンセル
保存