aspose_cells_cloud 24.8 → 24.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -3
- data/lib/aspose_cells_cloud/api/cells_api.rb +14 -0
- data/lib/aspose_cells_cloud/api_client.rb +3 -3
- data/lib/aspose_cells_cloud/models/html_save_options.rb +15 -3
- data/lib/aspose_cells_cloud/models/protect_workbook_request.rb +13 -1
- data/lib/aspose_cells_cloud/models/remove_characters_by_character.rb +234 -0
- data/lib/aspose_cells_cloud/models/remove_characters_by_position.rb +246 -0
- data/lib/aspose_cells_cloud/models/remove_characters_options.rb +282 -0
- data/lib/aspose_cells_cloud/models/text_water_marker_request.rb +16 -4
- data/lib/aspose_cells_cloud/models/word_case_options.rb +246 -0
- data/lib/aspose_cells_cloud/requests/post_remove_characters_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_update_word_case_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/put_convert_workbook_request.rb +16 -2
- data/lib/aspose_cells_cloud/requests/put_workbook_background_request.rb +7 -0
- data/lib/aspose_cells_cloud/requests/put_worksheet_background_request.rb +7 -0
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +6 -0
- data/spec/api/data_processing_controller_spec.rb +3 -1
- data/spec/api/file_controller_spec.rb +0 -36
- data/spec/api/text_processing_controller_spec.rb +21 -0
- metadata +8 -2
@@ -51,4 +51,25 @@ describe 'CellsApi' do
|
|
51
51
|
@instance.post_trim_content(request);
|
52
52
|
end
|
53
53
|
end
|
54
|
+
|
55
|
+
describe 'post_update_word_case test' do
|
56
|
+
it "should work" do
|
57
|
+
remote_folder = 'TestData/In'
|
58
|
+
|
59
|
+
local_name = 'BookText.xlsx'
|
60
|
+
remote_name = 'BookText.xlsx'
|
61
|
+
|
62
|
+
|
63
|
+
mapFiles = { }
|
64
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
65
|
+
|
66
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
67
|
+
@instance.upload_file(uploadrequest)
|
68
|
+
wordCaseOptionsDataSource = AsposeCellsCloud::DataSource.new(:DataSourceType=>'CloudFileSystem' ,:DataPath=>'BookText.xlsx' );
|
69
|
+
wordCaseOptionsScopeOptions = AsposeCellsCloud::ScopeOptions.new(:Scope=>'EntireWorkbook' );
|
70
|
+
wordCaseOptions = AsposeCellsCloud::WordCaseOptions.new(:DataSource=>wordCaseOptionsDataSource ,:WordCaseType=>'None' ,:ScopeOptions=>wordCaseOptionsScopeOptions );
|
71
|
+
request = AsposeCellsCloud::PostUpdateWordCaseRequest.new(:wordCaseOptions=>wordCaseOptions);
|
72
|
+
@instance.post_update_word_case(request);
|
73
|
+
end
|
74
|
+
end
|
54
75
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aspose_cells_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '24.
|
4
|
+
version: '24.10'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aspose Cells Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -534,6 +534,9 @@ files:
|
|
534
534
|
- lib/aspose_cells_cloud/models/ranges_response.rb
|
535
535
|
- lib/aspose_cells_cloud/models/rectangle_shape.rb
|
536
536
|
- lib/aspose_cells_cloud/models/rectangle_shape_response.rb
|
537
|
+
- lib/aspose_cells_cloud/models/remove_characters_by_character.rb
|
538
|
+
- lib/aspose_cells_cloud/models/remove_characters_by_position.rb
|
539
|
+
- lib/aspose_cells_cloud/models/remove_characters_options.rb
|
537
540
|
- lib/aspose_cells_cloud/models/rendering_font.rb
|
538
541
|
- lib/aspose_cells_cloud/models/rendering_watermark.rb
|
539
542
|
- lib/aspose_cells_cloud/models/result_destination.rb
|
@@ -628,6 +631,7 @@ files:
|
|
628
631
|
- lib/aspose_cells_cloud/models/vertical_page_breaks_response.rb
|
629
632
|
- lib/aspose_cells_cloud/models/walls.rb
|
630
633
|
- lib/aspose_cells_cloud/models/walls_response.rb
|
634
|
+
- lib/aspose_cells_cloud/models/word_case_options.rb
|
631
635
|
- lib/aspose_cells_cloud/models/workbook.rb
|
632
636
|
- lib/aspose_cells_cloud/models/workbook_encryption_request.rb
|
633
637
|
- lib/aspose_cells_cloud/models/workbook_operate_parameter.rb
|
@@ -863,6 +867,7 @@ files:
|
|
863
867
|
- lib/aspose_cells_cloud/requests/post_pivot_table_update_pivot_fields_request.rb
|
864
868
|
- lib/aspose_cells_cloud/requests/post_protect_request.rb
|
865
869
|
- lib/aspose_cells_cloud/requests/post_protect_workbook_request.rb
|
870
|
+
- lib/aspose_cells_cloud/requests/post_remove_characters_request.rb
|
866
871
|
- lib/aspose_cells_cloud/requests/post_rename_worksheet_request.rb
|
867
872
|
- lib/aspose_cells_cloud/requests/post_repair_request.rb
|
868
873
|
- lib/aspose_cells_cloud/requests/post_replace_request.rb
|
@@ -881,6 +886,7 @@ files:
|
|
881
886
|
- lib/aspose_cells_cloud/requests/post_unhide_worksheet_columns_request.rb
|
882
887
|
- lib/aspose_cells_cloud/requests/post_unhide_worksheet_rows_request.rb
|
883
888
|
- lib/aspose_cells_cloud/requests/post_unlock_request.rb
|
889
|
+
- lib/aspose_cells_cloud/requests/post_update_word_case_request.rb
|
884
890
|
- lib/aspose_cells_cloud/requests/post_update_worksheet_cell_style_request.rb
|
885
891
|
- lib/aspose_cells_cloud/requests/post_update_worksheet_ole_object_request.rb
|
886
892
|
- lib/aspose_cells_cloud/requests/post_update_worksheet_property_request.rb
|