|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttw.idv.imacat.calcmosaic.SpreadsheetDocument
public class SpreadsheetDocument
A spreadsheet document.
Constructor Summary | |
---|---|
SpreadsheetDocument(com.sun.star.lang.XComponent document)
Creates a new instance of SpreadsheetDocument. |
Method Summary | |
---|---|
void |
createMosaic(java.awt.image.BufferedImage image,
int sheetIndex,
java.lang.String sheetName)
Creates a mosaic art spreadsheet from an image, with mosaic cell size calculated automatically. |
void |
createMosaic(java.awt.image.BufferedImage image,
int sheetIndex,
java.lang.String sheetName,
int maxRows)
Creates a mosaic art spreadsheet from an image, with mosaic cell size specified. |
void |
createMosaic(java.awt.image.BufferedImage image,
int sheetIndex,
java.lang.String sheetName,
int maxRows,
boolean isCleanUp)
Creates a mosaic art spreadsheet from an image. |
void |
createMosaic(java.io.File file,
int sheetIndex)
Creates a mosaic art spreadsheet from an image file, with mosaic cell size calculated automatically. |
void |
createMosaic(java.io.File file,
int sheetIndex,
int maxRows)
Creates a mosaic art spreadsheet from an image file, with mosaic cell size specified. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpreadsheetDocument(com.sun.star.lang.XComponent document)
document
- the document componentMethod Detail |
---|
public void createMosaic(java.io.File file, int sheetIndex) throws java.io.IOException
file
- the source image filesheetIndex
- the index of the mosaic spreadsheet
java.io.IOException
- when file couldn't be found or
was corruptpublic void createMosaic(java.io.File file, int sheetIndex, int maxRows) throws java.io.IOException
file
- the source image filesheetIndex
- the index of the mosaic spreadsheetmaxRows
- the maximum number of rows to use, 0 means
to calculate automatically
java.io.IOException
- when file couldn't be found or
was corruptpublic void createMosaic(java.awt.image.BufferedImage image, int sheetIndex, java.lang.String sheetName)
image
- the source imagesheetIndex
- the index of the mosaic spreadsheetsheetName
- the name of the mosaic spreadsheetpublic void createMosaic(java.awt.image.BufferedImage image, int sheetIndex, java.lang.String sheetName, int maxRows)
image
- the source imagesheetIndex
- the index of the mosaic spreadsheetsheetName
- the name of the mosaic spreadsheetmaxRows
- the maximum number of rows to use, 0 means
to calculate automaticallypublic void createMosaic(java.awt.image.BufferedImage image, int sheetIndex, java.lang.String sheetName, int maxRows, boolean isCleanUp)
image
- the source imagesheetIndex
- the index of the mosaic spreadsheetsheetName
- the name of the mosaic spreadsheetmaxRows
- the maximum number of rows to use, 0 means
to calculate automaticallyisCleanUp
- whether we should remove all the other
existing spreadsheets
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |