Last active
March 31, 2017 07:20
-
-
Save aspose-cells/e26c05c7a88d80d968d419f0793ad0fd to your computer and use it in GitHub Desktop.
The GIST contains Objective C code snippets for examples of Aspose.Cells for Cloud.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aspose.Cells-for-Cloud-for-Objective-C |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetCellWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
cellOrMethodName:@"A3" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetCellStyleWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
cellName:@"A7" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPStyleResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetCellsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
offest:nil | |
count:nil | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetCellWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
cellOrMethodName:@"firstcell" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetCellWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
cellOrMethodName:@"endcell" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetCellWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
cellOrMethodName:@"maxcolumn" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetCellWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
cellOrMethodName:@"maxdatacolumn" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetCellWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
cellOrMethodName:@"maxdatarow" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetCellWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
cellOrMethodName:@"maxrow" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkSheetMergedCellWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
mergedCellIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPMergedCellResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkSheetMergedCellsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPMergedCellsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetCellWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
cellOrMethodName:@"mincolumn" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetCellWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
cellOrMethodName:@"mindatacolumn" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetCellWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
cellOrMethodName:@"mindatarow" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetCellWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
cellOrMethodName:@"minrow" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postClearContentsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
range:@"A2:C11" | |
startRow:[NSNumber numberWithInt:2] | |
startColumn:[NSNumber numberWithInt:1] | |
endRow:[NSNumber numberWithInt:11] | |
endColumn:[NSNumber numberWithInt:3] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postClearFormatsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
range:@"A2:C11" | |
startRow:[NSNumber numberWithInt:2] | |
startColumn:[NSNumber numberWithInt:1] | |
endRow:[NSNumber numberWithInt:11] | |
endColumn:[NSNumber numberWithInt:3] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postCopyCellIntoCellWithCompletionBlock:fileName | |
destCellName:@"C5" | |
sheetName:@"Sheet1" | |
worksheet:@"Sheet1" | |
cellname:@"A5" | |
row:nil | |
column:nil | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postSetCellHtmlStringWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
cellName:@"A3" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postSetCellRangeValueWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
cellarea:@"A10:B20" | |
value:@"Aspose" | |
type:@"string" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPStyle *cellStyle = [[ASPStyle alloc] init]; | |
ASPFont *font = [[ASPFont alloc] init]; | |
font.doubleSize = [NSNumber numberWithInt:20]; | |
font.isBold = [NSNumber numberWithBool:YES]; | |
font.isItalic = [NSNumber numberWithBool:YES]; | |
font.isStrikeout = [NSNumber numberWithBool:YES]; | |
font.size = [NSNumber numberWithInt:15]; | |
cellStyle.font = font; | |
cellStyle.shrinkToFit = [NSNumber numberWithBool:YES]; | |
ASPColor *color = [[ASPColor alloc] init]; | |
color.R = @"255"; | |
color.G = @"255"; | |
color.B = @"255"; | |
cellStyle.backgroundColor = color; | |
[self.cellsApi postUpdateWorksheetCellStyleWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
cellName:@"A3" | |
style:cellStyle | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPStyleResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postWorksheetCellSetValueWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
cellName:@"A3" | |
value:@"1234" | |
type:@"string" | |
formula:@"sum(a1,a2)" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postWorksheetMergeWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
startRow:[NSNumber numberWithInt:0] | |
startColumn:[NSNumber numberWithInt:0] | |
totalRows:[NSNumber numberWithInt:5] | |
totalColumns:[NSNumber numberWithInt:2] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postWorksheetUnmergeWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
startRow:[NSNumber numberWithInt:1] | |
startColumn:[NSNumber numberWithInt:1] | |
totalRows:[NSNumber numberWithInt:5] | |
totalColumns:[NSNumber numberWithInt:3] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorksheetChartLegendWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
chartIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorksheetChartTitleWithCompletionBlock:fileName | |
sheetName:@"Sheet5" | |
chartIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorksheetClearChartsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorksheetDeleteChartWithCompletionBlock:fileName | |
sheetName:@"Sheet5" | |
chartIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPChartsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getChartAreaWithCompletionBlock:fileName | |
sheetName:@"Sheet5" | |
chartIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPChartAreaResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getChartAreaBorderWithCompletionBlock:fileName | |
sheetName:@"Sheet5" | |
chartIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPLineResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getChartAreaFillFormatWithCompletionBlock:fileName | |
sheetName:@"Sheet5" | |
chartIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPFillFormatResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"test_cells.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetChartWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
chartNumber:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetChartLegendWithCompletionBlock:fileName | |
sheetName:@"Sheet5" | |
chartIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPLegendResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetChartsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPChartsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
//Valid Image Formats "tiff", "jpeg", "png", "emf", "bmp" and "gif" | |
[self.cellsApi getWorksheetChartWithFormatWithCompletionBlock:fileName | |
sheetName:@"Sheet5" | |
chartNumber:[NSNumber numberWithInt:0] | |
format:@"png" | |
storage:nil | |
folder:nil | |
completionHandler:^(NSURL *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
ASPChartsLegend *chartsLegend = [[ASPChartsLegend alloc] init]; | |
chartsLegend.position = @"Bottom"; | |
ASPFont *font = [[ASPFont alloc] init]; | |
ASPColor *color = [[ASPColor alloc] init]; | |
color.A = @"1"; | |
color.R = @"255"; | |
color.G = @"0"; | |
color.B = @"0"; | |
font.color = color; | |
font.doubleSize = [NSNumber numberWithDouble:10.0]; | |
font.isBold = [NSNumber numberWithBool:YES]; | |
font.isItalic = [NSNumber numberWithBool:NO]; | |
font.isStrikeout = [NSNumber numberWithBool:NO]; | |
font.isSubscript = [NSNumber numberWithBool:NO]; | |
font.isSuperscript = [NSNumber numberWithBool:NO]; | |
font.name = @"Arial"; | |
font.size = [NSNumber numberWithInt:10]; | |
font.underline = @"None"; | |
chartsLegend.font = font; | |
chartsLegend.shadow = [NSNumber numberWithBool:YES]; | |
[self.cellsApi postWorksheetChartLegendWithCompletionBlock:fileName | |
sheetName:@"Sheet5" | |
chartIndex:[NSNumber numberWithInt:0] | |
legend:chartsLegend | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPLegendResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"test_cells.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPChartsTitle *chartsTitle = [[ASPChartsTitle alloc] init]; | |
chartsTitle.text = @"Sales Report"; | |
[self.cellsApi postWorksheetChartTitleWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
chartIndex:[NSNumber numberWithInt:0] | |
title:chartsTitle | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPTitleResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi putWorksheetAddChartWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
chartType:@"Bar" | |
upperLeftRow:[NSNumber numberWithInt:12] | |
upperLeftColumn:[NSNumber numberWithInt:12] | |
lowerRightRow:[NSNumber numberWithInt:20] | |
lowerRightColumn:[NSNumber numberWithInt:20] | |
area:@"B1:F2" | |
isVertical:[NSNumber numberWithBool:YES] | |
categoryData:@"A1:A2" | |
isAutoGetSerialName:[NSNumber numberWithBool:YES] | |
title:@"SalesState" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPChartsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi putWorksheetChartLegendWithCompletionBlock:fileName | |
sheetName:@"Sheet5" | |
chartIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
ASPChartsTitle *chartTitle = [[ASPChartsTitle alloc] init]; | |
chartTitle.text = @"Sales Chart"; | |
[self.cellsApi putWorksheetChartTitleWithCompletionBlock:fileName | |
sheetName:@"Sheet5" | |
chartIndex:[NSNumber numberWithInt:0] | |
title:chartTitle | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPTitleResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteDocumentPropertiesWithCompletionBlock:fileName | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellsDocumentPropertiesResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteDocumentPropertyWithCompletionBlock:fileName | |
propertyName:@"author" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellsDocumentPropertiesResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getDocumentPropertiesWithCompletionBlock:fileName | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellsDocumentPropertiesResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getDocumentPropertyWithCompletionBlock:fileName | |
propertyName:@"Title" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellsDocumentPropertyResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPCellsDocumentProperty *cellsDocumentProperty = [[ASPCellsDocumentProperty alloc] init]; | |
cellsDocumentProperty.name = @"Title"; | |
cellsDocumentProperty.value = @"Tax Reforms"; | |
[self.cellsApi putDocumentPropertyWithCompletionBlock:fileName | |
propertyName:@"Title" | |
_property:cellsDocumentProperty | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCellsDocumentPropertyResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorkSheetHyperlinkWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
hyperlinkIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorkSheetHyperlinksWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkSheetHyperlinkWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
hyperlinkIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPHyperlinkResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkSheetHyperlinksWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPHyperlinksResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkbook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPHyperlink *hyperlink = [[ASPHyperlink alloc] init]; | |
ASPCellArea *area = [[ASPCellArea alloc] init]; | |
area.startRow = [NSNumber numberWithInt:1]; | |
area.startColumn = [NSNumber numberWithInt:1]; | |
area.endRow = [NSNumber numberWithInt:3]; | |
area.endColumn = [NSNumber numberWithInt:3]; | |
hyperlink.area = area; | |
hyperlink.address = @"http://www.aspose.com/"; | |
hyperlink.textToDisplay = @"Aspose"; | |
[self.cellsApi postWorkSheetHyperlinkWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
hyperlinkIndex:[NSNumber numberWithInt:0] | |
hyperlink:hyperlink | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPHyperlinkResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi putWorkSheetHyperlinkWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
firstRow:[NSNumber numberWithInt:1] | |
firstColumn:[NSNumber numberWithInt:1] | |
totalRows:[NSNumber numberWithInt:2] | |
totalColumns:[NSNumber numberWithInt:2] | |
address:@"http://www.aspose.com/" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPHyperlinkResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
//Valid Image Formats For Worksheet "tiff", "jpeg", "png", "emf", "bmp", "gif"]; | |
[self.cellsApi getWorksheetAutoshapeWithFormatWithCompletionBlock:fileName | |
sheetName:@"Sheet4" | |
autoshapeNumber:[NSNumber numberWithInt:1] | |
format:@"png" | |
storage:nil | |
folder:nil | |
completionHandler:^(NSURL *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
ASPImportDataImportOption *importDataImportOption = [[ASPImportDataImportOption alloc] init]; | |
importDataImportOption.destinationWorksheet = @"Sheet3"; | |
importDataImportOption.isInsert = [NSNumber numberWithBool:YES]; | |
[self.cellsApi postImportDataWithCompletionBlock:fileName | |
importOption:importDataImportOption | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Embeded_OleObject_Sample_Book1.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorksheetOleObjectWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
oleObjectIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Embeded_OleObject_Sample_Book1.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorksheetOleObjectsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Embeded_OleObject_Sample_Book1.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetOleObjectWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
objectNumber:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Embeded_OleObject_Sample_Book1.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetOleObjectsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPOleObjectsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Embeded_OleObject_Sample_Book1.xlsx"; | |
[Utils uploadFile:fileName]; | |
//Valid Ole Object Formats "tiff", "jpeg", "png", "emf", "bmp", and "gif" | |
[self.cellsApi getWorksheetOleObjectWithFormatWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
objectNumber:[NSNumber numberWithInt:0] | |
format:@"png" | |
storage:nil | |
folder:nil | |
completionHandler:^(NSURL *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Embeded_OleObject_Sample_Book1.xlsx"; | |
[Utils uploadFile:fileName]; | |
NSString *sourceFullName = @"OLEDoc2.docx"; | |
[Utils uploadFile:sourceFullName]; | |
NSString *imageSourceFullName = @"portrait.jpg"; | |
[Utils uploadFile:imageSourceFullName]; | |
ASPDrawingOleObject *oleObject = [[ASPDrawingOleObject alloc] init]; | |
oleObject.sourceFullName = sourceFullName; | |
oleObject.imageSourceFullName = imageSourceFullName; | |
oleObject.upperLeftRow = [NSNumber numberWithInt:10]; | |
oleObject.upperLeftColumn = [NSNumber numberWithInt:10]; | |
oleObject.top = [NSNumber numberWithInt:20]; | |
oleObject.left = [NSNumber numberWithInt:20]; | |
oleObject.height = [NSNumber numberWithInt:20]; | |
oleObject.width = [NSNumber numberWithInt:20]; | |
[self.cellsApi postUpdateWorksheetOleObjectWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
oleObjectIndex:[NSNumber numberWithInt:0] | |
ole:oleObject | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
NSString *sourceFullName = @"OLEDoc2.docx"; | |
[Utils uploadFile:sourceFullName]; | |
NSString *imageSourceFullName = @"sample.jpg"; | |
[Utils uploadFile:imageSourceFullName]; | |
ASPDrawingOleObject *oleObject = [[ASPDrawingOleObject alloc] init]; | |
oleObject.sourceFullName = sourceFullName; | |
oleObject.imageSourceFullName = imageSourceFullName; | |
oleObject.upperLeftRow = [NSNumber numberWithInt:10]; | |
oleObject.upperLeftColumn = [NSNumber numberWithInt:10]; | |
oleObject.top = [NSNumber numberWithInt:20]; | |
oleObject.left = [NSNumber numberWithInt:20]; | |
oleObject.height = [NSNumber numberWithInt:20]; | |
oleObject.width = [NSNumber numberWithInt:20]; | |
[self.cellsApi putWorksheetOleObjectWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
oleObject:oleObject | |
upperLeftRow:[NSNumber numberWithInt:1] | |
upperLeftColumn:[NSNumber numberWithInt:1] | |
height:[NSNumber numberWithInt:30] | |
width:[NSNumber numberWithInt:40] | |
oleFile:sourceFullName | |
imageFile:imageSourceFullName | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPOleObjectResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorksheetPictureWithCompletionBlock:fileName | |
sheetName:@"Sheet6" | |
pictureIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorkSheetPicturesWithCompletionBlock:fileName | |
sheetName:@"Sheet6" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetPictureWithCompletionBlock:fileName | |
sheetName:@"Sheet6" | |
pictureNumber:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPPictureResponse* output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetPicturesWithCompletionBlock:fileName | |
sheetName:@"Sheet6" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPPicturesResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
//Valid image formats "tiff", @"jpeg", "png", "emf", "bmp" and "gif" | |
[self.cellsApi getWorksheetPictureWithFormatWithCompletionBlock:fileName | |
sheetName:@"Sheet6" | |
pictureNumber:[NSNumber numberWithInt:0] | |
format:@"png" | |
storage:nil | |
folder:nil | |
completionHandler:^(NSURL *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
NSString *imageName = @"aspose-cloud.png"; | |
[Utils uploadFile:fileName]; | |
ASPDrawingPicture *picture = [[ASPDrawingPicture alloc] init]; | |
picture.name = imageName; | |
picture.autoShapeType = @"Picture"; | |
picture.placement = @"MoveAndSize"; | |
picture.upperLeftRow = [NSNumber numberWithInt:5]; | |
picture.top = [NSNumber numberWithInt:100]; | |
picture.upperLeftColumn = [NSNumber numberWithInt:5]; | |
picture.left = [NSNumber numberWithInt:100]; | |
picture.lowerRightRow = [NSNumber numberWithInt:9]; | |
picture.bottom = [NSNumber numberWithInt:0]; | |
picture.lowerRightColumn = [NSNumber numberWithInt:11]; | |
picture.right = [NSNumber numberWithInt:0]; | |
picture.width = [NSNumber numberWithInt:100]; | |
picture.height = [NSNumber numberWithInt:100]; | |
picture.X = [NSNumber numberWithInt:687]; | |
picture.Y = [NSNumber numberWithInt:100]; | |
picture.rotationAngle = [NSNumber numberWithFloat:0]; | |
picture.text = @"Profile"; | |
picture.textHorizontalAlignment = @"Left"; | |
picture.textHorizontalOverflow = @"Clip"; | |
picture.textOrientationType = @"NoRotation"; | |
picture.textVerticalOverflow = @"Clip"; | |
picture.textVerticalAlignment = @"Top"; | |
picture.isGroup = [NSNumber numberWithBool:NO]; | |
picture.isHidden = [NSNumber numberWithBool:NO]; | |
picture.isLockAspectRatio = [NSNumber numberWithBool:NO]; | |
picture.isLocked = [NSNumber numberWithBool:YES]; | |
picture.isPrintable = [NSNumber numberWithBool:YES]; | |
picture.isTextWrapped = [NSNumber numberWithBool:YES]; | |
picture.zOrderPosition = [NSNumber numberWithInt:2]; | |
[self.cellsApi postWorkSheetPictureWithCompletionBlock:fileName | |
sheetName:@"Sheet6" | |
pictureIndex:[NSNumber numberWithInt:0] | |
picture:picture | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPPictureResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
NSString *imageName = @"aspose-cloud.png"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi putWorksheetAddPictureWithCompletionBlock:fileName | |
sheetName:@"Sheet6" | |
picturePath:imageName | |
upperLeftRow:[NSNumber numberWithInt:5] | |
upperLeftColumn:[NSNumber numberWithInt:5] | |
lowerRightRow:[NSNumber numberWithInt:10] | |
lowerRightColumn:[NSNumber numberWithInt:10] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPPicturesResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorksheetPivotTableWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
pivotTableIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Pivot_Table_Example.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorksheetPivotTablesWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Pivot_Table_Example.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetPivotTableWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
pivottableIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPPivotTableResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Pivot_Table_Example.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetPivotTablesWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPPivotTablesResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Pivot_Table_Example.xls"; | |
[Utils uploadFile:fileName]; | |
ASPStyle *pivotTableStyleRequest = [[ASPStyle alloc] init]; | |
pivotTableStyleRequest.isGradient = [NSNumber numberWithBool:YES]; | |
pivotTableStyleRequest.font = [[ASPFont alloc] init]; | |
pivotTableStyleRequest.font.isBold = [NSNumber numberWithBool:YES]; | |
[self.cellsApi postPivotTableCellStyleWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
pivotTableIndex:[NSNumber numberWithInt:0] | |
column:[NSNumber numberWithInt:1] | |
row:[NSNumber numberWithInt:1] | |
style:pivotTableStyleRequest | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPStyle *pivotTableStyleRequest = [[ASPStyle alloc] init]; | |
pivotTableStyleRequest.isGradient = [NSNumber numberWithBool:YES]; | |
pivotTableStyleRequest.font = [[ASPFont alloc] init]; | |
pivotTableStyleRequest.font.isBold = [NSNumber numberWithBool:YES]; | |
[self.cellsApi postPivotTableStyleWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
pivotTableIndex:[NSNumber numberWithInt:0] | |
style:pivotTableStyleRequest | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPCreatePivotTableRequest *createPivotTableRequest = [[ASPCreatePivotTableRequest alloc] init]; | |
createPivotTableRequest.name = @"SalePivotTable"; | |
createPivotTableRequest.sourceData = @"A1:F214"; | |
createPivotTableRequest.destCellName = @"A1"; | |
createPivotTableRequest.useSameSource = [NSNumber numberWithBool:YES]; | |
createPivotTableRequest.pivotFieldRows = @[[NSNumber numberWithInteger:1]]; | |
createPivotTableRequest.pivotFieldColumns = @[[NSNumber numberWithInteger:1]]; | |
createPivotTableRequest.pivotFieldData = @[[NSNumber numberWithInteger:1]]; | |
[self.cellsApi putWorksheetPivotTableWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
request:createPivotTableRequest | |
storage:nil | |
folder:nil | |
sourceData:@"A1:F214" | |
destCellName:@"A1" | |
tableName:@"SalePivotTable" | |
useSameSource:[NSNumber numberWithBool:YES] | |
completionHandler:^(ASPPivotTableResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorksheetRowWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
rowIndex:[NSNumber numberWithInt:1] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorksheetRowsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
startrow:[NSNumber numberWithInt:2] | |
totalRows:[NSNumber numberWithInt:5] | |
updateReference:[NSNumber numberWithBool:YES] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetRowWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
rowIndex:[NSNumber numberWithInt:1] | |
storage:nil folder:nil | |
completionHandler:^(ASPRowResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"test_cells.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPAutoFitterOptions *autoFitterOptions = [[ASPAutoFitterOptions alloc] init]; | |
autoFitterOptions.autoFitMergedCells = [NSNumber numberWithBool:YES]; | |
autoFitterOptions.ignoreHidden = [NSNumber numberWithBool:YES]; | |
[self.cellsApi postAutofitWorkbookRowsWithCompletionBlock:fileName | |
autoFitterOptions:autoFitterOptions | |
startRow:[NSNumber numberWithInt:1] | |
endRow:[NSNumber numberWithInt:300] | |
onlyAuto:[NSNumber numberWithBool:YES] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postCopyWorksheetRowsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
sourceRowIndex:[NSNumber numberWithInt:5] | |
destinationRowIndex:[NSNumber numberWithInt:7] | |
rowNumber:[NSNumber numberWithInt:3] | |
worksheet:nil | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postGroupWorksheetRowsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
firstIndex:[NSNumber numberWithInt:1] | |
lastIndex:[NSNumber numberWithInt:5] | |
hide:[NSNumber numberWithBool:NO] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postHideWorksheetRowsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
startrow:[NSNumber numberWithInt:1] | |
totalRows:[NSNumber numberWithInt:5] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPStyle *rowStyle = [[ASPStyle alloc] init]; | |
ASPColor* backgroundColor = [[ASPColor alloc] init]; | |
backgroundColor.A = @"1"; | |
backgroundColor.R = @"245"; | |
backgroundColor.G = @"200"; | |
backgroundColor.B = @"178"; | |
rowStyle.backgroundColor = backgroundColor; | |
[self.cellsApi postRowStyleWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
rowIndex:[NSNumber numberWithInt:1] | |
style:rowStyle | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postUngroupWorksheetRowsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
firstIndex:[NSNumber numberWithInt:1] | |
lastIndex:[NSNumber numberWithInt:5] | |
isAll:[NSNumber numberWithBool:YES] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postUnhideWorksheetRowsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
startrow:[NSNumber numberWithInt:1] | |
totalRows:[NSNumber numberWithInt:3] | |
height:[NSNumber numberWithDouble:30.0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postUpdateWorksheetRowWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
rowIndex:[NSNumber numberWithInt:1] | |
height:[NSNumber numberWithDouble:25.0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPRowResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi putInsertWorksheetRowWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
rowIndex:[NSNumber numberWithInt:10] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPRowResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi putInsertWorksheetRowsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
startrow:[NSNumber numberWithInt:10] | |
totalRows:[NSNumber numberWithInt:10] | |
updateReference:[NSNumber numberWithBool:YES] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkBookTextItemsWithCompletionBlock:fileName | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPTextItemsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkSheetTextItemsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPTextItemsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postWorkbooksTextReplaceWithCompletionBlock:fileName | |
oldValue:@"Averages" | |
newValue:@"Median" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPWorkbookReplaceResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postWorkbooksTextSearchWithCompletionBlock:fileName | |
text:@"Pros" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPTextItemsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postWorkSheetTextSearchWithCompletionBlock:fileName | |
sheetName:@"Sheet2" | |
text:@"OLE" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPTextItemsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postWorsheetTextReplaceWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
oldValue:@"Except" | |
newValue:@"Expect" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPWorksheetReplaceResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPWorkbookEncryptionRequest *workbookEncryptionRequest = [[ASPWorkbookEncryptionRequest alloc] init]; | |
workbookEncryptionRequest.password = @"password1234"; | |
[self.cellsApi deleteDecryptDocumentWithCompletionBlock:fileName | |
encryption:workbookEncryptionRequest | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteDocumentUnProtectFromChangesWithCompletionBlock:fileName | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPWorkbookProtectionRequest *protectionRequest = [[ASPWorkbookProtectionRequest alloc] init]; | |
protectionRequest.password = @"password1234"; | |
[self.cellsApi deleteUnProtectDocumentWithCompletionBlock:fileName | |
protection:protectionRequest | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getExtractBarcodesWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
pictureNumber:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBarcodeResponseList *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"August-2015-Calendar.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkBookWithCompletionBlock:fileName | |
password:nil | |
isAutoFit:nil | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPWorkbookResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkBookDefaultStyleWithCompletionBlock:fileName | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPStyleResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkBookNameWithCompletionBlock:fileName | |
nameName:@"HelpURLTemplate" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPNameResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkBookNamesWithCompletionBlock:fileName | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPNamesResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkbook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkBookWithFormatWithCompletionBlock:fileName | |
format:@"pdf" | |
outPath:@"myWorkbook.pdf" | |
password:nil | |
isAutoFit:[NSNumber numberWithBool:YES] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPWorkbookResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPStyle *columnStyle = [[ASPStyle alloc] init]; | |
ASPColor* backgroundColor = [[ASPColor alloc] init]; | |
backgroundColor.A = @"1"; | |
backgroundColor.R = @"245"; | |
backgroundColor.G = @"200"; | |
backgroundColor.B = @"178"; | |
columnStyle.backgroundColor = backgroundColor; | |
[self.cellsApi postColumnStyleWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
columnIndex:[NSNumber numberWithInt:0] | |
style:columnStyle | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postCopyWorksheetColumnsWithCompletionBlock:@"myWorkBook.xlsx" | |
sheetName:@"Sheet1" | |
sourceColumnIndex:[NSNumber numberWithInt:2] | |
destinationColumnIndex:[NSNumber numberWithInt:0] | |
columnNumber:[NSNumber numberWithInt:4] | |
worksheet:nil | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPSavingSaveOptions *saveOptions = [[ASPSavingSaveOptions alloc] init]; | |
saveOptions.clearData = [NSNumber numberWithBool:YES]; | |
[self.cellsApi postDocumentSaveAsWithCompletionBlock:fileName | |
saveOptions:saveOptions | |
newfilename:@"updatedWorkbook.xlsx" | |
isAutoFitRows:[NSNumber numberWithBool:YES] | |
isAutoFitColumns:[NSNumber numberWithBool:YES] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPSaveResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPWorkbookEncryptionRequest *workbookEncryptionRequest = [[ASPWorkbookEncryptionRequest alloc] init]; | |
workbookEncryptionRequest.encryptionType = @"EnhancedCryptographicProviderV1"; | |
workbookEncryptionRequest.password = @"password1234"; | |
workbookEncryptionRequest.keyLength = [NSNumber numberWithInt:128]; | |
[self.cellsApi postEncryptDocumentWithCompletionBlock:fileName | |
encryption:workbookEncryptionRequest | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postGroupWorksheetColumnsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
firstIndex:[NSNumber numberWithInt:0] | |
lastIndex:[NSNumber numberWithInt:2] | |
hide:[NSNumber numberWithBool:YES] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPWorkbookProtectionRequest *protectionRequest = [[ASPWorkbookProtectionRequest alloc] init]; | |
protectionRequest.protectionType = @"All"; | |
protectionRequest.password = @"password1234"; | |
[self.cellsApi postProtectDocumentWithCompletionBlock:fileName | |
protection:protectionRequest | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postWorkbookCalculateFormulaWithCompletionBlock:fileName | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
NSURL *pathToFile = [[NSBundle mainBundle] URLForResource:@"SmartMarker" withExtension:@"xml"]; | |
[self.cellsApi postWorkbookGetSmartMarkerResultWithCompletionBlock:fileName | |
file:pathToFile | |
xmlFile:nil | |
storage:nil | |
folder:nil | |
outPath:@"output.xlsx" | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postWorkbooksMergeWithCompletionBlock:fileName | |
mergeWith:@"August-2015-Calendar.xlsx" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPWorkbookResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postWorkbookSplitWithCompletionBlock:fileName | |
format:@"pdf" | |
from:[NSNumber numberWithInt:1] | |
to:[NSNumber numberWithInt:2] | |
horizontalResolution:nil | |
verticalResolution:nil | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPSplitResultResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
NSURL *pathToFile = [[NSBundle mainBundle] URLForResource:@"myWorkbook" withExtension:@"xlsx"]; | |
[self.cellsApi putConvertWorkBookWithCompletionBlock:pathToFile | |
format:@"pdf" | |
password:nil | |
outPath:nil | |
completionHandler:^(NSURL *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPPasswordRequest *passwordRequest = [[ASPPasswordRequest alloc] init]; | |
passwordRequest.password = @"123456"; | |
[self.cellsApi putDocumentProtectFromChangesWithCompletionBlock:fileName | |
password:passwordRequest | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *templateFile = @"2014-calendar.xlsx"; | |
[Utils uploadFile:templateFile]; | |
NSString *dataFile = @"SmartMarker.xml"; | |
[Utils uploadFile:dataFile]; | |
[self.cellsApi putWorkbookCreateWithCompletionBlock:@"newworkbook.xlsx" | |
templateFile:templateFile | |
dataFile:dataFile | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPWorkbookResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPProtectSheetParameter *protectSheetRequest = [[ASPProtectSheetParameter alloc] init]; | |
protectSheetRequest.password = @"123456"; | |
[self.cellsApi deleteUnprotectWorksheetWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
protectParameter:protectSheetRequest | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPWorksheetResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorksheetWithCompletionBlock:fileName | |
sheetName:@"Sheet3" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPWorksheetsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorkSheetBackgroundWithCompletionBlock:fileName | |
sheetName:@"Sheet3" | |
folder:nil | |
storage:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"Sample_Test_Book.xls"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorksheetColumnsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
columnIndex:[NSNumber numberWithInt:1] | |
columns:[NSNumber numberWithInt:10] | |
updateReference:[NSNumber numberWithBool:YES] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPColumnsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorkSheetCommentWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
cellName:@"D19" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorksheetFreezePanesWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
row:[NSNumber numberWithInt:1] | |
column:[NSNumber numberWithInt:1] | |
freezedRows:[NSNumber numberWithInt:1] | |
freezedColumns:[NSNumber numberWithInt:1] | |
folder:nil | |
storage:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi deleteWorkSheetValidationWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
validationIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPValidationResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkSheetWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
verticalResolution:nil | |
horizontalResolution:nil | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPWorksheetResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetAutoshapeWithCompletionBlock:fileName | |
sheetName:@"Sheet3" | |
autoshapeNumber:[NSNumber numberWithInt:1] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPAutoShapeResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetAutoshapesWithCompletionBlock:fileName | |
sheetName:@"Sheet3" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPAutoShapesResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkSheetCalculateFormulaWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
formula:@"sum(A1,A2)" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPSingleValueResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetColumnWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
columnIndex:[NSNumber numberWithInt:1] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPColumnResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetColumnsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPColumnsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkSheetCommentWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
cellName:@"D19" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCommentResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkSheetCommentsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCommentsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorksheetRowsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPRowsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkSheetsWithCompletionBlock:fileName | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPWorksheetsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkSheetValidationWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
validationIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPValidationResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi getWorkSheetValidationsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPValidationsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
//Valid image format "tiff", "jpeg", "png", "emf", "bmp" and "gif" | |
[self.cellsApi getWorkSheetWithFormatWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
format:@"gif" | |
verticalResolution:nil | |
horizontalResolution:nil | |
storage:nil | |
folder:nil | |
completionHandler:^(NSURL *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPAutoFitterOptions *autoFitterOptions = [[ASPAutoFitterOptions alloc] init]; | |
autoFitterOptions.autoFitMergedCells = [NSNumber numberWithBool:YES]; | |
autoFitterOptions.ignoreHidden = [NSNumber numberWithBool:YES]; | |
autoFitterOptions.onlyAuto = [NSNumber numberWithBool:YES]; | |
[self.cellsApi postAutofitWorksheetRowsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
autoFitterOptions:autoFitterOptions | |
startRow:[NSNumber numberWithInt:1] | |
endRow:[NSNumber numberWithInt:10] | |
onlyAuto:[NSNumber numberWithBool:YES] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postCopyWorksheetWithCompletionBlock:fileName | |
sheetName:@"Sheet3" | |
sourceSheet:@"Sheet1" | |
folder:nil | |
storage:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postHideWorksheetColumnsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
startColumn:[NSNumber numberWithInt:0] | |
totalColumns:[NSNumber numberWithInt:1] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPWorksheetMovingRequest *movingRequest = [[ASPWorksheetMovingRequest alloc] init]; | |
movingRequest.destinationWorksheet = @"Sheet3"; | |
[self.cellsApi postMoveWorksheetWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
moving:movingRequest | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPWorksheetsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postRenameWorksheetWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
newname:@"Tasks Sheet" | |
folder:nil | |
storage:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postSetWorksheetColumnWidthWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
columnIndex:[NSNumber numberWithInt:3] | |
width:[NSNumber numberWithDouble:25.0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPColumnResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postUngroupWorksheetColumnsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
firstIndex:[NSNumber numberWithInt:0] | |
lastIndex:[NSNumber numberWithInt:2] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postUnhideWorksheetColumnsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
startcolumn:[NSNumber numberWithInt:0] | |
totalColumns:[NSNumber numberWithInt:2] | |
width:nil | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPWorksheet *updateWorksheet = [[ASPWorksheet alloc] init]; | |
updateWorksheet.type = @"Worksheet"; | |
updateWorksheet.name = @"sheet1"; | |
updateWorksheet.isGridlinesVisible = [NSNumber numberWithBool:YES]; | |
updateWorksheet.isRowColumnHeadersVisible = [NSNumber numberWithBool:YES]; | |
updateWorksheet.displayZeros = [NSNumber numberWithBool:YES]; | |
updateWorksheet.displayRightToLeft = [NSNumber numberWithBool:YES]; | |
updateWorksheet.isOutlineShown = [NSNumber numberWithBool:YES]; | |
updateWorksheet.isSelected = [NSNumber numberWithBool:YES]; | |
updateWorksheet.transitionEvaluation = [NSNumber numberWithBool:YES]; | |
updateWorksheet.transitionEntry = [NSNumber numberWithBool:YES]; | |
updateWorksheet.isVisible = [NSNumber numberWithBool:YES]; | |
updateWorksheet.index = [NSNumber numberWithInt:0]; | |
updateWorksheet.firstVisibleRow = [NSNumber numberWithInt:1]; | |
updateWorksheet.firstVisibleColumn = [NSNumber numberWithInt:1]; | |
updateWorksheet.zoom = [NSNumber numberWithInt:80]; | |
updateWorksheet.viewType = @"PageBreakPreview"; | |
updateWorksheet.isPageBreakPreview = [NSNumber numberWithBool:YES]; | |
updateWorksheet.isRulerVisible = [NSNumber numberWithBool:YES]; | |
[self.cellsApi postUpdateWorksheetPropertyWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
sheet:updateWorksheet | |
folder:nil | |
storage:nil | |
completionHandler:^(ASPWorksheetResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPStyle *style = [[ASPStyle alloc] init]; | |
ASPFont *font = [[ASPFont alloc] init]; | |
font.doubleSize = [NSNumber numberWithInt:20]; | |
font.isBold = [NSNumber numberWithBool:YES]; | |
font.isItalic = [NSNumber numberWithBool:YES]; | |
font.isStrikeout = [NSNumber numberWithBool:YES]; | |
font.size = [NSNumber numberWithInt:15]; | |
style.font = font; | |
style.shrinkToFit = [NSNumber numberWithBool:YES]; | |
ASPColor *color = [[ASPColor alloc] init]; | |
color.R = @"255"; | |
color.G = @"255"; | |
color.B = @"255"; | |
style.backgroundColor = color; | |
[self.cellsApi postUpdateWorksheetRangeStyleWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
range:@"A1:C4" | |
style:style | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPComment *comment = [[ASPComment alloc] init]; | |
comment.htmlNote = @"<Font Style=\"FONT-WEIGHT: bold;FONT-FAMILY: Calibri;FONT-SIZE: 9pt;COLOR: #000000;TEXT-ALIGN: left;\">Sohail:</Font><Font Style=\"FONT-FAMILY: Calibri;FONT-SIZE: 9pt;COLOR: #000000;TEXT-ALIGN: left;\">\nDaily Expenses</Font>"; | |
comment.cellName = @"D19"; | |
[self.cellsApi postWorkSheetCommentWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
cellName:@"D19" | |
comment:comment | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPDataSorter *dataSort = [[ASPDataSorter alloc] init]; | |
dataSort.hasHeaders = [NSNumber numberWithBool:NO]; | |
dataSort.caseSensitive = [NSNumber numberWithBool:NO]; | |
dataSort.sortLeftToRight = [NSNumber numberWithBool:YES]; | |
ASPSortKey *sort = [[ASPSortKey alloc] init]; | |
sort.key = [NSNumber numberWithInt:4]; | |
sort.sortOrder = @"descending"; | |
dataSort.keyList = ( NSArray<ASPSortKey> *)@[sort]; | |
[self.cellsApi postWorksheetRangeSortWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
cellArea:@"A1:A10" | |
dataSorter:dataSort | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi postWorkSheetValidationWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
validationIndex:[NSNumber numberWithInt:0] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPValidationResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi putAddNewWorksheetWithCompletionBlock:fileName | |
sheetName:@"Tasks" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPWorksheetsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi putChangeVisibilityWorksheetWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
isVisible:[NSNumber numberWithBool:YES] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPWorksheetResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi putInsertWorksheetColumnsWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
columnIndex:[NSNumber numberWithInt:5] | |
columns:[NSNumber numberWithInt:3] | |
updateReference:[NSNumber numberWithBool:YES] | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPColumnsResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
NSURL *pathToFile = [[NSBundle mainBundle] URLForResource:@"Creative" withExtension:@"jpg"]; | |
[self.cellsApi putWorkSheetBackgroundWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
backgroundImage:pathToFile | |
folder:nil | |
storage:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
ASPComment *comment = [[ASPComment alloc] init]; | |
comment.htmlNote = @"<Font Style=\"FONT-WEIGHT: bold;FONT-FAMILY: Calibri;FONT-SIZE: 9pt;COLOR: #000000;TEXT-ALIGN: left;\">Sohail:</Font><Font Style=\"FONT-FAMILY: Calibri;FONT-SIZE: 9pt;COLOR: #000000;TEXT-ALIGN: left;\">\nShopping</Font>"; | |
comment.cellName = @"D18"; | |
[self.cellsApi putWorkSheetCommentWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
cellName:@"D18" | |
comment:comment | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPCommentResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi putWorksheetFreezePanesWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
row:[NSNumber numberWithInt:1] | |
column:[NSNumber numberWithInt:1] | |
freezedRows:[NSNumber numberWithInt:1] | |
freezedColumns:[NSNumber numberWithInt:1] | |
folder:nil | |
storage:nil | |
completionHandler:^(ASPBaseResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Cloud | |
//Get App key and App SID from https://cloud.aspose.com | |
[Utils setAppKeyAndAppSID]; | |
ASPCellsApi *cellsApi = [[ASPCellsApi alloc] init]; | |
NSString *fileName = @"myWorkBook.xlsx"; | |
[Utils uploadFile:fileName]; | |
[self.cellsApi putWorkSheetValidationWithCompletionBlock:fileName | |
sheetName:@"Sheet1" | |
range:@"A1:C10" | |
storage:nil | |
folder:nil | |
completionHandler:^(ASPValidationResponse *output, NSError *error) { | |
NSLog(@"%@", output); | |
}]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment