groupdocs 1.2.11 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +2 -0
- data/Gemfile +1 -1
- data/README.md +0 -2
- data/Rakefile +1 -1
- data/examples/api-samples/Gemfile +1 -1
- data/examples/api-samples/samples/annotation-sample.rb +50 -0
- data/examples/api-samples/samples/sample18.rb +11 -2
- data/examples/api-samples/samples/sample19.rb +58 -0
- data/examples/api-samples/samples/sample20.rb +50 -0
- data/examples/api-samples/samples/sample21.rb +65 -0
- data/examples/api-samples/samples/sample22.rb +52 -0
- data/examples/api-samples/views/annotation_sample.haml +64 -0
- data/examples/api-samples/views/index.haml +8 -0
- data/examples/api-samples/views/sample1.haml +9 -1
- data/examples/api-samples/views/sample10.haml +9 -1
- data/examples/api-samples/views/sample11.haml +10 -0
- data/examples/api-samples/views/sample12.haml +8 -0
- data/examples/api-samples/views/sample13.haml +8 -0
- data/examples/api-samples/views/sample14.haml +8 -0
- data/examples/api-samples/views/sample15.haml +8 -0
- data/examples/api-samples/views/sample16.haml +8 -0
- data/examples/api-samples/views/sample17.haml +8 -0
- data/examples/api-samples/views/sample18.haml +11 -0
- data/examples/api-samples/views/sample19.haml +102 -0
- data/examples/api-samples/views/sample2.haml +9 -1
- data/examples/api-samples/views/sample20.haml +89 -0
- data/examples/api-samples/views/sample21.haml +106 -0
- data/examples/api-samples/views/sample22.haml +107 -0
- data/examples/api-samples/views/sample3.haml +10 -2
- data/examples/api-samples/views/sample4.haml +8 -0
- data/examples/api-samples/views/sample5.haml +8 -0
- data/examples/api-samples/views/sample6.haml +8 -0
- data/examples/api-samples/views/sample7.haml +9 -1
- data/examples/api-samples/views/sample8.haml +10 -2
- data/examples/api-samples/views/sample9.haml +10 -2
- data/groupdocs.gemspec +4 -3
- data/lib/groupdocs.rb +2 -4
- data/lib/groupdocs/api.rb +2 -0
- data/lib/groupdocs/api/entity.rb +4 -36
- data/lib/groupdocs/api/helpers/access_rights_helper.rb +4 -4
- data/lib/groupdocs/api/helpers/byte_flag_helper.rb +3 -3
- data/lib/groupdocs/api/helpers/rest_helper.rb +5 -5
- data/lib/groupdocs/api/helpers/status_helper.rb +2 -2
- data/lib/groupdocs/api/helpers/url_helper.rb +2 -2
- data/lib/groupdocs/document.rb +55 -24
- data/lib/groupdocs/document/annotation.rb +7 -7
- data/lib/groupdocs/document/annotation/reply.rb +2 -2
- data/lib/groupdocs/document/view.rb +1 -1
- data/lib/groupdocs/job.rb +20 -20
- data/lib/groupdocs/questionnaire.rb +2 -2
- data/lib/groupdocs/questionnaire/collector.rb +2 -2
- data/lib/groupdocs/questionnaire/execution.rb +1 -1
- data/lib/groupdocs/questionnaire/question.rb +2 -2
- data/lib/groupdocs/signature.rb +1 -1
- data/lib/groupdocs/signature/envelope.rb +19 -19
- data/lib/groupdocs/signature/field.rb +6 -6
- data/lib/groupdocs/signature/form.rb +7 -7
- data/lib/groupdocs/signature/list.rb +2 -2
- data/lib/groupdocs/signature/recipient.rb +6 -6
- data/lib/groupdocs/signature/shared/document_methods.rb +5 -5
- data/lib/groupdocs/signature/shared/entity_methods.rb +4 -4
- data/lib/groupdocs/signature/shared/field_methods.rb +8 -8
- data/lib/groupdocs/signature/shared/recipient_methods.rb +2 -2
- data/lib/groupdocs/signature/shared/resource_methods.rb +1 -1
- data/lib/groupdocs/signature/template.rb +4 -4
- data/lib/groupdocs/storage.rb +4 -4
- data/lib/groupdocs/storage/file.rb +4 -4
- data/lib/groupdocs/storage/folder.rb +4 -4
- data/lib/groupdocs/subscription.rb +15 -15
- data/lib/groupdocs/version.rb +1 -1
- data/spec/groupdocs/api/entity_spec.rb +10 -37
- data/spec/groupdocs/api/helpers/access_mode_helper_spec.rb +1 -1
- data/spec/groupdocs/api/helpers/access_rights_helper_spec.rb +3 -3
- data/spec/groupdocs/api/helpers/credentials_helpers_spec.rb +5 -5
- data/spec/groupdocs/api/helpers/rest_helper_spec.rb +15 -15
- data/spec/groupdocs/api/helpers/status_helper_spec.rb +1 -1
- data/spec/groupdocs/api/helpers/url_helper_spec.rb +11 -11
- data/spec/groupdocs/api/request_spec.rb +6 -6
- data/spec/groupdocs/datasource_spec.rb +9 -9
- data/spec/groupdocs/document/annotation/reply_spec.rb +15 -15
- data/spec/groupdocs/document/annotation/reviewer_spec.rb +3 -3
- data/spec/groupdocs/document/annotation_spec.rb +17 -17
- data/spec/groupdocs/document/change_spec.rb +1 -1
- data/spec/groupdocs/document/field_spec.rb +1 -1
- data/spec/groupdocs/document/metadata_spec.rb +3 -3
- data/spec/groupdocs/document/view_spec.rb +4 -4
- data/spec/groupdocs/document_spec.rb +92 -66
- data/spec/groupdocs/job_spec.rb +29 -29
- data/spec/groupdocs/questionnaire/collector_spec.rb +15 -19
- data/spec/groupdocs/questionnaire/execution_spec.rb +12 -12
- data/spec/groupdocs/questionnaire/page_spec.rb +4 -4
- data/spec/groupdocs/questionnaire/question_spec.rb +6 -6
- data/spec/groupdocs/questionnaire_spec.rb +18 -18
- data/spec/groupdocs/signature/contact_spec.rb +9 -9
- data/spec/groupdocs/signature/envelope_spec.rb +34 -34
- data/spec/groupdocs/signature/field_spec.rb +13 -13
- data/spec/groupdocs/signature/form_spec.rb +9 -9
- data/spec/groupdocs/signature/list_spec.rb +3 -3
- data/spec/groupdocs/signature/role_spec.rb +2 -2
- data/spec/groupdocs/signature/template_spec.rb +6 -6
- data/spec/groupdocs/signature_spec.rb +3 -3
- data/spec/groupdocs/storage/file_spec.rb +20 -20
- data/spec/groupdocs/storage/folder_spec.rb +21 -21
- data/spec/groupdocs/storage/package_spec.rb +2 -2
- data/spec/groupdocs/storage_spec.rb +1 -1
- data/spec/groupdocs/subscription_spec.rb +3 -3
- data/spec/groupdocs/user_spec.rb +5 -5
- data/spec/spec_helper.rb +9 -7
- data/spec/support/json/document_thumbnails.json +24 -0
- data/spec/support/shared_examples/api/entity.rb +8 -8
- data/spec/support/shared_examples/signature/shared/document_methods.rb +8 -8
- data/spec/support/shared_examples/signature/shared/entity_fields.rb +3 -3
- data/spec/support/shared_examples/signature/shared/entity_methods.rb +12 -12
- data/spec/support/shared_examples/signature/shared/field_methods.rb +29 -29
- data/spec/support/shared_examples/signature/shared/recipient_methods.rb +3 -3
- data/spec/support/shared_examples/signature/shared/resource_methods.rb +2 -2
- metadata +33 -5
@@ -48,7 +48,7 @@
|
|
48
48
|
%h1 #{(defined? shared) ? shared : ""}
|
49
49
|
%br/
|
50
50
|
%div{:style => "padding:10px;"}
|
51
|
-
Choose
|
51
|
+
Choose another one sample:
|
52
52
|
%ul
|
53
53
|
%li
|
54
54
|
%a{:href => "/sample1"} Sample1 - How to login to GroupDocs using the API
|
@@ -86,5 +86,13 @@
|
|
86
86
|
%a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
|
87
87
|
%li
|
88
88
|
%a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
|
89
|
+
%li
|
90
|
+
%a{:href => "/sample19"}Sample19 - How to Compare documents using Ruby SDK
|
91
|
+
%li
|
92
|
+
%a{:href => "/sample20"}Sample20 - How to Get Compare Change list for document using Ruby SDK
|
93
|
+
%li
|
94
|
+
%a{:href => "/sample21"}Sample21 - How to Create and Upload Envelop to GroupDocs account using Ruby SDK
|
95
|
+
%li
|
96
|
+
%a{:href => "/sample22"}Sample22 - How create or update user and add him to collaborators using PHP SDK
|
89
97
|
%li
|
90
98
|
%a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
|
@@ -121,6 +121,16 @@
|
|
121
121
|
%a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
|
122
122
|
%li
|
123
123
|
%a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
|
124
|
+
%li
|
125
|
+
%a{:href => "/sample19"}Sample19 - How to Compare documents using Ruby SDK
|
126
|
+
%li
|
127
|
+
%a{:href => "/sample20"}Sample20 - How to Get Compare Change list for document using Ruby SDK
|
128
|
+
%li
|
129
|
+
%a{:href => "/sample21"}Sample21 - How to Create and Upload Envelop to GroupDocs account using Ruby SDK
|
130
|
+
%li
|
131
|
+
%a{:href => "/sample22"}Sample22 - How create or update user and add him to collaborators using PHP SDK
|
132
|
+
%li
|
133
|
+
%a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
|
124
134
|
|
125
135
|
:javascript
|
126
136
|
$(function() {
|
@@ -90,5 +90,13 @@
|
|
90
90
|
%a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
|
91
91
|
%li
|
92
92
|
%a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
|
93
|
+
%li
|
94
|
+
%a{:href => "/sample19"}Sample19 - How to Compare documents using Ruby SDK
|
95
|
+
%li
|
96
|
+
%a{:href => "/sample20"}Sample20 - How to Get Compare Change list for document using Ruby SDK
|
97
|
+
%li
|
98
|
+
%a{:href => "/sample21"}Sample21 - How to Create and Upload Envelop to GroupDocs account using Ruby SDK
|
99
|
+
%li
|
100
|
+
%a{:href => "/sample22"}Sample22 - How create or update user and add him to collaborators using PHP SDK
|
93
101
|
%li
|
94
102
|
%a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
|
@@ -86,5 +86,13 @@
|
|
86
86
|
%a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
|
87
87
|
%li
|
88
88
|
%a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
|
89
|
+
%li
|
90
|
+
%a{:href => "/sample19"}Sample19 - How to Compare documents using Ruby SDK
|
91
|
+
%li
|
92
|
+
%a{:href => "/sample20"}Sample20 - How to Get Compare Change list for document using Ruby SDK
|
93
|
+
%li
|
94
|
+
%a{:href => "/sample21"}Sample21 - How to Create and Upload Envelop to GroupDocs account using Ruby SDK
|
95
|
+
%li
|
96
|
+
%a{:href => "/sample22"}Sample22 - How create or update user and add him to collaborators using PHP SDK
|
89
97
|
%li
|
90
98
|
%a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
|
@@ -82,5 +82,13 @@
|
|
82
82
|
%a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
|
83
83
|
%li
|
84
84
|
%a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
|
85
|
+
%li
|
86
|
+
%a{:href => "/sample19"}Sample19 - How to Compare documents using Ruby SDK
|
87
|
+
%li
|
88
|
+
%a{:href => "/sample20"}Sample20 - How to Get Compare Change list for document using Ruby SDK
|
89
|
+
%li
|
90
|
+
%a{:href => "/sample21"}Sample21 - How to Create and Upload Envelop to GroupDocs account using Ruby SDK
|
91
|
+
%li
|
92
|
+
%a{:href => "/sample22"}Sample22 - How create or update user and add him to collaborators using PHP SDK
|
85
93
|
%li
|
86
94
|
%a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
|
@@ -71,5 +71,13 @@
|
|
71
71
|
%a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
|
72
72
|
%li
|
73
73
|
%a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
|
74
|
+
%li
|
75
|
+
%a{:href => "/sample19"}Sample19 - How to Compare documents using Ruby SDK
|
76
|
+
%li
|
77
|
+
%a{:href => "/sample20"}Sample20 - How to Get Compare Change list for document using Ruby SDK
|
78
|
+
%li
|
79
|
+
%a{:href => "/sample21"}Sample21 - How to Create and Upload Envelop to GroupDocs account using Ruby SDK
|
80
|
+
%li
|
81
|
+
%a{:href => "/sample22"}Sample22 - How create or update user and add him to collaborators using PHP SDK
|
74
82
|
%li
|
75
83
|
%a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
|
@@ -64,5 +64,13 @@
|
|
64
64
|
%a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
|
65
65
|
%li
|
66
66
|
%a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
|
67
|
+
%li
|
68
|
+
%a{:href => "/sample19"}Sample19 - How to Compare documents using Ruby SDK
|
69
|
+
%li
|
70
|
+
%a{:href => "/sample20"}Sample20 - How to Get Compare Change list for document using Ruby SDK
|
71
|
+
%li
|
72
|
+
%a{:href => "/sample21"}Sample21 - How to Create and Upload Envelop to GroupDocs account using Ruby SDK
|
73
|
+
%li
|
74
|
+
%a{:href => "/sample22"}Sample22 - How create or update user and add him to collaborators using PHP SDK
|
67
75
|
%li
|
68
76
|
%a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
|
@@ -76,5 +76,13 @@
|
|
76
76
|
%a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
|
77
77
|
%li
|
78
78
|
%a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
|
79
|
+
%li
|
80
|
+
%a{:href => "/sample19"}Sample19 - How to Compare documents using Ruby SDK
|
81
|
+
%li
|
82
|
+
%a{:href => "/sample20"}Sample20 - How to Get Compare Change list for document using Ruby SDK
|
83
|
+
%li
|
84
|
+
%a{:href => "/sample21"}Sample21 - How to Create and Upload Envelop to GroupDocs account using Ruby SDK
|
85
|
+
%li
|
86
|
+
%a{:href => "/sample22"}Sample22 - How create or update user and add him to collaborators using PHP SDK
|
79
87
|
%li
|
80
88
|
%a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
|
@@ -42,8 +42,11 @@
|
|
42
42
|
%p
|
43
43
|
Results:
|
44
44
|
#{(defined? message) ? message : ""}
|
45
|
+
#{(defined? iframe) ? iframe : ""}
|
45
46
|
|
46
47
|
|
48
|
+
= render_file('/samples_list.haml')
|
49
|
+
|
47
50
|
%div{:style => "padding:10px;"}
|
48
51
|
Choose another one sample:
|
49
52
|
%ul
|
@@ -83,5 +86,13 @@
|
|
83
86
|
%a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
|
84
87
|
%li
|
85
88
|
%a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
|
89
|
+
%li
|
90
|
+
%a{:href => "/sample19"}Sample19 - How to Compare documents using Ruby SDK
|
91
|
+
%li
|
92
|
+
%a{:href => "/sample20"}Sample20 - How to Get Compare Change list for document using Ruby SDK
|
93
|
+
%li
|
94
|
+
%a{:href => "/sample21"}Sample21 - How to Create and Upload Envelop to GroupDocs account using Ruby SDK
|
95
|
+
%li
|
96
|
+
%a{:href => "/sample22"}Sample22 - How create or update user and add him to collaborators using PHP SDK
|
86
97
|
%li
|
87
98
|
%a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
|
@@ -0,0 +1,102 @@
|
|
1
|
+
%h3{:style => "text-align:center;"}
|
2
|
+
%a{:href => "/"} GroupDocs Ruby SDK Samples
|
3
|
+
\- Sample19
|
4
|
+
.samplecontent{:style => "padding:10px;"}
|
5
|
+
%i This sample will show how to Compare documents using Ruby SDK
|
6
|
+
%br/
|
7
|
+
%br/
|
8
|
+
%p
|
9
|
+
You entered:
|
10
|
+
%p
|
11
|
+
UserId = #{(defined? userId) ? userId : ""}
|
12
|
+
%p
|
13
|
+
PrivateKey = #{(defined? privateKey) ? privateKey : ""}
|
14
|
+
%p
|
15
|
+
Source File ID = #{(defined? sourceFileId) ? sourceFileId : ""}
|
16
|
+
%p
|
17
|
+
Target File ID = #{(defined? targetFileId) ? targetFileId : ""}
|
18
|
+
%p
|
19
|
+
Callback Url = #{(defined? callbackUrl) ? callbackUrl : ""}
|
20
|
+
%p
|
21
|
+
%font{:color => "red"} #{(defined? err) ? err : ""}
|
22
|
+
%br/
|
23
|
+
#requestForm{:style => "padding:20px; border:1px solid black;"}
|
24
|
+
%p Enter data for request and press "Make request" button
|
25
|
+
%form{:action => "/sample19", :method => "post"}
|
26
|
+
%label{:for => "client_id"} GroupDocs ClientID
|
27
|
+
%br/
|
28
|
+
%input{:type=>"text", :name=>"client_id"}
|
29
|
+
%br/
|
30
|
+
%label{:for => "private_key"} GroupDocs PrivateKey
|
31
|
+
%br/
|
32
|
+
%input{:type=>"text", :name=>"private_key"}
|
33
|
+
%br/
|
34
|
+
%label{:for => "sourceFileId"} Source File ID
|
35
|
+
%br/
|
36
|
+
%input{:type=>"text", :name=>"sourceFileId"}
|
37
|
+
%br/
|
38
|
+
%label{:for => "targetFileId"} Target File ID
|
39
|
+
%br/
|
40
|
+
%input{:type=>"text", :name=>"targetFileId"}
|
41
|
+
%br/
|
42
|
+
%label{:for => "callbackUrl"} Callback Url
|
43
|
+
%br/
|
44
|
+
%input{:type=>"text", :name=>"callbackUrl"}
|
45
|
+
%br/
|
46
|
+
%input{:type => "submit", :value => "Make request"}/
|
47
|
+
%br/
|
48
|
+
%div{:style => "padding:20px; border:1px solid black;"}
|
49
|
+
%p
|
50
|
+
Result:
|
51
|
+
#{(defined? iframe) ? iframe : ""}
|
52
|
+
|
53
|
+
|
54
|
+
%div{:style => "padding:10px;"}
|
55
|
+
Choose another one sample:
|
56
|
+
%ul
|
57
|
+
%li
|
58
|
+
%a{:href => "/sample1"} Sample1 - How to login to GroupDocs using the API
|
59
|
+
%li
|
60
|
+
%a{:href => "/sample2"} Sample2 - How to list files within GroupDocs Storage using the Storage API
|
61
|
+
%li
|
62
|
+
%a{:href => "/sample3"} Sample3 - How to upload a file to GroupDocs using the Storage API
|
63
|
+
%li
|
64
|
+
%a{:href => "/sample4"} Sample4 - How to download a file from GroupDocs Storage using the Storage API
|
65
|
+
%li
|
66
|
+
%a{:href => "/sample5"} Sample5 - How to copy / move a file using the GroupDocs Storage API
|
67
|
+
%li
|
68
|
+
%a{:href => "/sample6"} Sample6 - How to add a Signature to a document in GroupDocs Signature
|
69
|
+
%li
|
70
|
+
%a{:href => "/sample7"} Sample7 - How to create a list of thumbnails for a document
|
71
|
+
%li
|
72
|
+
%a{:href => "/sample8"} Sample8 - How to return a URL representing a single page of a Document
|
73
|
+
%li
|
74
|
+
%a{:href => "/sample9"} Sample9 - How to generate an embedded Viewer URL for a Document
|
75
|
+
%li
|
76
|
+
%a{:href => "/sample10"} Sample10 - How to share a document to other users
|
77
|
+
%li
|
78
|
+
%a{:href => "/sample11"}Sample11 - How programmatically create and post an annotation into document. How to delete the annotation
|
79
|
+
%li
|
80
|
+
%a{:href => "/sample12"}Sample12 - How to list all annotations from document
|
81
|
+
%li
|
82
|
+
%a{:href => "/sample13"}Sample13 - How to add collaborator to doc with annotations
|
83
|
+
%li
|
84
|
+
%a{:href => "/sample14"}Sample14 - How to check the list of shares for a folder
|
85
|
+
%li
|
86
|
+
%a{:href => "/sample15"}Sample15 - How to check the number of document's views
|
87
|
+
%li
|
88
|
+
%a{:href => "/sample16"}Sample16 - How to insert Assembly questionary into webpage
|
89
|
+
%li
|
90
|
+
%a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
|
91
|
+
%li
|
92
|
+
%a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
|
93
|
+
%li
|
94
|
+
%a{:href => "/sample19"}Sample19 - How to Compare documents using Ruby SDK
|
95
|
+
%li
|
96
|
+
%a{:href => "/sample20"}Sample20 - How to Get Compare Change list for document using Ruby SDK
|
97
|
+
%li
|
98
|
+
%a{:href => "/sample21"}Sample21 - How to Create and Upload Envelop to GroupDocs account using Ruby SDK
|
99
|
+
%li
|
100
|
+
%a{:href => "/sample22"}Sample22 - How create or update user and add him to collaborators using PHP SDK
|
101
|
+
%li
|
102
|
+
%a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
|
@@ -38,7 +38,7 @@
|
|
38
38
|
%td Files list
|
39
39
|
%td #{(defined? filelist) ? filelist : ""}
|
40
40
|
%div{:style => "padding:10px;"}
|
41
|
-
Choose
|
41
|
+
Choose another one sample:
|
42
42
|
%ul
|
43
43
|
%li
|
44
44
|
%a{:href => "/sample1"} Sample1 - How to login to GroupDocs using the API
|
@@ -76,5 +76,13 @@
|
|
76
76
|
%a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
|
77
77
|
%li
|
78
78
|
%a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
|
79
|
+
%li
|
80
|
+
%a{:href => "/sample19"}Sample19 - How to Compare documents using Ruby SDK
|
81
|
+
%li
|
82
|
+
%a{:href => "/sample20"}Sample20 - How to Get Compare Change list for document using Ruby SDK
|
83
|
+
%li
|
84
|
+
%a{:href => "/sample21"}Sample21 - How to Create and Upload Envelop to GroupDocs account using Ruby SDK
|
85
|
+
%li
|
86
|
+
%a{:href => "/sample22"}Sample22 - How create or update user and add him to collaborators using PHP SDK
|
79
87
|
%li
|
80
88
|
%a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
|
@@ -0,0 +1,89 @@
|
|
1
|
+
%h3{:style => "text-align:center;"}
|
2
|
+
%a{:href => "/"} GroupDocs Ruby SDK Samples
|
3
|
+
\- Sample20
|
4
|
+
.samplecontent{:style => "padding:10px;"}
|
5
|
+
%i This sample will show how to Get Compare Change list for document using Ruby SDK
|
6
|
+
%br/
|
7
|
+
%br/
|
8
|
+
%p
|
9
|
+
You entered:
|
10
|
+
%p
|
11
|
+
UserId = #{(defined? userId) ? userId : ""}
|
12
|
+
%p
|
13
|
+
PrivateKey = #{(defined? privateKey) ? privateKey : ""}
|
14
|
+
%p
|
15
|
+
Result File ID = #{(defined? resultFileId) ? resultFileId : ""}
|
16
|
+
%p
|
17
|
+
%font{:color => "red"} #{(defined? err) ? err : ""}
|
18
|
+
%br/
|
19
|
+
#requestForm{:style => "padding:20px; border:1px solid black;"}
|
20
|
+
%p Enter data for request and press "Make request" button
|
21
|
+
%form{:action => "/sample20", :method => "post"}
|
22
|
+
%label{:for => "client_id"} GroupDocs ClientID
|
23
|
+
%br/
|
24
|
+
%input{:type=>"text", :name=>"client_id"}
|
25
|
+
%br/
|
26
|
+
%label{:for => "private_key"} GroupDocs PrivateKey
|
27
|
+
%br/
|
28
|
+
%input{:type=>"text", :name=>"private_key"}
|
29
|
+
%br/
|
30
|
+
%label{:for => "resultFileId"} Compared FileId
|
31
|
+
%br/
|
32
|
+
%input{:type=>"text", :name=>"resultFileId"}
|
33
|
+
%br/
|
34
|
+
%input{:type => "submit", :value => "Make request"}/
|
35
|
+
%div{:style => "padding:20px; border:1px solid black;"}
|
36
|
+
%p
|
37
|
+
Results:
|
38
|
+
#{(defined? result) ? result : ""}
|
39
|
+
|
40
|
+
|
41
|
+
%div{:style => "padding:10px;"}
|
42
|
+
Choose another one sample:
|
43
|
+
%ul
|
44
|
+
%li
|
45
|
+
%a{:href => "/sample1"} Sample1 - How to login to GroupDocs using the API
|
46
|
+
%li
|
47
|
+
%a{:href => "/sample2"} Sample2 - How to list files within GroupDocs Storage using the Storage API
|
48
|
+
%li
|
49
|
+
%a{:href => "/sample3"} Sample3 - How to upload a file to GroupDocs using the Storage API
|
50
|
+
%li
|
51
|
+
%a{:href => "/sample4"} Sample4 - How to download a file from GroupDocs Storage using the Storage API
|
52
|
+
%li
|
53
|
+
%a{:href => "/sample5"} Sample5 - How to copy / move a file using the GroupDocs Storage API
|
54
|
+
%li
|
55
|
+
%a{:href => "/sample6"} Sample6 - How to add a Signature to a document in GroupDocs Signature
|
56
|
+
%li
|
57
|
+
%a{:href => "/sample7"} Sample7 - How to create a list of thumbnails for a document
|
58
|
+
%li
|
59
|
+
%a{:href => "/sample8"} Sample8 - How to return a URL representing a single page of a Document
|
60
|
+
%li
|
61
|
+
%a{:href => "/sample9"} Sample9 - How to generate an embedded Viewer URL for a Document
|
62
|
+
%li
|
63
|
+
%a{:href => "/sample10"} Sample10 - How to share a document to other users
|
64
|
+
%li
|
65
|
+
%a{:href => "/sample11"}Sample11 - How programmatically create and post an annotation into document. How to delete the annotation
|
66
|
+
%li
|
67
|
+
%a{:href => "/sample12"}Sample12 - How to list all annotations from document
|
68
|
+
%li
|
69
|
+
%a{:href => "/sample13"}Sample13 - How to add collaborator to doc with annotations
|
70
|
+
%li
|
71
|
+
%a{:href => "/sample14"}Sample14 - How to check the list of shares for a folder
|
72
|
+
%li
|
73
|
+
%a{:href => "/sample15"}Sample15 - How to check the number of document's views
|
74
|
+
%li
|
75
|
+
%a{:href => "/sample16"}Sample16 - How to insert Assembly questionary into webpage
|
76
|
+
%li
|
77
|
+
%a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
|
78
|
+
%li
|
79
|
+
%a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
|
80
|
+
%li
|
81
|
+
%a{:href => "/sample19"}Sample19 - How to Compare documents using Ruby SDK
|
82
|
+
%li
|
83
|
+
%a{:href => "/sample20"}Sample20 - How to Get Compare Change list for document using Ruby SDK
|
84
|
+
%li
|
85
|
+
%a{:href => "/sample21"}Sample21 - How to Create and Upload Envelop to GroupDocs account using Ruby SDK
|
86
|
+
%li
|
87
|
+
%a{:href => "/sample22"}Sample22 - How create or update user and add him to collaborators using PHP SDK
|
88
|
+
%li
|
89
|
+
%a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
|
@@ -0,0 +1,106 @@
|
|
1
|
+
%h3{:style => "text-align:center;"}
|
2
|
+
%a{:href => "/"} GroupDocs Ruby SDK Samples
|
3
|
+
\- Sample17
|
4
|
+
.samplecontent{:style => "padding:10px;"}
|
5
|
+
%i This sample will show how to Create and Upload Envelop to GroupDocs account using Ruby SDK
|
6
|
+
%br/
|
7
|
+
%br/
|
8
|
+
%p
|
9
|
+
You entered:
|
10
|
+
%p
|
11
|
+
UserId = #{(defined? userId) ? userId : ""}
|
12
|
+
%p
|
13
|
+
PrivateKey = #{(defined? privateKey) ? privateKey : ""}
|
14
|
+
%p
|
15
|
+
Email = #{(defined? email) ? email : ""}
|
16
|
+
%p
|
17
|
+
Name = #{(defined? name) ? name : ""}
|
18
|
+
%p
|
19
|
+
Last Name = #{(defined? lastName) ? lastName : ""}
|
20
|
+
%p
|
21
|
+
%font{:color => "red"} #{(defined? err) ? err : ""}
|
22
|
+
%br/
|
23
|
+
#requestForm{:style => "padding:20px; border:1px solid black;"}
|
24
|
+
%p Enter data for request and press "Make request" button
|
25
|
+
%form{:action => "/sample21", :enctype => "multipart/form-data", :method => "post"}
|
26
|
+
%label{:for => "client_id"} GroupDocs ClientID
|
27
|
+
%br/
|
28
|
+
%input{:type=>"text", :name=>"client_id"}
|
29
|
+
%br/
|
30
|
+
%label{:for => "private_key"} GroupDocs PrivateKey
|
31
|
+
%br/
|
32
|
+
%input{:type=>"text", :name=>"private_key"}
|
33
|
+
%br/
|
34
|
+
%label{:for => "email"} Email
|
35
|
+
%br/
|
36
|
+
%input{:type=>"text", :name=>"email"}
|
37
|
+
%br/
|
38
|
+
%label{:for => "name"} Name
|
39
|
+
%br/
|
40
|
+
%input{:type=>"text", :name=>"name"}
|
41
|
+
%br/
|
42
|
+
%label{:for => "lastName"} Last Name
|
43
|
+
%br/
|
44
|
+
%input{:type=>"text", :name=>"lastName"}
|
45
|
+
%br/
|
46
|
+
%label{:for => "file"} File
|
47
|
+
%br/
|
48
|
+
%input{:name => "file", :type => "file"}/
|
49
|
+
%br/
|
50
|
+
%br/
|
51
|
+
%input{:type => "submit", :value => "Make request"}/
|
52
|
+
%div{:style => "padding:20px; border:1px solid black;"}
|
53
|
+
%p
|
54
|
+
Results:
|
55
|
+
%br/
|
56
|
+
#{(defined? iframe) ? iframe : ""}
|
57
|
+
|
58
|
+
%div{:style => "padding:10px;"}
|
59
|
+
Choose another one sample:
|
60
|
+
%ul
|
61
|
+
%li
|
62
|
+
%a{:href => "/sample1"} Sample1 - How to login to GroupDocs using the API
|
63
|
+
%li
|
64
|
+
%a{:href => "/sample2"} Sample2 - How to list files within GroupDocs Storage using the Storage API
|
65
|
+
%li
|
66
|
+
%a{:href => "/sample3"} Sample3 - How to upload a file to GroupDocs using the Storage API
|
67
|
+
%li
|
68
|
+
%a{:href => "/sample4"} Sample4 - How to download a file from GroupDocs Storage using the Storage API
|
69
|
+
%li
|
70
|
+
%a{:href => "/sample5"} Sample5 - How to copy / move a file using the GroupDocs Storage API
|
71
|
+
%li
|
72
|
+
%a{:href => "/sample6"} Sample6 - How to add a Signature to a document in GroupDocs Signature
|
73
|
+
%li
|
74
|
+
%a{:href => "/sample7"} Sample7 - How to create a list of thumbnails for a document
|
75
|
+
%li
|
76
|
+
%a{:href => "/sample8"} Sample8 - How to return a URL representing a single page of a Document
|
77
|
+
%li
|
78
|
+
%a{:href => "/sample9"} Sample9 - How to generate an embedded Viewer URL for a Document
|
79
|
+
%li
|
80
|
+
%a{:href => "/sample10"} Sample10 - How to share a document to other users
|
81
|
+
%li
|
82
|
+
%a{:href => "/sample11"}Sample11 - How programmatically create and post an annotation into document. How to delete the annotation
|
83
|
+
%li
|
84
|
+
%a{:href => "/sample12"}Sample12 - How to list all annotations from document
|
85
|
+
%li
|
86
|
+
%a{:href => "/sample13"}Sample13 - How to add collaborator to doc with annotations
|
87
|
+
%li
|
88
|
+
%a{:href => "/sample14"}Sample14 - How to check the list of shares for a folder
|
89
|
+
%li
|
90
|
+
%a{:href => "/sample15"}Sample15 - How to check the number of document's views
|
91
|
+
%li
|
92
|
+
%a{:href => "/sample16"}Sample16 - How to insert Assembly questionary into webpage
|
93
|
+
%li
|
94
|
+
%a{:href => "/sample17"}Sample17 - How to upload a file into the storage and compress it into zip archive
|
95
|
+
%li
|
96
|
+
%a{:href => "/sample18"}Sample18 - How to convert Doc to Docx, Docx to Doc, Docx to PDF, PPT to PDF
|
97
|
+
%li
|
98
|
+
%a{:href => "/sample19"}Sample19 - How to Compare documents using Ruby SDK
|
99
|
+
%li
|
100
|
+
%a{:href => "/sample20"}Sample20 - How to Get Compare Change list for document using Ruby SDK
|
101
|
+
%li
|
102
|
+
%a{:href => "/sample21"}Sample21 - How to Create and Upload Envelop to GroupDocs account using Ruby SDK
|
103
|
+
%li
|
104
|
+
%a{:href => "/sample22"}Sample22 - How create or update user and add him to collaborators using PHP SDK
|
105
|
+
%li
|
106
|
+
%a{:href => "/envelope-sample"}Envelope sample - How to use envelope and signature API
|