public class PageOffsets extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
maxH |
protected int |
maxW |
static int |
pageGap
gap between pages
|
| Constructor and Description |
|---|
PageOffsets(int pageCount,
PdfPageData pageData) |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateCombinedPageSizes(int displayView,
int pageNumber,
int displayRotation,
MultiDisplayOptions multiDisplayOptions,
PdfPageData pageData,
float scaling,
int insetW,
int insetH) |
int |
getBiggestHeight() |
int |
getBiggestWidth() |
int |
getDoubleGaps() |
int |
getDoublePageHeight() |
int |
getDoublePageWidth() |
int |
getGaps() |
int |
getMaxH() |
int |
getMaxW() |
int |
getPageHeight() |
int |
getPageWidth() |
int |
getWidestPageNR() |
int |
getWidestPageR() |
void |
setBiggestHeight(int biggestHeight) |
void |
setBiggestWidth(int biggestWidth) |
void |
setDoubleGaps(int doubleGaps) |
void |
setDoublePageHeight(int doublePageHeight) |
void |
setDoublePageWidth(int doublePageWidth) |
void |
setGaps(int gaps) |
void |
setTotalDoubleHeight(int totalDoubleHeight) |
void |
setTotalDoubleWidth(int totalDoubleWidth) |
void |
setTotalSingleHeight(int totalSingleHeight) |
void |
setTotalSingleWidth(int totalSingleWidth) |
void |
setWidestPageNR(int widestPageNR) |
void |
setWidestPageR(int widestPageR) |
protected int maxW
protected int maxH
public static final int pageGap
public PageOffsets(int pageCount,
PdfPageData pageData)
public int getMaxH()
public int getMaxW()
public int getWidestPageR()
public int getWidestPageNR()
public void setTotalSingleWidth(int totalSingleWidth)
totalSingleWidth - the totalSingleWidth to setpublic int getGaps()
public void setGaps(int gaps)
gaps - the gaps to setpublic int getDoubleGaps()
public void setDoubleGaps(int doubleGaps)
doubleGaps - the doubleGaps to setpublic void setTotalDoubleWidth(int totalDoubleWidth)
totalDoubleWidth - the totalDoubleWidth to setpublic void setTotalSingleHeight(int totalSingleHeight)
totalSingleHeight - the totalSingleHeight to setpublic void setTotalDoubleHeight(int totalDoubleHeight)
totalDoubleHeight - the totalDoubleHeight to setpublic int getDoublePageWidth()
public void setDoublePageWidth(int doublePageWidth)
doublePageWidth - the doublePageWidth to setpublic int getDoublePageHeight()
public void setDoublePageHeight(int doublePageHeight)
doublePageHeight - the doublePageHeight to setpublic int getBiggestWidth()
public void setBiggestWidth(int biggestWidth)
biggestWidth - the biggestWidth to setpublic int getBiggestHeight()
public void setBiggestHeight(int biggestHeight)
biggestHeight - the biggestHeight to setpublic void setWidestPageNR(int widestPageNR)
widestPageNR - the widestPageNR to setpublic void setWidestPageR(int widestPageR)
widestPageR - the widestPageR to setpublic void calculateCombinedPageSizes(int displayView,
int pageNumber,
int displayRotation,
MultiDisplayOptions multiDisplayOptions,
PdfPageData pageData,
float scaling,
int insetW,
int insetH)
public int getPageWidth()
public int getPageHeight()
Copyright © 2017. All rights reserved.