aspose_cells_cloud 26.4 → 26.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -5
  3. data/lib/aspose_cells_cloud/api/cells_api.rb +87 -0
  4. data/lib/aspose_cells_cloud/models/ebook_save_options.rb +822 -0
  5. data/lib/aspose_cells_cloud/requests/add_text_in_remote_spreadsheet_request.rb +196 -0
  6. data/lib/aspose_cells_cloud/requests/convert_range_to_csv_request.rb +16 -0
  7. data/lib/aspose_cells_cloud/requests/convert_range_to_html_request.rb +16 -0
  8. data/lib/aspose_cells_cloud/requests/convert_range_to_image_request.rb +16 -0
  9. data/lib/aspose_cells_cloud/requests/convert_range_to_json_request.rb +16 -0
  10. data/lib/aspose_cells_cloud/requests/convert_range_to_pdf_request.rb +16 -0
  11. data/lib/aspose_cells_cloud/requests/convert_spreadsheet_request.rb +16 -0
  12. data/lib/aspose_cells_cloud/requests/convert_spreadsheet_to_csv_request.rb +16 -0
  13. data/lib/aspose_cells_cloud/requests/convert_spreadsheet_to_json_request.rb +16 -0
  14. data/lib/aspose_cells_cloud/requests/convert_spreadsheet_to_pdf_request.rb +16 -0
  15. data/lib/aspose_cells_cloud/requests/convert_table_to_csv_request.rb +16 -0
  16. data/lib/aspose_cells_cloud/requests/convert_table_to_html_request.rb +16 -0
  17. data/lib/aspose_cells_cloud/requests/convert_table_to_image_request.rb +16 -0
  18. data/lib/aspose_cells_cloud/requests/convert_table_to_json_request.rb +16 -0
  19. data/lib/aspose_cells_cloud/requests/convert_table_to_pdf_request.rb +16 -0
  20. data/lib/aspose_cells_cloud/requests/convert_text_in_remote_spreadsheet_request.rb +184 -0
  21. data/lib/aspose_cells_cloud/requests/convert_worksheet_to_csv_request.rb +16 -0
  22. data/lib/aspose_cells_cloud/requests/convert_worksheet_to_html_request.rb +16 -0
  23. data/lib/aspose_cells_cloud/requests/convert_worksheet_to_image_request.rb +16 -0
  24. data/lib/aspose_cells_cloud/requests/convert_worksheet_to_json_request.rb +16 -0
  25. data/lib/aspose_cells_cloud/requests/convert_worksheet_to_pdf_request.rb +16 -0
  26. data/lib/aspose_cells_cloud/requests/export_range_as_format_request.rb +16 -0
  27. data/lib/aspose_cells_cloud/requests/export_spreadsheet_as_format_request.rb +16 -0
  28. data/lib/aspose_cells_cloud/requests/export_table_as_format_request.rb +16 -0
  29. data/lib/aspose_cells_cloud/requests/export_worksheet_as_format_request.rb +16 -0
  30. data/lib/aspose_cells_cloud/requests/get_spreadsheet_structure_request.rb +123 -0
  31. data/lib/aspose_cells_cloud/requests/get_structure_in_remote_spreadsheet_request.rb +134 -0
  32. data/lib/aspose_cells_cloud/requests/remove_characters_by_position_in_remote_spreadsheet_request.rb +196 -0
  33. data/lib/aspose_cells_cloud/requests/remove_characters_in_remote_spreadsheet_request.rb +188 -0
  34. data/lib/aspose_cells_cloud/requests/remove_duplicate_substrings_in_remote_spreadsheet_request.rb +184 -0
  35. data/lib/aspose_cells_cloud/requests/report_ai_analysis_request.rb +122 -0
  36. data/lib/aspose_cells_cloud/requests/save_spreadsheet_as_request.rb +16 -0
  37. data/lib/aspose_cells_cloud/requests/summarize_spreadsheet_request.rb +123 -0
  38. data/lib/aspose_cells_cloud/requests/trim_character_in_remote_spreadsheet_request.rb +212 -0
  39. data/lib/aspose_cells_cloud/requests/update_word_case_in_remote_spreadsheet_request.rb +168 -0
  40. data/lib/aspose_cells_cloud/version.rb +1 -1
  41. data/lib/aspose_cells_cloud.rb +12 -0
  42. data/spec/TestData/AggregateCellsByColor.xlsx +0 -0
  43. data/spec/TestData/Book1.xlsx +0 -0
  44. data/spec/TestData/BookCsvDuplicateData.csv +21 -0
  45. data/spec/TestData/BookDuplicateData.xlsx +0 -0
  46. data/spec/TestData/BookFormula.xlsx +0 -0
  47. data/spec/TestData/BookTableL2W.xlsx +0 -0
  48. data/spec/TestData/BookText.xlsx +0 -0
  49. data/spec/TestData/CompanySales.xlsx +0 -0
  50. data/spec/TestData/EmployeeSalesSummary-BlankWorksheet.xlsx +0 -0
  51. data/spec/TestData/EmployeeSalesSummary.xlsx +0 -0
  52. data/spec/TestData/EmployeeSalesSummary_Locked.xlsx +0 -0
  53. data/spec/TestData/Formula tutorial.xlsx +0 -0
  54. data/spec/TestData/Group.xlsx +0 -0
  55. data/spec/TestData/Home inventory.xlsx +0 -0
  56. data/spec/TestData/LockedEmployeeSalesSummary.xlsx +0 -0
  57. data/spec/TestData/OLEDoc.docx +0 -0
  58. data/spec/TestData/ReportData.xml +1 -0
  59. data/spec/TestData/Simple invoice.xlsx +0 -0
  60. data/spec/TestData/Template.xlsx +0 -0
  61. data/spec/TestData/TestCase.xlsx +0 -0
  62. data/spec/TestData/TestTables.xlsx +0 -0
  63. data/spec/TestData/WaterMark.png +0 -0
  64. data/spec/TestData/assemblytest.xlsx +0 -0
  65. data/spec/TestData/data.xml +1 -0
  66. data/spec/TestData/datasource.xlsx +0 -0
  67. data/spec/TestData/myDocument.xlsx +0 -0
  68. data/spec/TestData/needUnlock.xlsx +0 -0
  69. data/spec/TestData/needlock.xlsx +0 -0
  70. data/spec/TestData/roywang.pfx +0 -0
  71. data/spec/TestData/word.jpg +0 -0
  72. data/spec/calculate/calculate_spec.rb +29 -0
  73. data/spec/cells_cloud30/auto_filter_controller_spec.rb +211 -0
  74. data/spec/cells_cloud30/batch_controller_spec.rb +113 -0
  75. data/spec/cells_cloud30/cells_controller_spec.rb +627 -0
  76. data/spec/cells_cloud30/cells_status_controller_spec.rb +43 -0
  77. data/spec/cells_cloud30/chart_area_controller_spec.rb +58 -0
  78. data/spec/cells_cloud30/charts_controller_spec.rb +227 -0
  79. data/spec/cells_cloud30/conditional_formattings_controller_spec.rb +149 -0
  80. data/spec/cells_cloud30/conversion30_spec.rb +1112 -0
  81. data/spec/cells_cloud30/data_processing_controller_spec.rb +97 -0
  82. data/spec/cells_cloud30/hypelinks_controller_spec.rb +104 -0
  83. data/spec/cells_cloud30/light_cells_spec.rb +1059 -0
  84. data/spec/cells_cloud30/list_objects_controller_spec.rb +225 -0
  85. data/spec/cells_cloud30/ole_objects_controller_spec.rb +108 -0
  86. data/spec/cells_cloud30/page_breaks_controller_spec.rb +163 -0
  87. data/spec/cells_cloud30/page_setup_controller_spec.rb +149 -0
  88. data/spec/cells_cloud30/pictures_controller_spec.rb +106 -0
  89. data/spec/cells_cloud30/pivot_tables_controller_spec.rb +312 -0
  90. data/spec/cells_cloud30/properties_controller_spec.rb +89 -0
  91. data/spec/cells_cloud30/ranges_controller_spec.rb +227 -0
  92. data/spec/cells_cloud30/shapes_controller_spec.rb +139 -0
  93. data/spec/cells_cloud30/sparkline_groups_controller_spec.rb +104 -0
  94. data/spec/cells_cloud30/text_processing_controller_spec.rb +67 -0
  95. data/spec/cells_cloud30/workbook_controller_spec.rb +519 -0
  96. data/spec/cells_cloud30/worksheet_controller_spec.rb +609 -0
  97. data/spec/cells_cloud30/worksheet_validations_controller_spec.rb +104 -0
  98. data/spec/cells_cloud30/xml_controller_spec.rb +48 -0
  99. data/spec/data_processing/conversion_spec.rb +428 -0
  100. data/spec/data_processing/import_data_spec.rb +24 -0
  101. data/spec/data_processing/merger_spec.rb +28 -0
  102. data/spec/data_processing/protection_spec.rb +29 -0
  103. data/spec/data_processing/splitter_spec.rb +47 -0
  104. data/spec/data_processing/transform_spec.rb +43 -0
  105. data/spec/dynabic/file_controller_spec.rb +60 -0
  106. data/spec/dynabic/folder_controller_spec.rb +88 -0
  107. data/spec/dynabic/storage_controller_spec.rb +73 -0
  108. data/spec/management/management_spec.rb +111 -0
  109. data/spec/search2_replace/replacer_spec.rb +46 -0
  110. data/spec/search2_replace/searcher_spec.rb +131 -0
  111. data/spec/spec_helper.rb +134 -0
  112. data/spec/text_processing/add_text_spec.rb +45 -0
  113. data/spec/text_processing/convert_text_spec.rb +37 -0
  114. data/spec/text_processing/extract_text_spec.rb +37 -0
  115. data/spec/text_processing/remove_characters_spec.rb +53 -0
  116. data/spec/text_processing/split_text_spec.rb +21 -0
  117. data/spec/text_processing/trim_spreadsheet_spec.rb +29 -0
  118. data/spec/text_processing/update_word_case_spec.rb +37 -0
  119. metadata +92 -3
@@ -58,6 +58,7 @@ require 'aspose_cells_cloud/models/text_item'
58
58
  require 'aspose_cells_cloud/models/dbf_save_options'
59
59
  require 'aspose_cells_cloud/models/dif_save_options'
60
60
  require 'aspose_cells_cloud/models/docx_save_options'
61
+ require 'aspose_cells_cloud/models/ebook_save_options'
61
62
  require 'aspose_cells_cloud/models/html_save_options'
62
63
  require 'aspose_cells_cloud/models/image_save_options'
63
64
  require 'aspose_cells_cloud/models/json_save_options'
@@ -487,6 +488,8 @@ require 'aspose_cells_cloud/models/worksheet_data_statistics'
487
488
  require 'aspose_cells_cloud/requests/decompose_user_task_request'
488
489
  require 'aspose_cells_cloud/requests/translate_spreadsheet_request'
489
490
  require 'aspose_cells_cloud/requests/translate_text_file_request'
491
+ require 'aspose_cells_cloud/requests/report_ai_analysis_request'
492
+ require 'aspose_cells_cloud/requests/summarize_spreadsheet_request'
490
493
  require 'aspose_cells_cloud/requests/aggregate_cells_by_color_request'
491
494
  require 'aspose_cells_cloud/requests/math_calculate_request'
492
495
  require 'aspose_cells_cloud/requests/post_access_token_request'
@@ -543,6 +546,8 @@ require 'aspose_cells_cloud/requests/get_merged_cells_in_remoted_worksheet_reque
543
546
  require 'aspose_cells_cloud/requests/get_merged_cells_in_worksheet_request'
544
547
  require 'aspose_cells_cloud/requests/accept_all_revisions_request'
545
548
  require 'aspose_cells_cloud/requests/accept_all_revisions_in_remote_spreadsheet_request'
549
+ require 'aspose_cells_cloud/requests/get_spreadsheet_structure_request'
550
+ require 'aspose_cells_cloud/requests/get_structure_in_remote_spreadsheet_request'
546
551
  require 'aspose_cells_cloud/requests/protect_spreadsheet_request'
547
552
  require 'aspose_cells_cloud/requests/unprotect_spreadsheet_request'
548
553
  require 'aspose_cells_cloud/requests/spreadsheet_digitalsignature_request'
@@ -562,13 +567,20 @@ require 'aspose_cells_cloud/requests/search_broken_links_in_remote_worksheet_req
562
567
  require 'aspose_cells_cloud/requests/search_broken_links_in_remote_range_request'
563
568
  require 'aspose_cells_cloud/requests/spec_request'
564
569
  require 'aspose_cells_cloud/requests/codegen_spec_request'
570
+ require 'aspose_cells_cloud/requests/trim_character_in_remote_spreadsheet_request'
565
571
  require 'aspose_cells_cloud/requests/trim_character_request'
566
572
  require 'aspose_cells_cloud/requests/update_word_case_request'
573
+ require 'aspose_cells_cloud/requests/update_word_case_in_remote_spreadsheet_request'
567
574
  require 'aspose_cells_cloud/requests/remove_characters_request'
575
+ require 'aspose_cells_cloud/requests/remove_characters_in_remote_spreadsheet_request'
568
576
  require 'aspose_cells_cloud/requests/remove_characters_by_position_request'
577
+ require 'aspose_cells_cloud/requests/remove_characters_by_position_in_remote_spreadsheet_request'
569
578
  require 'aspose_cells_cloud/requests/remove_duplicate_substrings_request'
579
+ require 'aspose_cells_cloud/requests/remove_duplicate_substrings_in_remote_spreadsheet_request'
570
580
  require 'aspose_cells_cloud/requests/add_text_request'
581
+ require 'aspose_cells_cloud/requests/add_text_in_remote_spreadsheet_request'
571
582
  require 'aspose_cells_cloud/requests/convert_text_request'
583
+ require 'aspose_cells_cloud/requests/convert_text_in_remote_spreadsheet_request'
572
584
  require 'aspose_cells_cloud/requests/extract_text_request'
573
585
  require 'aspose_cells_cloud/requests/split_text_request'
574
586
  require 'aspose_cells_cloud/requests/remove_spreadsheet_blank_rows_request'
Binary file
@@ -0,0 +1,21 @@
1
+ 1,1,1,1,1,1,1
2
+ 2,2,2,2,2,2,2
3
+ 3,3,3,3,3,3,3
4
+ 4,4,4,4,4,4,4
5
+ 5,5,5,5,5,5,5
6
+ 6,6,6,6,6,6,6
7
+ 7,7,7,7,7,7,7
8
+ 8,8,8,8,8,8,8
9
+ 1,1,1,1,1,1,1
10
+ 10,10,10,10,,10,10
11
+ 11,11,,11,11,11,11
12
+ 12,12,12,12,12,12,12
13
+ 13,13,,13,13,13,13
14
+ 14,14,14,14,14,14,14
15
+ 15,15,15,15,15,15,15
16
+ 16,16,16,16,16,16,16
17
+ 17,17,17,17,17,17,17
18
+ 18,18,18,18,18,18,18
19
+ 19,19,19,19,19,19,19
20
+ 1,1,1,1,1,1,1
21
+ 7,7,7,7,7,7,7
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1 @@
1
+ <ReportData><Person><Name>a</Name><Age>1</Age></Person><Person><Name>b</Name><Age>2</Age></Person></ReportData>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1 @@
1
+ <ImportBatchDataOption><DestinationWorksheet>Master Sheet</DestinationWorksheet><IsInsert>false</IsInsert><BatchData><CellValue><rowIndex>0</rowIndex><columnIndex>1</columnIndex><type>string</type><value>Abengoa Solar - TEST</value></CellValue><CellValue><rowIndex>1</rowIndex><columnIndex>1</columnIndex><type>string</type><value>ISO 9001:2008</value></CellValue><CellValue><rowIndex>2</rowIndex><columnIndex>1</columnIndex><type>string</type><value>7.3, 7.3.1, 7.3.2, 7.3.3, 7.3.4, 7.3.5, 7.3.6, 7.3.7, 7.5.2, 7.5.4, 7.5.5, 7.6</value></CellValue><CellValue><rowIndex>3</rowIndex><columnIndex>1</columnIndex><type>string</type><value>03-Feb-2016</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>3</columnIndex><type>string</type><value>Business Strategy &amp; Marketing</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>4</columnIndex><type>string</type><value>Continuous Improvement, Corrective &amp; Preventive Action</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>5</columnIndex><type>string</type><value>Customer Satisfaction and Objectives</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>6</columnIndex><type>string</type><value>Design</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>7</columnIndex><type>string</type><value>Document &amp; Records Control</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>8</columnIndex><type>string</type><value>Exclusions</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>9</columnIndex><type>string</type><value>Exclusions - AZ</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>10</columnIndex><type>string</type><value>Exclusions - OAK</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>11</columnIndex><type>string</type><value>Exclusions - Victorville</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>12</columnIndex><type>string</type><value>Internal Auditing</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>13</columnIndex><type>string</type><value>Manaement Review</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>14</columnIndex><type>string</type><value>Management</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>15</columnIndex><type>string</type><value>Platinum Contractual/Surveillance</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>16</columnIndex><type>string</type><value>Project Delivery</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>17</columnIndex><type>string</type><value>Project Management</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>18</columnIndex><type>string</type><value>Purchasing</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>19</columnIndex><type>string</type><value>Receiving</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>20</columnIndex><type>string</type><value>Sales &amp; contract review</value></CellValue><CellValue><rowIndex>4</rowIndex><columnIndex>21</columnIndex><type>string</type><value>Training</value></CellValue><CellValue><rowIndex>5</rowIndex><columnIndex>0</columnIndex><type>string</type><value>14-Feb-2011</value></CellValue><CellValue><rowIndex>5</rowIndex><columnIndex>1</columnIndex><type>string</type><value>IA</value></CellValue><CellValue><rowIndex>5</rowIndex><columnIndex>2</columnIndex><type>string</type><value /></CellValue><CellValue><rowIndex>6</rowIndex><columnIndex>0</columnIndex><type>string</type><value>12-Jan-2012</value></CellValue><CellValue><rowIndex>6</rowIndex><columnIndex>1</columnIndex><type>string</type><value>S</value></CellValue><CellValue><rowIndex>6</rowIndex><columnIndex>2</columnIndex><type>string</type><value /></CellValue><CellValue><rowIndex>6</rowIndex><columnIndex>4</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>6</rowIndex><columnIndex>5</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>6</rowIndex><columnIndex>6</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>6</rowIndex><columnIndex>7</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>6</rowIndex><columnIndex>8</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>0</columnIndex><type>string</type><value>01-Oct-2013</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>1</columnIndex><type>string</type><value>RC</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>2</columnIndex><type>string</type><value>5.00</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>3</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>10</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>11</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>12</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>14</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>15</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>16</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>17</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>18</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>19</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>20</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>7</rowIndex><columnIndex>21</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>8</rowIndex><columnIndex>0</columnIndex><type>string</type><value>30-Jan-2014</value></CellValue><CellValue><rowIndex>8</rowIndex><columnIndex>1</columnIndex><type>string</type><value>RC</value></CellValue><CellValue><rowIndex>8</rowIndex><columnIndex>2</columnIndex><type>string</type><value>5.00</value></CellValue><CellValue><rowIndex>9</rowIndex><columnIndex>0</columnIndex><type>string</type><value>15-Apr-2014</value></CellValue><CellValue><rowIndex>9</rowIndex><columnIndex>1</columnIndex><type>string</type><value>S</value></CellValue><CellValue><rowIndex>9</rowIndex><columnIndex>2</columnIndex><type>string</type><value>4.00</value></CellValue><CellValue><rowIndex>10</rowIndex><columnIndex>0</columnIndex><type>string</type><value>09-Jun-2014</value></CellValue><CellValue><rowIndex>10</rowIndex><columnIndex>1</columnIndex><type>string</type><value>S</value></CellValue><CellValue><rowIndex>10</rowIndex><columnIndex>2</columnIndex><type>string</type><value /></CellValue><CellValue><rowIndex>11</rowIndex><columnIndex>0</columnIndex><type>string</type><value>25-Jun-2014</value></CellValue><CellValue><rowIndex>11</rowIndex><columnIndex>1</columnIndex><type>string</type><value>S</value></CellValue><CellValue><rowIndex>11</rowIndex><columnIndex>2</columnIndex><type>string</type><value>4.00</value></CellValue><CellValue><rowIndex>12</rowIndex><columnIndex>0</columnIndex><type>string</type><value>17-Sep-2014</value></CellValue><CellValue><rowIndex>12</rowIndex><columnIndex>1</columnIndex><type>string</type><value>IA</value></CellValue><CellValue><rowIndex>12</rowIndex><columnIndex>2</columnIndex><type>string</type><value>3.00</value></CellValue><CellValue><rowIndex>13</rowIndex><columnIndex>0</columnIndex><type>string</type><value>01-Oct-2014</value></CellValue><CellValue><rowIndex>13</rowIndex><columnIndex>1</columnIndex><type>string</type><value>RC</value></CellValue><CellValue><rowIndex>13</rowIndex><columnIndex>2</columnIndex><type>string</type><value>5.00</value></CellValue><CellValue><rowIndex>14</rowIndex><columnIndex>0</columnIndex><type>string</type><value>14-Oct-2014</value></CellValue><CellValue><rowIndex>14</rowIndex><columnIndex>1</columnIndex><type>string</type><value>IA</value></CellValue><CellValue><rowIndex>14</rowIndex><columnIndex>2</columnIndex><type>string</type><value>3.00</value></CellValue><CellValue><rowIndex>14</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>15</rowIndex><columnIndex>0</columnIndex><type>string</type><value>15-Oct-2014</value></CellValue><CellValue><rowIndex>15</rowIndex><columnIndex>1</columnIndex><type>string</type><value>SP</value></CellValue><CellValue><rowIndex>15</rowIndex><columnIndex>2</columnIndex><type>string</type><value /></CellValue><CellValue><rowIndex>16</rowIndex><columnIndex>0</columnIndex><type>string</type><value>01-Dec-2014</value></CellValue><CellValue><rowIndex>16</rowIndex><columnIndex>1</columnIndex><type>string</type><value>RC</value></CellValue><CellValue><rowIndex>16</rowIndex><columnIndex>2</columnIndex><type>string</type><value>5.00</value></CellValue><CellValue><rowIndex>16</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>17</rowIndex><columnIndex>0</columnIndex><type>string</type><value>03-Feb-2015</value></CellValue><CellValue><rowIndex>17</rowIndex><columnIndex>1</columnIndex><type>string</type><value>S</value></CellValue><CellValue><rowIndex>17</rowIndex><columnIndex>2</columnIndex><type>string</type><value>4.00</value></CellValue><CellValue><rowIndex>17</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>18</rowIndex><columnIndex>0</columnIndex><type>string</type><value>19-Feb-2015</value></CellValue><CellValue><rowIndex>18</rowIndex><columnIndex>1</columnIndex><type>string</type><value>S</value></CellValue><CellValue><rowIndex>18</rowIndex><columnIndex>2</columnIndex><type>string</type><value>4.00</value></CellValue><CellValue><rowIndex>18</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>19</rowIndex><columnIndex>0</columnIndex><type>string</type><value>12-Mar-2015</value></CellValue><CellValue><rowIndex>19</rowIndex><columnIndex>1</columnIndex><type>string</type><value>S</value></CellValue><CellValue><rowIndex>19</rowIndex><columnIndex>2</columnIndex><type>string</type><value>4.00</value></CellValue><CellValue><rowIndex>20</rowIndex><columnIndex>0</columnIndex><type>string</type><value>09-Jun-2015</value></CellValue><CellValue><rowIndex>20</rowIndex><columnIndex>1</columnIndex><type>string</type><value>RC</value></CellValue><CellValue><rowIndex>20</rowIndex><columnIndex>2</columnIndex><type>string</type><value>5.00</value></CellValue><CellValue><rowIndex>22</rowIndex><columnIndex>0</columnIndex><type>string</type><value>Surveillance/Contract Requirement</value></CellValue><CellValue><rowIndex>23</rowIndex><columnIndex>0</columnIndex><type>string</type><value>4 Quality management system</value></CellValue><CellValue><rowIndex>24</rowIndex><columnIndex>0</columnIndex><type>string</type><value>4.1 General requirements</value></CellValue><CellValue><rowIndex>25</rowIndex><columnIndex>0</columnIndex><type>string</type><value>4.2 Documentation requirements</value></CellValue><CellValue><rowIndex>26</rowIndex><columnIndex>0</columnIndex><type>string</type><value>4.2.1 General</value></CellValue><CellValue><rowIndex>27</rowIndex><columnIndex>0</columnIndex><type>string</type><value>4.2.2 Quality manual</value></CellValue><CellValue><rowIndex>28</rowIndex><columnIndex>0</columnIndex><type>string</type><value>4.2.3 Control of documents</value></CellValue><CellValue><rowIndex>29</rowIndex><columnIndex>0</columnIndex><type>string</type><value>4.2.4 Control of quality records</value></CellValue><CellValue><rowIndex>30</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5 Management responsibility</value></CellValue><CellValue><rowIndex>31</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.1 Management commitment</value></CellValue><CellValue><rowIndex>32</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.2 Customer focus</value></CellValue><CellValue><rowIndex>33</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.3 Quality policy</value></CellValue><CellValue><rowIndex>34</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.4 Planning</value></CellValue><CellValue><rowIndex>35</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.4.1 Quality objectives</value></CellValue><CellValue><rowIndex>35</rowIndex><columnIndex>1</columnIndex><type>string</type><value>M</value></CellValue><CellValue><rowIndex>35</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>36</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.4.2 Quality management system planning</value></CellValue><CellValue><rowIndex>37</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.5 Responsibility, authority and communication</value></CellValue><CellValue><rowIndex>38</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.5.1 Responsibility and authority</value></CellValue><CellValue><rowIndex>39</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.5.2 Management representative</value></CellValue><CellValue><rowIndex>40</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.5.3 Internal communication</value></CellValue><CellValue><rowIndex>41</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.6 Management review</value></CellValue><CellValue><rowIndex>41</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>42</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.6.1 General</value></CellValue><CellValue><rowIndex>42</rowIndex><columnIndex>1</columnIndex><type>string</type><value>M</value></CellValue><CellValue><rowIndex>42</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>43</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.6.2 Review input</value></CellValue><CellValue><rowIndex>43</rowIndex><columnIndex>1</columnIndex><type>string</type><value>M</value></CellValue><CellValue><rowIndex>43</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>44</rowIndex><columnIndex>0</columnIndex><type>string</type><value>5.6.3 Review output</value></CellValue><CellValue><rowIndex>44</rowIndex><columnIndex>1</columnIndex><type>string</type><value>M</value></CellValue><CellValue><rowIndex>44</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>45</rowIndex><columnIndex>0</columnIndex><type>string</type><value>6 Resource management</value></CellValue><CellValue><rowIndex>46</rowIndex><columnIndex>0</columnIndex><type>string</type><value>6.1 Provision of resources</value></CellValue><CellValue><rowIndex>47</rowIndex><columnIndex>0</columnIndex><type>string</type><value>6.2 Human resources</value></CellValue><CellValue><rowIndex>48</rowIndex><columnIndex>0</columnIndex><type>string</type><value>6.2.1 General</value></CellValue><CellValue><rowIndex>49</rowIndex><columnIndex>0</columnIndex><type>string</type><value>6.2.2 Competence, training and awareness</value></CellValue><CellValue><rowIndex>50</rowIndex><columnIndex>0</columnIndex><type>string</type><value>6.3 Infrastructure</value></CellValue><CellValue><rowIndex>51</rowIndex><columnIndex>0</columnIndex><type>string</type><value>6.4 Work environment</value></CellValue><CellValue><rowIndex>52</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7 Product realization</value></CellValue><CellValue><rowIndex>53</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.1 Planning of product realization</value></CellValue><CellValue><rowIndex>54</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.2 Customer-related processes</value></CellValue><CellValue><rowIndex>55</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.2.1 Determination of requirements related to the product</value></CellValue><CellValue><rowIndex>56</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.2.2 Review of requirements related to the product</value></CellValue><CellValue><rowIndex>57</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.2.3 Customer communication</value></CellValue><CellValue><rowIndex>58</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.3 Design and development</value></CellValue><CellValue><rowIndex>59</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.3.1 Design and development planning</value></CellValue><CellValue><rowIndex>60</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.3.2 Design and development inputs</value></CellValue><CellValue><rowIndex>61</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.3.3 Design and development outputs</value></CellValue><CellValue><rowIndex>62</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.3.4 Design and development review</value></CellValue><CellValue><rowIndex>63</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.3.5 Design and development verification</value></CellValue><CellValue><rowIndex>64</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.3.6 Design and development validation</value></CellValue><CellValue><rowIndex>65</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.3.7 Control of design and development changes</value></CellValue><CellValue><rowIndex>66</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.4 Purchasing</value></CellValue><CellValue><rowIndex>67</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.4.1 Purchasing processes</value></CellValue><CellValue><rowIndex>68</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.4.2 Purchasing information</value></CellValue><CellValue><rowIndex>69</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.4.3 Verification of purchased product</value></CellValue><CellValue><rowIndex>70</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.5 Production and service provision</value></CellValue><CellValue><rowIndex>71</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.5.1 Control of production and service provision</value></CellValue><CellValue><rowIndex>71</rowIndex><columnIndex>1</columnIndex><type>string</type><value>M</value></CellValue><CellValue><rowIndex>72</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.5.2 Validation of processes for production and service provision</value></CellValue><CellValue><rowIndex>73</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.5.3 Identification and traceability</value></CellValue><CellValue><rowIndex>74</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.5.4 Customer property</value></CellValue><CellValue><rowIndex>75</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.5.5 Preservation of product</value></CellValue><CellValue><rowIndex>76</rowIndex><columnIndex>0</columnIndex><type>string</type><value>7.6 Control of monitoring and measuring equipment</value></CellValue><CellValue><rowIndex>77</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8 Measurement, analysis and improvement</value></CellValue><CellValue><rowIndex>78</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.1 General</value></CellValue><CellValue><rowIndex>79</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.2 Measurement and monitoring</value></CellValue><CellValue><rowIndex>80</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.2.1 Customer satisfaction</value></CellValue><CellValue><rowIndex>80</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>81</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.2.2 Internal audit</value></CellValue><CellValue><rowIndex>81</rowIndex><columnIndex>1</columnIndex><type>string</type><value>M</value></CellValue><CellValue><rowIndex>82</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.2.3 Monitoring and measurement of processes</value></CellValue><CellValue><rowIndex>83</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.2.4 Monitoring and measurement of product</value></CellValue><CellValue><rowIndex>84</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.3 Control of nonconforming product</value></CellValue><CellValue><rowIndex>85</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.4 Analysis of data</value></CellValue><CellValue><rowIndex>85</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>86</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.5.1 Continual improvement</value></CellValue><CellValue><rowIndex>86</rowIndex><columnIndex>13</columnIndex><type>string</type><value>X</value></CellValue><CellValue><rowIndex>87</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.5.2 Corrective action</value></CellValue><CellValue><rowIndex>87</rowIndex><columnIndex>1</columnIndex><type>string</type><value>M</value></CellValue><CellValue><rowIndex>88</rowIndex><columnIndex>0</columnIndex><type>string</type><value>8.5.3 Preventive action</value></CellValue></BatchData></ImportBatchDataOption>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,29 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+
4
+ describe 'CellsApi' do
5
+ before do
6
+ @instance = AsposeCellsCloud::CellsApi.new($client_id,$client_secret,$api_version,$baseurl)
7
+ $VERBOSE = nil
8
+ end
9
+
10
+ after do
11
+ # run after each test
12
+ end
13
+
14
+ describe 'aggregate_cells_by_color test' do
15
+ it "should work" do
16
+
17
+ request = AsposeCellsCloud::AggregateCellsByColorRequest.new(:Spreadsheet=>'TestData/AggregateCellsByColor.xlsx',:worksheet=>'Sheet1');
18
+ @instance.aggregate_cells_by_color(request);
19
+ end
20
+ end
21
+
22
+ describe 'math_calculate test' do
23
+ it "should work" do
24
+
25
+ request = AsposeCellsCloud::MathCalculateRequest.new(:Spreadsheet=>'TestData/EmployeeSalesSummary-BlankWorksheet.xlsx',:operation=>'add',:value=>'12.3');
26
+ @instance.math_calculate(request);
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,211 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+
4
+ describe 'CellsApi' do
5
+ before do
6
+ @instance = AsposeCellsCloud::CellsApi.new($client_id,$client_secret,$api_version,$baseurl)
7
+ $VERBOSE = nil
8
+ end
9
+
10
+ after do
11
+ # run after each test
12
+ end
13
+
14
+ describe 'get_worksheet_auto_filter test' do
15
+ it "should work" do
16
+ remote_folder = 'TestData/In'
17
+
18
+ local_name = 'Book1.xlsx'
19
+ remote_name = 'Book1.xlsx'
20
+
21
+
22
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_name,:path=>remote_folder ))
23
+
24
+ request = AsposeCellsCloud::GetWorksheetAutoFilterRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:folder=>remote_folder,:storageName=>'');
25
+ @instance.get_worksheet_auto_filter(request);
26
+ end
27
+ end
28
+
29
+ describe 'put_worksheet_date_filter test' do
30
+ it "should work" do
31
+ remote_folder = 'TestData/In'
32
+
33
+ local_name = 'Book1.xlsx'
34
+ remote_name = 'Book1.xlsx'
35
+
36
+
37
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_name,:path=>remote_folder ))
38
+
39
+ request = AsposeCellsCloud::PutWorksheetDateFilterRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:range=>'A1:B1',:fieldIndex=>0,:dateTimeGroupingType=>'Year',:year=>1920,:matchBlanks=>false,:refresh=>true,:folder=>remote_folder,:storageName=>'');
40
+ @instance.put_worksheet_date_filter(request);
41
+ end
42
+ end
43
+
44
+ describe 'put_worksheet_filter test' do
45
+ it "should work" do
46
+ remote_folder = 'TestData/In'
47
+
48
+ local_name = 'Book1.xlsx'
49
+ remote_name = 'Book1.xlsx'
50
+
51
+
52
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_name,:path=>remote_folder ))
53
+
54
+ request = AsposeCellsCloud::PutWorksheetFilterRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:range=>'A1:B1',:fieldIndex=>0,:criteria=>'Year',:matchBlanks=>false,:refresh=>true,:folder=>remote_folder,:storageName=>'');
55
+ @instance.put_worksheet_filter(request);
56
+ end
57
+ end
58
+
59
+ describe 'put_worksheet_icon_filter test' do
60
+ it "should work" do
61
+ remote_folder = 'TestData/In'
62
+
63
+ local_name = 'Book1.xlsx'
64
+ remote_name = 'Book1.xlsx'
65
+
66
+
67
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_name,:path=>remote_folder ))
68
+
69
+ request = AsposeCellsCloud::PutWorksheetIconFilterRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:range=>'A1:B1',:fieldIndex=>0,:iconSetType=>'ArrowsGray3',:iconId=>1,:matchBlanks=>false,:refresh=>true,:folder=>remote_folder,:storageName=>'');
70
+ @instance.put_worksheet_icon_filter(request);
71
+ end
72
+ end
73
+
74
+ describe 'put_worksheet_custom_filter test' do
75
+ it "should work" do
76
+ remote_folder = 'TestData/In'
77
+
78
+ local_name = 'Book1.xlsx'
79
+ remote_name = 'Book1.xlsx'
80
+
81
+
82
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_name,:path=>remote_folder ))
83
+
84
+ request = AsposeCellsCloud::PutWorksheetCustomFilterRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:range=>'A1:B1',:fieldIndex=>0,:operatorType1=>'LessOrEqual',:criteria1=>'1',:matchBlanks=>false,:refresh=>true,:folder=>remote_folder,:storageName=>'');
85
+ @instance.put_worksheet_custom_filter(request);
86
+ end
87
+ end
88
+
89
+ describe 'put_worksheet_dynamic_filter test' do
90
+ it "should work" do
91
+ remote_folder = 'TestData/In'
92
+
93
+ local_name = 'Book1.xlsx'
94
+ remote_name = 'Book1.xlsx'
95
+
96
+
97
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_name,:path=>remote_folder ))
98
+
99
+ request = AsposeCellsCloud::PutWorksheetDynamicFilterRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:range=>'A1:B1',:fieldIndex=>0,:dynamicFilterType=>'BelowAverage',:matchBlanks=>false,:refresh=>true,:folder=>remote_folder,:storageName=>'');
100
+ @instance.put_worksheet_dynamic_filter(request);
101
+ end
102
+ end
103
+
104
+ describe 'put_worksheet_filter_top10 test' do
105
+ it "should work" do
106
+ remote_folder = 'TestData/In'
107
+
108
+ local_name = 'Book1.xlsx'
109
+ remote_name = 'Book1.xlsx'
110
+
111
+
112
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_name,:path=>remote_folder ))
113
+
114
+ request = AsposeCellsCloud::PutWorksheetFilterTop10Request.new(:name=>remote_name,:sheetName=>'Sheet1',:range=>'A1:B1',:fieldIndex=>0,:isTop=>true,:isPercent=>true,:itemCount=>1,:matchBlanks=>false,:refresh=>true,:folder=>remote_folder,:storageName=>'');
115
+ @instance.put_worksheet_filter_top10(request);
116
+ end
117
+ end
118
+
119
+ describe 'put_worksheet_color_filter test' do
120
+ it "should work" do
121
+ remote_folder = 'TestData/In'
122
+
123
+ local_name = 'Book1.xlsx'
124
+ remote_name = 'Book1.xlsx'
125
+
126
+
127
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_name,:path=>remote_folder ))
128
+
129
+ colorFilterForegroundColorColor = AsposeCellsCloud::Color.new(:R=>48 ,:G=>48 ,:B=>48 );
130
+ colorFilterForegroundColor = AsposeCellsCloud::CellsColor.new(:Type=>'Automatic' ,:Color=>colorFilterForegroundColorColor );
131
+ colorFilter = AsposeCellsCloud::ColorFilterRequest.new(:Pattern=>'Solid' ,:ForegroundColor=>colorFilterForegroundColor );
132
+ request = AsposeCellsCloud::PutWorksheetColorFilterRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:range=>'A1:B1',:fieldIndex=>0,:colorFilter=>colorFilter,:matchBlanks=>true,:refresh=>true,:folder=>remote_folder,:storageName=>'');
133
+ @instance.put_worksheet_color_filter(request);
134
+ end
135
+ end
136
+
137
+ describe 'post_worksheet_match_blanks test' do
138
+ it "should work" do
139
+ remote_folder = 'TestData/In'
140
+
141
+ local_name = 'Book1.xlsx'
142
+ remote_name = 'Book1.xlsx'
143
+
144
+
145
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_name,:path=>remote_folder ))
146
+
147
+ request = AsposeCellsCloud::PostWorksheetMatchBlanksRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:fieldIndex=>0,:folder=>remote_folder,:storageName=>'');
148
+ @instance.post_worksheet_match_blanks(request);
149
+ end
150
+ end
151
+
152
+ describe 'post_worksheet_match_non_blanks test' do
153
+ it "should work" do
154
+ remote_folder = 'TestData/In'
155
+
156
+ local_name = 'Book1.xlsx'
157
+ remote_name = 'Book1.xlsx'
158
+
159
+
160
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_name,:path=>remote_folder ))
161
+
162
+ request = AsposeCellsCloud::PostWorksheetMatchNonBlanksRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:fieldIndex=>0,:folder=>remote_folder,:storageName=>'');
163
+ @instance.post_worksheet_match_non_blanks(request);
164
+ end
165
+ end
166
+
167
+ describe 'post_worksheet_auto_filter_refresh test' do
168
+ it "should work" do
169
+ remote_folder = 'TestData/In'
170
+
171
+ local_name = 'Book1.xlsx'
172
+ remote_name = 'Book1.xlsx'
173
+
174
+
175
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_name,:path=>remote_folder ))
176
+
177
+ request = AsposeCellsCloud::PostWorksheetAutoFilterRefreshRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:folder=>remote_folder,:storageName=>'');
178
+ @instance.post_worksheet_auto_filter_refresh(request);
179
+ end
180
+ end
181
+
182
+ describe 'delete_worksheet_date_filter test' do
183
+ it "should work" do
184
+ remote_folder = 'TestData/In'
185
+
186
+ local_name = 'Book1.xlsx'
187
+ remote_name = 'Book1.xlsx'
188
+
189
+
190
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_name,:path=>remote_folder ))
191
+
192
+ request = AsposeCellsCloud::DeleteWorksheetDateFilterRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:fieldIndex=>0,:dateTimeGroupingType=>'Year',:year=>1920,:folder=>remote_folder,:storageName=>'');
193
+ @instance.delete_worksheet_date_filter(request);
194
+ end
195
+ end
196
+
197
+ describe 'delete_worksheet_filter test' do
198
+ it "should work" do
199
+ remote_folder = 'TestData/In'
200
+
201
+ local_name = 'Book1.xlsx'
202
+ remote_name = 'Book1.xlsx'
203
+
204
+
205
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_name,:path=>remote_folder ))
206
+
207
+ request = AsposeCellsCloud::DeleteWorksheetFilterRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:fieldIndex=>0,:criteria=>'year',:folder=>remote_folder,:storageName=>'');
208
+ @instance.delete_worksheet_filter(request);
209
+ end
210
+ end
211
+ end
@@ -0,0 +1,113 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+
4
+ describe 'CellsApi' do
5
+ before do
6
+ @instance = AsposeCellsCloud::CellsApi.new($client_id,$client_secret,$api_version,$baseurl)
7
+ $VERBOSE = nil
8
+ end
9
+
10
+ after do
11
+ # run after each test
12
+ end
13
+
14
+ describe 'post_batch_convert test' do
15
+ it "should work" do
16
+ remote_folder = 'TestData/In'
17
+
18
+ local_book1 = 'Book1.xlsx'
19
+ remote_book1 = 'Book1.xlsx'
20
+ local_my_doc = 'myDocument.xlsx'
21
+ remote_my_doc = 'myDocument.xlsx'
22
+
23
+
24
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_book1,:path=>remote_folder ))
25
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_my_doc,:path=>remote_folder ))
26
+
27
+ batchConvertRequestMatchCondition = AsposeCellsCloud::MatchConditionRequest.new(:RegexPattern=>'(^Book)(.+)(xlsx$)' );
28
+ batchConvertRequest = AsposeCellsCloud::BatchConvertRequest.new(:SourceFolder=>remote_folder ,:Format=>'pdf' ,:OutFolder=>'OutResult' ,:MatchCondition=>batchConvertRequestMatchCondition );
29
+ request = AsposeCellsCloud::PostBatchConvertRequest.new(:batchConvertRequest=>batchConvertRequest);
30
+ @instance.post_batch_convert(request);
31
+ end
32
+ end
33
+
34
+ describe 'post_batch_protect test' do
35
+ it "should work" do
36
+ remote_folder = 'TestData/In'
37
+
38
+ local_book1 = 'Book1.xlsx'
39
+ remote_book1 = 'Book1.xlsx'
40
+ local_my_doc = 'myDocument.xlsx'
41
+ remote_my_doc = 'myDocument.xlsx'
42
+
43
+
44
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_book1,:path=>remote_folder ))
45
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_my_doc,:path=>remote_folder ))
46
+
47
+ batchProtectRequestMatchCondition = AsposeCellsCloud::MatchConditionRequest.new(:RegexPattern=>'(^Book)(.+)(xlsx$)' );
48
+ batchProtectRequest = AsposeCellsCloud::BatchProtectRequest.new(:SourceFolder=>remote_folder ,:ProtectionType=>'All' ,:Password=>'123456' ,:OutFolder=>'OutResult' ,:MatchCondition=>batchProtectRequestMatchCondition );
49
+ request = AsposeCellsCloud::PostBatchProtectRequest.new(:batchProtectRequest=>batchProtectRequest);
50
+ @instance.post_batch_protect(request);
51
+ end
52
+ end
53
+
54
+ describe 'post_batch_lock test' do
55
+ it "should work" do
56
+ remote_folder = 'TestData/In'
57
+
58
+ local_book1 = 'Book1.xlsx'
59
+ remote_book1 = 'Book1.xlsx'
60
+ local_my_doc = 'myDocument.xlsx'
61
+ remote_my_doc = 'myDocument.xlsx'
62
+
63
+
64
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_book1,:path=>remote_folder ))
65
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_my_doc,:path=>remote_folder ))
66
+
67
+ batchLockRequestMatchCondition = AsposeCellsCloud::MatchConditionRequest.new(:RegexPattern=>'(^Book)(.+)(xlsx$)' );
68
+ batchLockRequest = AsposeCellsCloud::BatchLockRequest.new(:SourceFolder=>remote_folder ,:Password=>'123456' ,:OutFolder=>'OutResult' ,:MatchCondition=>batchLockRequestMatchCondition );
69
+ request = AsposeCellsCloud::PostBatchLockRequest.new(:batchLockRequest=>batchLockRequest);
70
+ @instance.post_batch_lock(request);
71
+ end
72
+ end
73
+
74
+ describe 'post_batch_unlock test' do
75
+ it "should work" do
76
+ remote_folder = 'TestData/In'
77
+
78
+ local_book1 = 'Book1.xlsx'
79
+ remote_book1 = 'Book1.xlsx'
80
+ local_my_doc = 'myDocument.xlsx'
81
+ remote_my_doc = 'myDocument.xlsx'
82
+
83
+
84
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_book1,:path=>remote_folder ))
85
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_my_doc,:path=>remote_folder ))
86
+
87
+ batchLockRequestMatchCondition = AsposeCellsCloud::MatchConditionRequest.new(:RegexPattern=>'(^Book)(.+)(xlsx$)' );
88
+ batchLockRequest = AsposeCellsCloud::BatchLockRequest.new(:SourceFolder=>remote_folder ,:Password=>'123456' ,:OutFolder=>'OutResult' ,:MatchCondition=>batchLockRequestMatchCondition );
89
+ request = AsposeCellsCloud::PostBatchUnlockRequest.new(:batchLockRequest=>batchLockRequest);
90
+ @instance.post_batch_unlock(request);
91
+ end
92
+ end
93
+
94
+ describe 'post_batch_split test' do
95
+ it "should work" do
96
+ remote_folder = 'TestData/In'
97
+
98
+ local_book1 = 'Book1.xlsx'
99
+ remote_book1 = 'Book1.xlsx'
100
+ local_my_doc = 'myDocument.xlsx'
101
+ remote_my_doc = 'myDocument.xlsx'
102
+
103
+
104
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_book1,:path=>remote_folder ))
105
+ @instance.upload_file(AsposeCellsCloud::UploadFileRequest.new( :UploadFiles=>"TestData/"+local_my_doc,:path=>remote_folder ))
106
+
107
+ batchSplitRequestMatchCondition = AsposeCellsCloud::MatchConditionRequest.new(:RegexPattern=>'(^Book)(.+)(xlsx$)' );
108
+ batchSplitRequest = AsposeCellsCloud::BatchSplitRequest.new(:SourceFolder=>remote_folder ,:Format=>'Pdf' ,:OutFolder=>'OutResult' ,:MatchCondition=>batchSplitRequestMatchCondition );
109
+ request = AsposeCellsCloud::PostBatchSplitRequest.new(:batchSplitRequest=>batchSplitRequest);
110
+ @instance.post_batch_split(request);
111
+ end
112
+ end
113
+ end