public class GridJsService extends java.lang.Object implements IGridJsService
| Constructor and Description |
|---|
GridJsService(GridJsOptions options)
The default constructor for GridJsService
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
addImage(java.lang.String p,
java.lang.String uid,
java.io.InputStream filestream)
Applies the add image from local file operation.
|
java.lang.String |
addImageByURL(java.lang.String p,
java.lang.String uid,
java.io.InputStream filestream,
java.lang.String imageurl)
Applies the add image from local file operation.
|
boolean |
checkInCacheForCollaborative(java.lang.String uid)
Check wether workbook instance is in memory cache .this method is apply for Collaborative mode only.
|
java.lang.String |
copyImage(java.lang.String p,
java.lang.String uid)
Applies the copy image operation.
|
java.lang.StringBuilder |
detailFileJsonWithUid(java.lang.String filePath,
java.lang.String uid)
Gets JSON string for the file by the specified unique id.
|
void |
detailStreamJson(java.io.OutputStream stream,
java.lang.String filePath)
Write the JSON string for the file to the stream .
|
void |
detailStreamJsonWithUid(java.io.OutputStream stream,
java.lang.String filePath,
java.lang.String uid)
Write the JSON string for the file to the stream by the specified unique id.
|
java.lang.String |
download(java.lang.String p,
java.lang.String uid,
java.lang.String filename)
Applies the download file operation
|
java.io.InputStream |
getFile(java.lang.String fileid)
Get file stream
|
java.io.InputStream |
image(java.lang.String uid,
java.lang.String picid)
Get Stream of image.
|
java.lang.String |
imageUrl(java.lang.String baseURL,
java.lang.String picid,
java.lang.String uid)
Gets the image URL.
|
java.lang.StringBuilder |
lazyLoadingJson(java.lang.String sheetName,
java.lang.String uid)
Gets the JSON string of the specified sheet in the file from the cache using the specified unique id.
|
void |
lazyLoadingStreamJson(java.io.OutputStream stream,
java.lang.String sheetName,
java.lang.String uid)
Writes the JSON string of the specified sheet in the file from the cache using the specified unique id to the stream..
|
java.lang.String |
load(java.lang.String uid,
java.lang.String filename)
Gets the JSON string of the file from the cache using the specified unique id,set the output filename in the JSON.
|
byte[] |
ole(java.lang.String uid,
java.lang.String sheet,
int oleid,
java.lang.String filename)
Gets the byte array data of the embedded ole object .
|
java.lang.String |
updateCell(java.lang.String p,
java.lang.String uid)
Applies the update operation.
|
public GridJsService(GridJsOptions options)
public boolean checkInCacheForCollaborative(java.lang.String uid)
checkInCacheForCollaborative in interface IGridJsServiceuid - public java.lang.String updateCell(java.lang.String p,
java.lang.String uid)
updateCell in interface IGridJsServicep - The JSON format string of update operation.uid - The unique id for the file cache.public java.lang.StringBuilder detailFileJsonWithUid(java.lang.String filePath,
java.lang.String uid)
detailFileJsonWithUid in interface IGridJsServicefilePath - The file pathuid - The unique id for the file cache.public void detailStreamJsonWithUid(java.io.OutputStream stream,
java.lang.String filePath,
java.lang.String uid)
detailStreamJsonWithUid in interface IGridJsServicestream - The stream that will be writtenfilePath - The file pathuid - The unique id for the file cache.public void detailStreamJson(java.io.OutputStream stream,
java.lang.String filePath)
detailStreamJson in interface IGridJsServicestream - The stream that will be writtenfilePath - The file pathpublic java.lang.StringBuilder lazyLoadingJson(java.lang.String sheetName,
java.lang.String uid)
lazyLoadingJson in interface IGridJsServicesheetName - the sheet name.uid - The unique id for the file cache.public void lazyLoadingStreamJson(java.io.OutputStream stream,
java.lang.String sheetName,
java.lang.String uid)
lazyLoadingStreamJson in interface IGridJsServicestream - The stream that will be writtensheetName - The sheet name.uid - The unique id for the file cache.public java.lang.String addImage(java.lang.String p,
java.lang.String uid,
java.io.InputStream filestream)
addImage in interface IGridJsServicep - The JSON string parameteruid - The unique id for the file cache.filestream - The filestream of the imagepublic java.lang.String addImageByURL(java.lang.String p,
java.lang.String uid,
java.io.InputStream filestream,
java.lang.String imageurl)
addImageByURL in interface IGridJsServicep - The JSON string parameteruid - The unique id for the file cache.filestream - The filestream of the imageimageurl - Specify the image URL.public java.lang.String copyImage(java.lang.String p,
java.lang.String uid)
copyImage in interface IGridJsServicep - The JSON string parameteruid - The unique id for the file cache.public java.lang.String load(java.lang.String uid,
java.lang.String filename)
load in interface IGridJsServiceuid - The unique id for the file cache.filename - Specifies the file name in the JSON. If set to null,the default filename is: book1.public java.io.InputStream image(java.lang.String uid,
java.lang.String picid)
image in interface IGridJsServiceuid - The unique id for the file cache.picid - The image id.public byte[] ole(java.lang.String uid,
java.lang.String sheet,
int oleid,
java.lang.String filename)
ole in interface IGridJsServiceuid - The unique id for the file cache.sheetname - The worksheet name.oleid - The id for the embedded ole object.label - The display label of the embedded ole object.public java.lang.String imageUrl(java.lang.String baseURL,
java.lang.String picid,
java.lang.String uid)
imageUrl in interface IGridJsServicebaseURL - The base action URL.picid - The image id.uid - The unique id for the file cache.public java.io.InputStream getFile(java.lang.String fileid)
getFile in interface IGridJsServicefileid - the file idpublic java.lang.String download(java.lang.String p,
java.lang.String uid,
java.lang.String filename)
download in interface IGridJsServicep - The JSON parameteruid - The unique id for the file cache.filename - The file nameSee Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.