Skip to content

Commit c270bdf

Browse files
committed
20220419 update : add extended query parameters.
1 parent b66182d commit c270bdf

File tree

7 files changed

+74
-55
lines changed

7 files changed

+74
-55
lines changed

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ Android Cloud SDK wraps Aspose.Cells Cloud API. The SDK enhances your Android ap
2121
- Leverage the power of named ranges.
2222

2323

24-
## Feature & Enhancements in Version 22.3
24+
## Feature & Enhancements in Version 22.4
2525

26-
- Add new API about adding digital signature for cloud file.
26+
- Export API adds extended query parameters.
27+
- Convert API adds extended query parameters.
28+
- SaveAs API adds extended query parameters.
29+
- Get Workbook API adds extended query parameters.
2730

2831

2932
## Read & Write Spreadsheet Formats

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group = 'com.aspose'
2-
project.version = '22.3'
2+
project.version = '22.4'
33

44
buildscript {
55
repositories {

src/androidTest/java/com/aspose/cloud/cells/api/CellsExportApiTest.java

+7-7
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void cellsPostExportApiTest_chart() throws ApiException {
6666
HashMap<String,File> fileMap = new HashMap<String,File>();
6767
fileMap.put(AssemblyTestXlsx ,CellsApiUtil.GetFileHolder(AssemblyTestXlsx) );
6868
fileMap.put(DataSourceXlsx ,CellsApiUtil.GetFileHolder(DataSourceXlsx) );
69-
FilesResult response = api.postExport(fileMap, "chart","png");
69+
FilesResult response = api.postExport(fileMap, "chart","png",null);
7070

7171
}
7272

@@ -77,15 +77,15 @@ public void cellsPostExportApiTest_shape() throws ApiException {
7777
HashMap<String,File> fileMap = new HashMap<String,File>();
7878
fileMap.put(AssemblyTestXlsx ,CellsApiUtil.GetFileHolder(AssemblyTestXlsx) );
7979
fileMap.put(DataSourceXlsx ,CellsApiUtil.GetFileHolder(DataSourceXlsx) );
80-
FilesResult response = api.postExport(fileMap, "shape","png");
80+
FilesResult response = api.postExport(fileMap, "shape","png",null);
8181
}
8282
@Test
8383
public void cellsPostExportApiTest_picture() throws ApiException {
8484

8585
HashMap<String,File> fileMap = new HashMap<String,File>();
8686
fileMap.put(AssemblyTestXlsx ,CellsApiUtil.GetFileHolder(AssemblyTestXlsx) );
8787
fileMap.put(DataSourceXlsx ,CellsApiUtil.GetFileHolder(DataSourceXlsx) );
88-
FilesResult response = api.postExport(fileMap, "picture","png");
88+
FilesResult response = api.postExport(fileMap, "picture","png",null);
8989
}
9090

9191
@Test
@@ -94,7 +94,7 @@ public void cellsPostExportApiTest_listobject() throws ApiException {
9494
HashMap<String,File> fileMap = new HashMap<String,File>();
9595
fileMap.put(AssemblyTestXlsx ,CellsApiUtil.GetFileHolder(AssemblyTestXlsx) );
9696
fileMap.put(DataSourceXlsx ,CellsApiUtil.GetFileHolder(DataSourceXlsx) );
97-
FilesResult response = api.postExport(fileMap, "listobject","png");
97+
FilesResult response = api.postExport(fileMap, "listobject","png",null);
9898
}
9999

100100
@Test
@@ -103,7 +103,7 @@ public void cellsPostExportApiTest_oleobject() throws ApiException {
103103
HashMap<String,File> fileMap = new HashMap<String,File>();
104104
fileMap.put(AssemblyTestXlsx ,CellsApiUtil.GetFileHolder(AssemblyTestXlsx) );
105105
fileMap.put(DataSourceXlsx ,CellsApiUtil.GetFileHolder(DataSourceXlsx) );
106-
FilesResult response = api.postExport(fileMap, "oleobject","png");
106+
FilesResult response = api.postExport(fileMap, "oleobject","png",null);
107107
}
108108

109109
@Test
@@ -112,7 +112,7 @@ public void cellsPostExportApiTest_worksheet() throws ApiException {
112112
HashMap<String,File> fileMap = new HashMap<String,File>();
113113
fileMap.put(AssemblyTestXlsx ,CellsApiUtil.GetFileHolder(AssemblyTestXlsx) );
114114
fileMap.put(DataSourceXlsx ,CellsApiUtil.GetFileHolder(DataSourceXlsx) );
115-
FilesResult response = api.postExport(fileMap, "sheet","png");
115+
FilesResult response = api.postExport(fileMap, "sheet","png",null);
116116
}
117117

118118
@Test
@@ -121,7 +121,7 @@ public void cellsPostExportApiTest_workbook() throws ApiException {
121121
HashMap<String,File> fileMap = new HashMap<String,File>();
122122
fileMap.put(AssemblyTestXlsx ,CellsApiUtil.GetFileHolder(AssemblyTestXlsx) );
123123
fileMap.put(DataSourceXlsx ,CellsApiUtil.GetFileHolder(DataSourceXlsx) );
124-
FilesResult response = api.postExport(fileMap, "workbook","png");
124+
FilesResult response = api.postExport(fileMap, "workbook","png",null);
125125
}
126126

127127
}

src/androidTest/java/com/aspose/cloud/cells/api/CellsSaveAsApiTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void cellsSaveAsPostDocumentSaveAsTest() throws ApiException {
7979
Boolean isAutoFitColumns = false;
8080
String folder = TEMPFOLDER;
8181
CellsApiUtil.Upload(api, folder , name);
82-
SaveResponse response = api.cellsSaveAsPostDocumentSaveAs(name, saveOptions, folder + "/"+ newfilename, isAutoFitRows, isAutoFitColumns, folder,null,null);
82+
SaveResponse response = api.cellsSaveAsPostDocumentSaveAs(name, saveOptions, folder + "/"+ newfilename, isAutoFitRows, isAutoFitColumns, folder,null,null,null);
8383

8484
// TODO: test validations
8585
}
@@ -100,7 +100,7 @@ public void cellsSaveAsPostDocumentSaveAsMDTest() throws ApiException {
100100
Boolean isAutoFitColumns = false;
101101
String folder = TEMPFOLDER;
102102
CellsApiUtil.Upload(api, folder , name);
103-
SaveResponse response = api.cellsSaveAsPostDocumentSaveAs(name, saveOptions, folder + "/"+ newfilename, isAutoFitRows, isAutoFitColumns, folder,null,null);
103+
SaveResponse response = api.cellsSaveAsPostDocumentSaveAs(name, saveOptions, folder + "/"+ newfilename, isAutoFitRows, isAutoFitColumns, folder,null,null,null);
104104

105105
// TODO: test validations
106106
}

src/androidTest/java/com/aspose/cloud/cells/api/CellsWorkbookApiTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public void cellsWorkbookGetWorkbookTest() throws ApiException {
202202
String folder = TEMPFOLDER;
203203
CellsApiUtil.Upload(api, folder, name);
204204
File response = api.cellsWorkbookGetWorkbook(name, password, format,
205-
isAutoFit, onlySaveTable, folder, null, null,null);
205+
isAutoFit, onlySaveTable, folder, null, null,null,null);
206206

207207
// TODO: test validations
208208
}
@@ -225,7 +225,7 @@ public void cellsWorkbookGetWorkbookForMDTest() throws ApiException {
225225
String folder = TEMPFOLDER;
226226
CellsApiUtil.Upload(api, folder, name);
227227
File response = api.cellsWorkbookGetWorkbook(name, password, format,
228-
isAutoFit, onlySaveTable, folder, null, null,null);
228+
isAutoFit, onlySaveTable, folder, null, null,null,null);
229229

230230
// TODO: test validations
231231
}
@@ -620,7 +620,7 @@ public void cellsWorkbookPutConvertWorkbookTest() throws ApiException {
620620
String folder = TEMPFOLDER;
621621
CellsApiUtil.Upload(api, folder, name);
622622
File response = api.cellsWorkbookPutConvertWorkbook(
623-
CellsApiUtil.GetFileHolder(name), format, password, outPath,null);
623+
CellsApiUtil.GetFileHolder(name), format, password, outPath,null,null);
624624

625625
// TODO: test validations
626626
}

0 commit comments

Comments
 (0)