Skip to content

Commit 07a69d5

Browse files
Merge pull request #16 from kaferi/master
Update to v19.4
2 parents 770e2a1 + 67612fd commit 07a69d5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+10464
-1841
lines changed

README.md

Lines changed: 32 additions & 2 deletions
Large diffs are not rendered by default.

asposepdfcloud/__init__.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,18 @@
3737
from .models.antialiasing_processing_type import AntialiasingProcessingType
3838
from .models.append_document import AppendDocument
3939
from .models.aspose_response import AsposeResponse
40+
from .models.border_corner_style import BorderCornerStyle
41+
from .models.border_info import BorderInfo
4042
from .models.cap_style import CapStyle
4143
from .models.caption_position import CaptionPosition
4244
from .models.caret_symbol import CaretSymbol
45+
from .models.cell import Cell
4346
from .models.cell_recognized import CellRecognized
4447
from .models.color import Color
4548
from .models.color_depth import ColorDepth
49+
from .models.column_adjustment import ColumnAdjustment
4650
from .models.compression_type import CompressionType
51+
from .models.crypto_algorithm import CryptoAlgorithm
4752
from .models.disc_usage import DiscUsage
4853
from .models.doc_format import DocFormat
4954
from .models.doc_recognition_mode import DocRecognitionMode
@@ -57,6 +62,7 @@
5762
from .models.font_saving_modes import FontSavingModes
5863
from .models.font_styles import FontStyles
5964
from .models.free_text_intent import FreeTextIntent
65+
from .models.graph_info import GraphInfo
6066
from .models.horizontal_alignment import HorizontalAlignment
6167
from .models.html_document_type import HtmlDocumentType
6268
from .models.html_markup_generation_modes import HtmlMarkupGenerationModes
@@ -79,12 +85,14 @@
7985
from .models.paragraph import Paragraph
8086
from .models.parts_embedding_modes import PartsEmbeddingModes
8187
from .models.pdf_a_type import PdfAType
88+
from .models.permissions_flags import PermissionsFlags
8289
from .models.point import Point
8390
from .models.poly_intent import PolyIntent
8491
from .models.position import Position
8592
from .models.raster_images_saving_modes import RasterImagesSavingModes
8693
from .models.rectangle import Rectangle
8794
from .models.rotation import Rotation
95+
from .models.row import Row
8896
from .models.row_recognized import RowRecognized
8997
from .models.segment import Segment
9098
from .models.shape_type import ShapeType
@@ -96,6 +104,7 @@
96104
from .models.stamp import Stamp
97105
from .models.stamp_icon import StampIcon
98106
from .models.stamp_type import StampType
107+
from .models.table_broken import TableBroken
99108
from .models.text_horizontal_alignment import TextHorizontalAlignment
100109
from .models.text_icon import TextIcon
101110
from .models.text_line import TextLine
@@ -204,6 +213,7 @@
204213
from .models.strike_out_annotation_response import StrikeOutAnnotationResponse
205214
from .models.strike_out_annotations import StrikeOutAnnotations
206215
from .models.strike_out_annotations_response import StrikeOutAnnotationsResponse
216+
from .models.table import Table
207217
from .models.table_recognized import TableRecognized
208218
from .models.table_recognized_response import TableRecognizedResponse
209219
from .models.tables_recognized import TablesRecognized
@@ -218,13 +228,18 @@
218228
from .models.underline_annotations_response import UnderlineAnnotationsResponse
219229
from .models.word_count_response import WordCountResponse
220230
from .models.annotation_info import AnnotationInfo
231+
from .models.image_footer import ImageFooter
232+
from .models.image_header import ImageHeader
221233
from .models.image_stamp import ImageStamp
222234
from .models.markup_annotation import MarkupAnnotation
223235
from .models.movie_annotation import MovieAnnotation
236+
from .models.page_number_stamp import PageNumberStamp
224237
from .models.pdf_page_stamp import PdfPageStamp
225238
from .models.popup_annotation import PopupAnnotation
226239
from .models.redaction_annotation import RedactionAnnotation
227240
from .models.screen_annotation import ScreenAnnotation
241+
from .models.text_footer import TextFooter
242+
from .models.text_header import TextHeader
228243
from .models.text_stamp import TextStamp
229244
from .models.caret_annotation import CaretAnnotation
230245
from .models.common_figure_annotation import CommonFigureAnnotation

asposepdfcloud/apis/pdf_api.py

Lines changed: 3140 additions & 1190 deletions
Large diffs are not rendered by default.

asposepdfcloud/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,5 +202,5 @@ def to_debug_report(self):
202202
"OS: {env}\n"\
203203
"Python Version: {pyversion}\n"\
204204
"Version of the API: 2.0\n"\
205-
"SDK Package Version: 19.3.0".\
205+
"SDK Package Version: 19.4.0".\
206206
format(env=sys.platform, pyversion=sys.version)

asposepdfcloud/models/__init__.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,18 @@
3737
from .antialiasing_processing_type import AntialiasingProcessingType
3838
from .append_document import AppendDocument
3939
from .aspose_response import AsposeResponse
40+
from .border_corner_style import BorderCornerStyle
41+
from .border_info import BorderInfo
4042
from .cap_style import CapStyle
4143
from .caption_position import CaptionPosition
4244
from .caret_symbol import CaretSymbol
45+
from .cell import Cell
4346
from .cell_recognized import CellRecognized
4447
from .color import Color
4548
from .color_depth import ColorDepth
49+
from .column_adjustment import ColumnAdjustment
4650
from .compression_type import CompressionType
51+
from .crypto_algorithm import CryptoAlgorithm
4752
from .disc_usage import DiscUsage
4853
from .doc_format import DocFormat
4954
from .doc_recognition_mode import DocRecognitionMode
@@ -57,6 +62,7 @@
5762
from .font_saving_modes import FontSavingModes
5863
from .font_styles import FontStyles
5964
from .free_text_intent import FreeTextIntent
65+
from .graph_info import GraphInfo
6066
from .horizontal_alignment import HorizontalAlignment
6167
from .html_document_type import HtmlDocumentType
6268
from .html_markup_generation_modes import HtmlMarkupGenerationModes
@@ -79,12 +85,14 @@
7985
from .paragraph import Paragraph
8086
from .parts_embedding_modes import PartsEmbeddingModes
8187
from .pdf_a_type import PdfAType
88+
from .permissions_flags import PermissionsFlags
8289
from .point import Point
8390
from .poly_intent import PolyIntent
8491
from .position import Position
8592
from .raster_images_saving_modes import RasterImagesSavingModes
8693
from .rectangle import Rectangle
8794
from .rotation import Rotation
95+
from .row import Row
8896
from .row_recognized import RowRecognized
8997
from .segment import Segment
9098
from .shape_type import ShapeType
@@ -96,6 +104,7 @@
96104
from .stamp import Stamp
97105
from .stamp_icon import StampIcon
98106
from .stamp_type import StampType
107+
from .table_broken import TableBroken
99108
from .text_horizontal_alignment import TextHorizontalAlignment
100109
from .text_icon import TextIcon
101110
from .text_line import TextLine
@@ -204,6 +213,7 @@
204213
from .strike_out_annotation_response import StrikeOutAnnotationResponse
205214
from .strike_out_annotations import StrikeOutAnnotations
206215
from .strike_out_annotations_response import StrikeOutAnnotationsResponse
216+
from .table import Table
207217
from .table_recognized import TableRecognized
208218
from .table_recognized_response import TableRecognizedResponse
209219
from .tables_recognized import TablesRecognized
@@ -218,13 +228,18 @@
218228
from .underline_annotations_response import UnderlineAnnotationsResponse
219229
from .word_count_response import WordCountResponse
220230
from .annotation_info import AnnotationInfo
231+
from .image_footer import ImageFooter
232+
from .image_header import ImageHeader
221233
from .image_stamp import ImageStamp
222234
from .markup_annotation import MarkupAnnotation
223235
from .movie_annotation import MovieAnnotation
236+
from .page_number_stamp import PageNumberStamp
224237
from .pdf_page_stamp import PdfPageStamp
225238
from .popup_annotation import PopupAnnotation
226239
from .redaction_annotation import RedactionAnnotation
227240
from .screen_annotation import ScreenAnnotation
241+
from .text_footer import TextFooter
242+
from .text_header import TextHeader
228243
from .text_stamp import TextStamp
229244
from .caret_annotation import CaretAnnotation
230245
from .common_figure_annotation import CommonFigureAnnotation
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
# coding: utf-8
2+
3+
"""
4+
Aspose.PDF Cloud API Reference
5+
6+
7+
Copyright (c) 2019 Aspose.PDF Cloud
8+
Permission is hereby granted, free of charge, to any person obtaining a copy
9+
of this software and associated documentation files (the "Software"), to deal
10+
in the Software without restriction, including without limitation the rights
11+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
copies of the Software, and to permit persons to whom the Software is
13+
furnished to do so, subject to the following conditions:
14+
The above copyright notice and this permission notice shall be included in all
15+
copies or substantial portions of the Software.
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
SOFTWARE.
23+
24+
25+
26+
OpenAPI spec version: 2.0
27+
28+
"""
29+
30+
31+
from pprint import pformat
32+
from six import iteritems
33+
import re
34+
35+
36+
class BorderCornerStyle(object):
37+
"""
38+
NOTE: This class is auto generated by the swagger code generator program.
39+
Do not edit the class manually.
40+
"""
41+
42+
"""
43+
allowed enum values
44+
"""
45+
NONE = "None"
46+
ROUND = "Round"
47+
48+
"""
49+
Attributes:
50+
swagger_types (dict): The key is attribute name
51+
and the value is attribute type.
52+
attribute_map (dict): The key is attribute name
53+
and the value is json key in definition.
54+
"""
55+
swagger_types = {
56+
57+
}
58+
59+
attribute_map = {
60+
61+
}
62+
63+
def __init__(self):
64+
"""
65+
BorderCornerStyle - a model defined in Swagger
66+
"""
67+
68+
69+
70+
def to_dict(self):
71+
"""
72+
Returns the model properties as a dict
73+
"""
74+
result = {}
75+
76+
for attr, _ in iteritems(self.swagger_types):
77+
value = getattr(self, attr)
78+
if isinstance(value, list):
79+
result[attr] = list(map(
80+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
81+
value
82+
))
83+
elif hasattr(value, "to_dict"):
84+
result[attr] = value.to_dict()
85+
elif isinstance(value, dict):
86+
result[attr] = dict(map(
87+
lambda item: (item[0], item[1].to_dict())
88+
if hasattr(item[1], "to_dict") else item,
89+
value.items()
90+
))
91+
else:
92+
result[attr] = value
93+
94+
return result
95+
96+
def to_str(self):
97+
"""
98+
Returns the string representation of the model
99+
"""
100+
return pformat(self.to_dict())
101+
102+
def __repr__(self):
103+
"""
104+
For `print` and `pprint`
105+
"""
106+
return self.to_str()
107+
108+
def __eq__(self, other):
109+
"""
110+
Returns true if both objects are equal
111+
"""
112+
if not isinstance(other, BorderCornerStyle):
113+
return False
114+
115+
return self.__dict__ == other.__dict__
116+
117+
def __ne__(self, other):
118+
"""
119+
Returns true if both objects are not equal
120+
"""
121+
return not self == other

0 commit comments

Comments
 (0)