|
library-wpoi b2007093001 |
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.phosphoresce.library.wpoi.util.PoiPrintConfig
POIシート印刷環境設定クラス。
HSSFSheetが提供するシートに対する環境設定情報のみを保持する。
フィールドの概要 | |
static short |
PAPER_A4
用紙サイズ(A4) |
static short |
PAPER_A5
用紙サイズ(A5) |
コンストラクタの概要 | |
PoiPrintConfig()
|
メソッドの概要 | |
short |
getCopies()
印刷部数を取得します。 |
short |
getDpi()
印刷品質(dpi)を取得します。 |
short |
getFitPageHorizontalCount()
指定縦横数改ページ印刷方式での横方向のページ数を取得します。 |
short |
getFitPageVerticalCount()
指定縦横数改ページ印刷方式での縦方向のページ数を取得します。 |
java.lang.String |
getFooterCenterString()
フッター中央文字列を取得します。 |
java.lang.String |
getFooterLeftString()
フッター左部文字列を取得します。 |
java.lang.String |
getFooterRightString()
フッター右部文字列を取得します。 |
java.lang.String |
getHeaderCenterString()
ヘッダー中央文字列を取得します。 |
java.lang.String |
getHeaderLeftString()
ヘッダー左部文字列を取得します。 |
java.lang.String |
getHeaderRightString()
ヘッダー右部文字列を取得します。 |
double |
getMarginOfBottom()
ページ印刷マージン下部を取得します。 |
double |
getMarginOfFooter()
フッターマージンを取得します。 |
double |
getMarginOfHeader()
ヘッダーマージンを取得します。 |
double |
getMarginOfLeft()
ページ印刷マージン左部を取得します。 |
double |
getMarginOfRight()
ページ印刷マージン右部を取得します。 |
double |
getMarginOfTop()
ページ印刷マージン上部を取得します。 |
short |
getPaperSize()
用紙サイズを取得します。 |
short |
getScale()
印刷倍率を取得します。 |
short |
getStartPage()
先頭ページを取得します。 |
boolean |
isAutobreaks()
拡大縮小印刷方法を取得します。 |
boolean |
isDraft()
簡易印刷を取得します。 |
boolean |
isHorizontallyCenter()
ページ中央印刷(水平方向)方法を取得します。 |
boolean |
isLandscape()
印刷方向を取得します。 |
boolean |
isMonoPrint()
白黒印刷を取得します。 |
boolean |
isPrintComment()
コメント印刷設定を取得します。 |
boolean |
isPrintTopToDown()
印刷方向(上から下)設定を取得します。 |
boolean |
isVerticallyCenter()
ページ中央印刷(垂直方向)方法を取得します。 |
void |
setAutobreaks(boolean autobreaks)
拡大縮小印刷方法を設定します。 |
void |
setCopies(short copies)
印刷部数を設定します。 |
void |
setDpi(short dpi)
印刷品質(dpi)を設定します。 |
void |
setDraft(boolean draft)
簡易印刷を設定します。 |
void |
setFitPageHorizontalCount(short fitPageHorizontalCount)
指定縦横数改ページ印刷方式での横方向のページ数を設定します。 |
void |
setFitPageVerticalCount(short fitPageVerticalCount)
指定縦横数改ページ印刷方式での縦方向のページ数を設定します。 |
void |
setFooterCenterString(java.lang.String footerCenterString)
フッター中央文字列を設定します。 |
void |
setFooterLeftString(java.lang.String footerLeftString)
フッター左部文字列を設定します。 |
void |
setFooterRightString(java.lang.String footerRightString)
フッター右部文字列を設定します。 |
void |
setHeaderCenterString(java.lang.String headerCenterString)
ヘッダー中央文字列を設定します。 |
void |
setHeaderLeftString(java.lang.String headerLeftString)
ヘッダー左部文字列を設定します。 |
void |
setHeaderRightString(java.lang.String headerRightString)
ヘッダー右部文字列を設定します。 |
void |
setHorizontallyCenter(boolean horizontallyCenter)
ページ中央印刷(水平方向)方法を設定します。 |
void |
setLandscape(boolean landscape)
印刷方向を設定します。 |
void |
setMarginOfBottom(double marginOfBottom)
ページ印刷マージン下部を設定します。 |
void |
setMarginOfFooter(double marginOfFooter)
フッターマージンを設定します。 |
void |
setMarginOfHeader(double marginOfHeader)
ヘッダーマージンを設定します。 |
void |
setMarginOfLeft(double marginOfLeft)
ページ印刷マージン左部を設定します。 |
void |
setMarginOfRight(double marginOfRight)
ページ印刷マージン右部を設定します。 |
void |
setMarginOfTop(double marginOfTop)
ページ印刷マージン上部を設定します。 |
void |
setMonoPrint(boolean monoPrint)
白黒印刷を設定します。 |
void |
setPaperSize(short paperSize)
用紙サイズを設定します。 |
void |
setPrintComment(boolean printComment)
コメント印刷設定を設定します。 |
void |
setPrintTopToDown(boolean printTopToDown)
印刷方向(上から下)設定を設定します。 |
void |
setScale(short scale)
印刷倍率を設定します。 |
void |
setStartPage(short startPage)
先頭ページを設定します。 |
void |
setVerticallyCenter(boolean verticallyCenter)
ページ中央印刷(垂直方向)方法を設定します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
public static final short PAPER_A4
public static final short PAPER_A5
コンストラクタの詳細 |
public PoiPrintConfig()
メソッドの詳細 |
public boolean isLandscape()
public void setLandscape(boolean landscape)
landscape
- 印刷方向public boolean isAutobreaks()
public void setAutobreaks(boolean autobreaks)
autobreaks
- 拡大縮小印刷方法public short getScale()
public void setScale(short scale)
scale
- 印刷倍率public boolean isHorizontallyCenter()
public void setHorizontallyCenter(boolean horizontallyCenter)
horizontallyCenter
- ページ中央印刷(水平方向)方法public boolean isVerticallyCenter()
public void setVerticallyCenter(boolean verticallyCenter)
verticallyCenter
- ページ中央印刷(垂直方向)方法public double getMarginOfBottom()
public void setMarginOfBottom(double marginOfBottom)
marginOfBottom
- ページ印刷マージン下部public double getMarginOfLeft()
public void setMarginOfLeft(double marginOfLeft)
marginOfLeft
- ページ印刷マージン左部public double getMarginOfRight()
public void setMarginOfRight(double marginOfRight)
marginOfRight
- ページ印刷マージン右部public double getMarginOfTop()
public void setMarginOfTop(double marginOfTop)
marginOfTop
- ページ印刷マージン上部public java.lang.String getFooterCenterString()
public void setFooterCenterString(java.lang.String footerCenterString)
footerCenterString
- フッター中央文字列public java.lang.String getFooterLeftString()
public void setFooterLeftString(java.lang.String footerLeftString)
footerLeftString
- フッター左部文字列public java.lang.String getFooterRightString()
public void setFooterRightString(java.lang.String footerRightString)
footerRightString
- フッター右部文字列public java.lang.String getHeaderCenterString()
public void setHeaderCenterString(java.lang.String headerCenterString)
headerCenterString
- ヘッダー中央文字列public java.lang.String getHeaderLeftString()
public void setHeaderLeftString(java.lang.String headerLeftString)
headerLeftString
- ヘッダー左部文字列public java.lang.String getHeaderRightString()
public void setHeaderRightString(java.lang.String headerRightString)
headerRightString
- ヘッダー右部文字列public double getMarginOfFooter()
public void setMarginOfFooter(double marginOfFooter)
marginOfFooter
- フッターマージンpublic double getMarginOfHeader()
public void setMarginOfHeader(double marginOfHeader)
marginOfHeader
- ヘッダーマージンpublic short getFitPageHorizontalCount()
public void setFitPageHorizontalCount(short fitPageHorizontalCount)
fitPageHorizontalCount
- 指定縦横数改ページ印刷方式での横方向のページ数public short getFitPageVerticalCount()
public void setFitPageVerticalCount(short fitPageVerticalCount)
fitPageVerticalCount
- 指定縦横数改ページ印刷方式での縦方向のページ数public short getCopies()
public void setCopies(short copies)
copies
- 印刷部数public short getDpi()
public void setDpi(short dpi)
dpi
- 印刷品質(dpi)public boolean isDraft()
public void setDraft(boolean draft)
draft
- 簡易印刷public boolean isMonoPrint()
public void setMonoPrint(boolean monoPrint)
monoPrint
- 白黒印刷public short getPaperSize()
public void setPaperSize(short paperSize)
paperSize
- 用紙サイズpublic boolean isPrintComment()
public void setPrintComment(boolean printComment)
printComment
- コメント印刷設定public boolean isPrintTopToDown()
public void setPrintTopToDown(boolean printTopToDown)
printTopToDown
- 印刷方向(上から下)設定public short getStartPage()
public void setStartPage(short startPage)
startPage
- 先頭ページ
|
library-wpoi b2007093001 |
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |