public class PageContentInfo
extends java.lang.Object
| Constructor and Description |
|---|
PageContentInfo()
Creates a page content info.
|
PageContentInfo(RowPageContentInfo rowPage,
ColumnPageContentInfo columnPage) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getColumnHeaderVisible()
Returns whether the column header is printed.
|
int |
getFillColumn()
Returns a column index.
|
int |
getFillColumnCount()
Returns a value represents the number of times the fill column will be repeated.
|
int |
getFillRow()
Returns a row index.
|
int |
getFillRowCount()
Returns a value represents the number of times the fill row will be repeated.
|
IRange |
getRange()
Returns the range to be printed.
|
boolean |
getRowHeaderVisible()
Returns whether the row header is printed.
|
double |
getRowHeaderWidth() |
Size |
getSize(WorksheetCache worksheetCache) |
int |
getTailColumnEnd()
Returns the end index of the columns which are printed at the right of the page.
|
int |
getTailColumnStart()
Returns the start index of the columns which are printed at the right of the page.
|
int |
getTailRowEnd()
Returns the end index of the rows which are printed at the bottom of the page.
|
int |
getTailRowStart()
Returns the start index of the rows which are printed at the bottom of the page.
|
int |
getTitleColumnEnd()
Returns the end index of the columns which are printed at the left of the page.
|
int |
getTitleColumnStart()
Returns the start index of the columns which are printed at the left of the page.
|
int |
getTitleRowEnd()
Returns the end index of the rows which are printed at the top of the page.
|
int |
getTitleRowStart()
Returns the start index of the rows which are printed at the top of the page.
|
double |
getZoomFactor()
Returns a Variant value that represents a percentage by which GcExcel will scale the worksheet for printing.
|
void |
setColumnHeaderVisible(boolean value)
Sets whether the column header is printed.
|
void |
setFillColumn(int value)
Sets a column index.
|
void |
setFillColumnCount(int value)
Sets a value represents the number of times the fill column will be repeated.
|
void |
setFillRow(int value)
Sets a row index.
|
void |
setFillRowCount(int value)
Sets a value represents the number of times the fill row will be repeated.
|
void |
setRange(IRange value)
Sets the range to be printed.
|
void |
setRowHeaderVisible(boolean value)
Sets whether the row header is printed.
|
void |
setRowHeaderWidth(double value) |
void |
setTailColumnEnd(int value)
Sets the end index of the columns which are printed at the right of the page.
|
void |
setTailColumnStart(int value)
Sets the start index of the columns which are printed at the right of the page.
|
void |
setTailRowEnd(int value)
Sets the end index of the rows which are printed at the bottom of the page.
|
void |
setTailRowStart(int value)
Sets the start index of the rows which are printed at the bottom of the page.
|
void |
setTitleColumnEnd(int value)
Sets the end index of the columns which are printed at the left of the page.
|
void |
setTitleColumnStart(int value)
Sets the start index of the columns which are printed at the left of the page.
|
void |
setTitleRowEnd(int value)
Sets the end index of the rows which are printed at the top of the page.
|
void |
setTitleRowStart(int value)
Sets the start index of the rows which are printed at the top of the page.
|
void |
setZoomFactor(double value)
Sets a Variant value that represents a percentage by which GcExcel will scale the worksheet for printing.
|
void |
updateFillColumnCount(double pageContentAvailableWidth)
Updates the FillColumnCount.
|
void |
updateFillRowCount(double pageContentAvailableHeight)
Updates the FillRowCount.
|
void |
updateRange(WorksheetCache worksheetCache,
IRange printArea,
int rowStart,
int columnStart,
Size availableSize) |
void |
updateRange(WorksheetCache worksheetCache,
IRange printArea,
int rowStart,
int columnStart,
Size availableSize,
boolean ignoreRowPageBreaks) |
void |
updateRange(WorksheetCache worksheetCache,
IRange printArea,
int rowStart,
int columnStart,
Size availableSize,
boolean ignoreRowPageBreaks,
boolean ignoreColumnPageBreaks)
Updates the Range of the current ColumnPageContentInfo.
|
void |
updateRange(WorksheetCache worksheetCache,
IRange printArea,
int rowStart,
int columnStart,
Size availableSize,
boolean ignoreRowPageBreaks,
boolean ignoreColumnPageBreaks,
boolean extend) |
public PageContentInfo()
public PageContentInfo(RowPageContentInfo rowPage,
ColumnPageContentInfo columnPage)
public double getRowHeaderWidth()
public void setRowHeaderWidth(double value)
public boolean getRowHeaderVisible()
public void setRowHeaderVisible(boolean value)
public final boolean getColumnHeaderVisible()
public final void setColumnHeaderVisible(boolean value)
public final double getZoomFactor()
public final void setZoomFactor(double value)
public final IRange getRange()
public final void setRange(IRange value)
public final int getTitleRowStart()
public final void setTitleRowStart(int value)
public final int getTitleRowEnd()
public final void setTitleRowEnd(int value)
public final int getTailRowStart()
public final void setTailRowStart(int value)
public final int getTailRowEnd()
public final void setTailRowEnd(int value)
public final int getTitleColumnStart()
public final void setTitleColumnStart(int value)
public final int getTitleColumnEnd()
public final void setTitleColumnEnd(int value)
public final int getTailColumnStart()
public final void setTailColumnStart(int value)
public final int getTailColumnEnd()
public final void setTailColumnEnd(int value)
public final int getFillRow()
public final void setFillRow(int value)
public final int getFillRowCount()
public final void setFillRowCount(int value)
public final int getFillColumn()
public final void setFillColumn(int value)
public final int getFillColumnCount()
public final void setFillColumnCount(int value)
public final void updateRange(WorksheetCache worksheetCache,
IRange printArea,
int rowStart,
int columnStart,
Size availableSize,
boolean ignoreRowPageBreaks,
boolean ignoreColumnPageBreaks)
printArea - The print area.rowStart - The start row index which is used to calculate the RowEnd.columnStart - The start column index which is used to calculate the ColumnEnd.pageContentAvailableSize - The page content size.ignorePageBreaks - Ignore the page breaks.public final void updateRange(WorksheetCache worksheetCache,
IRange printArea,
int rowStart,
int columnStart,
Size availableSize,
boolean ignoreRowPageBreaks)
public final void updateRange(WorksheetCache worksheetCache,
IRange printArea,
int rowStart,
int columnStart,
Size availableSize)
public final void updateRange(WorksheetCache worksheetCache,
IRange printArea,
int rowStart,
int columnStart,
Size availableSize,
boolean ignoreRowPageBreaks,
boolean ignoreColumnPageBreaks,
boolean extend)
public final void updateFillRowCount(double pageContentAvailableHeight)
pageContentAvailableHeight - The page content height.public final void updateFillColumnCount(double pageContentAvailableWidth)
pageContentAvailableWidth - The page content width.public final Size getSize(WorksheetCache worksheetCache)