aspose_html_cloud 22.9.1 → 22.10.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0ee38be8e80fbbf3b5471460173be7545102079954bdb387f0243000de77819
4
- data.tar.gz: 2d79ec884dbea3dcd875b1fc499e89642d3528d47ee97e79e7cc1600abe863e5
3
+ metadata.gz: b84dff5e029232e46970d82ad5f3802ec49e338808ce8ba822668cc6a00fbacf
4
+ data.tar.gz: 475b5eaa882a5b97c44053f9d98853c6d49af395acedeee9dd96976499bfe81c
5
5
  SHA512:
6
- metadata.gz: 58e35fcbf539b7b950b4cc8c2d599b1ad5b8b6567a3fb3e0db2bb9110f38e975ed5890eb6081c20805b276be5caa87a5edfe6af0291b3fbbb9878f472d5b974e
7
- data.tar.gz: fa33b97b8268c0e3d809855f009f097c4de51c5f54addc9f0b8eca2bd3facf03fd527bca316838f1e4d9eed3e777c45a79a3b9c909c543b5bfc5cdec40b85d9b
6
+ metadata.gz: 2ab8fe2f13529a99780fb5f144f469232e6088019a1001f1f3b207a541091abbc82222b3ed1fc91ee28915349baef88568f4560a295d63af4ff8e63b26872024
7
+ data.tar.gz: fb4ba274dff2bc84934e3f6c9680e94fe94f2c71f3e6cdb9dc0e5ed7dbebf377c01cc442e544b5e92df76039ea6a2bd6002a633dca5cb78cf502e744d1d329a7
@@ -44,13 +44,12 @@ module AsposeHtml
44
44
  # @param src Full path to source file.
45
45
  # @param dst Full path to a result file (pdf, xps, docx, md, mhtml, jpeg, png, bmp, tiff, gif).
46
46
  # @param [Hash] options the optional parameters
47
- # @option options [Integer] :width Resulting image width.
48
- # @option opts [Integer] :height Resulting image height.
49
- # @option opts [Integer] :left_margin Left resulting image margin.
50
- # @option opts [Integer] :right_margin Right resulting image margin.
51
- # @option opts [Integer] :top_margin Top resulting image margin.
52
- # @option opts [Integer] :bottom_margin Bottom resulting image margin.
53
- # @option opts [Integer] :resolution Resolution of resulting image.
47
+ # @option options [Double] :width Resulting width. For images in pixels, for PDF, XPS, DOCX in inches.
48
+ # @option options [Double] :height Resulting height. For images in pixels, for PDF, XPS, DOCX in inches.
49
+ # @option options [Double] :left_margin Left resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
50
+ # @option options [Double] :right_margin Right resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
51
+ # @option options [Double] :top_margin Top resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
52
+ # @option options [Double] :bottom_margin Bottom resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
54
53
  # @return [ConversionResult] Result of conversion. See ConversionResult object.
55
54
  def convert_local_to_local(src, dst, options = nil)
56
55
  return convert(src, dst, true, true, false, options)
@@ -62,13 +61,12 @@ module AsposeHtml
62
61
  # @param dst Full path to a result file (pdf, xps, docx, md, mhtml, jpeg, png, bmp, tiff, gif).
63
62
  # @param storage Storage name. Default storage is nil.
64
63
  # @param [Hash] options the optional parameters
65
- # @option options [Integer] :width Resulting image width.
66
- # @option opts [Integer] :height Resulting image height.
67
- # @option opts [Integer] :left_margin Left resulting image margin.
68
- # @option opts [Integer] :right_margin Right resulting image margin.
69
- # @option opts [Integer] :top_margin Top resulting image margin.
70
- # @option opts [Integer] :bottom_margin Bottom resulting image margin.
71
- # @option opts [Integer] :resolution Resolution of resulting image.
64
+ # @option options [Double] :width Resulting width. For images in pixels, for PDF, XPS, DOCX in inches.
65
+ # @option options [Double] :height Resulting height. For images in pixels, for PDF, XPS, DOCX in inches.
66
+ # @option options [Double] :left_margin Left resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
67
+ # @option options [Double] :right_margin Right resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
68
+ # @option options [Double] :top_margin Top resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
69
+ # @option options [Double] :bottom_margin Bottom resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
72
70
  # @return [ConversionResult] Result of conversion. See ConversionResult object.
73
71
  def convert_local_to_storage(src, dst, storage, options=nil)
74
72
  return convert(src, dst, true, false, false, options, storage)
@@ -80,13 +78,12 @@ module AsposeHtml
80
78
  # @param dst Full path to a result file (pdf, xps, docx, md, mhtml, jpeg, png, bmp, tiff, gif).
81
79
  # @param storage Storage name. Default storage is nil.
82
80
  # @param [Hash] options the optional parameters
83
- # @option options [Integer] :width Resulting image width.
84
- # @option opts [Integer] :height Resulting image height.
85
- # @option opts [Integer] :left_margin Left resulting image margin.
86
- # @option opts [Integer] :right_margin Right resulting image margin.
87
- # @option opts [Integer] :top_margin Top resulting image margin.
88
- # @option opts [Integer] :bottom_margin Bottom resulting image margin.
89
- # @option opts [Integer] :resolution Resolution of resulting image.
81
+ # @option options [Double] :width Resulting width. For images in pixels, for PDF, XPS, DOCX in inches.
82
+ # @option options [Double] :height Resulting height. For images in pixels, for PDF, XPS, DOCX in inches.
83
+ # @option options [Double] :left_margin Left resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
84
+ # @option options [Double] :right_margin Right resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
85
+ # @option options [Double] :top_margin Top resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
86
+ # @option options [Double] :bottom_margin Bottom resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
90
87
  # @return [ConversionResult] Result of conversion. See ConversionResult object.
91
88
  def convert_storage_to_local(src, dst, storage, options=nil)
92
89
  return convert(src, dst, false, true, false, options, storage)
@@ -98,13 +95,12 @@ module AsposeHtml
98
95
  # @param dst Full path to a result file (pdf, xps, docx, md, mhtml, jpeg, png, bmp, tiff, gif).
99
96
  # @param storage Storage name. Default storage is nil.
100
97
  # @param [Hash] options the optional parameters
101
- # @option options [Integer] :width Resulting image width.
102
- # @option opts [Integer] :height Resulting image height.
103
- # @option opts [Integer] :left_margin Left resulting image margin.
104
- # @option opts [Integer] :right_margin Right resulting image margin.
105
- # @option opts [Integer] :top_margin Top resulting image margin.
106
- # @option opts [Integer] :bottom_margin Bottom resulting image margin.
107
- # @option opts [Integer] :resolution Resolution of resulting image.
98
+ # @option options [Double] :width Resulting width. For images in pixels, for PDF, XPS, DOCX in inches.
99
+ # @option options [Double] :height Resulting height. For images in pixels, for PDF, XPS, DOCX in inches.
100
+ # @option options [Double] :left_margin Left resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
101
+ # @option options [Double] :right_margin Right resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
102
+ # @option options [Double] :top_margin Top resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
103
+ # @option options [Double] :bottom_margin Bottom resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
108
104
  # @return [ConversionResult] Result of conversion. See ConversionResult object.
109
105
  def convert_storage_to_storage(src, dst, storage, options=nil)
110
106
  return convert(src, dst, false, false, false, options, storage)
@@ -115,13 +111,12 @@ module AsposeHtml
115
111
  # @param src URI of the website.
116
112
  # @param dst Full path to a result file (pdf, xps, docx, md, mhtml, jpeg, png, bmp, tiff, gif).
117
113
  # @param [Hash] options the optional parameters
118
- # @option options [Integer] :width Resulting image width.
119
- # @option opts [Integer] :height Resulting image height.
120
- # @option opts [Integer] :left_margin Left resulting image margin.
121
- # @option opts [Integer] :right_margin Right resulting image margin.
122
- # @option opts [Integer] :top_margin Top resulting image margin.
123
- # @option opts [Integer] :bottom_margin Bottom resulting image margin.
124
- # @option opts [Integer] :resolution Resolution of resulting image.
114
+ # @option options [Double] :width Resulting width. For images in pixels, for PDF, XPS, DOCX in inches.
115
+ # @option options [Double] :height Resulting height. For images in pixels, for PDF, XPS, DOCX in inches.
116
+ # @option options [Double] :left_margin Left resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
117
+ # @option options [Double] :right_margin Right resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
118
+ # @option options [Double] :top_margin Top resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
119
+ # @option options [Double] :bottom_margin Bottom resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
125
120
  # @return [ConversionResult] Result of conversion. See ConversionResult object.
126
121
  def convert_url_to_local(src, dst, options=nil)
127
122
  return convert(src, dst, false, true, true, options)
@@ -133,13 +128,12 @@ module AsposeHtml
133
128
  # @param dst Full path to a result file (pdf, xps, docx, md, mhtml, jpeg, png, bmp, tiff, gif).
134
129
  # @param storage Storage name. Default storage is nil.
135
130
  # @param [Hash] options the optional parameters
136
- # @option options [Integer] :width Resulting image width.
137
- # @option opts [Integer] :height Resulting image height.
138
- # @option opts [Integer] :left_margin Left resulting image margin.
139
- # @option opts [Integer] :right_margin Right resulting image margin.
140
- # @option opts [Integer] :top_margin Top resulting image margin.
141
- # @option opts [Integer] :bottom_margin Bottom resulting image margin.
142
- # @option opts [Integer] :resolution Resolution of resulting image.
131
+ # @option options [Double] :width Resulting width. For images in pixels, for PDF, XPS, DOCX in inches.
132
+ # @option options [Double] :height Resulting height. For images in pixels, for PDF, XPS, DOCX in inches.
133
+ # @option options [Double] :left_margin Left resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
134
+ # @option options [Double] :right_margin Right resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
135
+ # @option options [Double] :top_margin Top resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
136
+ # @option options [Double] :bottom_margin Bottom resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
143
137
  # @return [ConversionResult] Result of conversion. See ConversionResult object.
144
138
  def convert_url_to_storage(src, dst, storage, options=nil)
145
139
  return convert(src, dst, false, false, true, options, storage)
@@ -153,13 +147,12 @@ module AsposeHtml
153
147
  # @param dst_in_local Flag, true if result in the local file.
154
148
  # @param is_url Flag, true if source is website.
155
149
  # @param [Hash] options the optional parameters
156
- # @option options [Integer] :width Resulting image width.
157
- # @option opts [Integer] :height Resulting image height.
158
- # @option opts [Integer] :left_margin Left resulting image margin.
159
- # @option opts [Integer] :right_margin Right resulting image margin.
160
- # @option opts [Integer] :top_margin Top resulting image margin.
161
- # @option opts [Integer] :bottom_margin Bottom resulting image margin.
162
- # @option opts [Integer] :resolution Resolution of resulting image.
150
+ # @option options [Double] :width Resulting width. For images in pixels, for PDF, XPS, DOCX in inches.
151
+ # @option options [Double] :height Resulting height. For images in pixels, for PDF, XPS, DOCX in inches.
152
+ # @option options [Double] :left_margin Left resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
153
+ # @option options [Double] :right_margin Right resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
154
+ # @option options [Double] :top_margin Top resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
155
+ # @option options [Double] :bottom_margin Bottom resulting margin. For images in pixels, for PDF, XPS, DOCX in inches.
163
156
  # @param storage_name Storage name. Default storage is nil.
164
157
  # @return [ConversionResult] Result of conversion. See ConversionResult object.
165
158
  def convert(src, dst, src_in_local, dst_in_local, is_url, options=nil, storage_name=nil)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspose_html_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 22.9.1
4
+ version: 22.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Makogon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-15 00:00:00.000000000 Z
11
+ date: 2022-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus