Skip to content

Commit 3a68493

Browse files
authored
Merge pull request #89 from aspose-pdf-cloud/develop
update to 25.4
2 parents 8095a55 + 4e70e41 commit 3a68493

File tree

10 files changed

+782
-6
lines changed

10 files changed

+782
-6
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ XLS, XLSX, PPTX, DOC, DOCX, MobiXML, JPEG, EMF, PNG, BMP, GIF, TIFF, Text
2929
## Read PDF Formats
3030
MHT, PCL, PS, XSLFO, MD
3131

32-
## Enhancements in Version 25.3
32+
## Enhancements in Version 25.4
33+
- Add method for adding Stamp per page in batch.
3334
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
3435

3536
## Requirements
@@ -57,7 +58,7 @@ Add this dependency to your project's POM:
5758
<dependency>
5859
<groupId>com.aspose</groupId>
5960
<artifactId>aspose-pdf-cloud-android</artifactId>
60-
<version>25.3.0</version>
61+
<version>25.4.0</version>
6162
<scope>compile</scope>
6263
</dependency>
6364
```
@@ -66,7 +67,7 @@ Add this dependency to your project's POM:
6667
Add this dependency to your project's build file:
6768

6869
```groovy
69-
compile "com.aspose:aspose-pdf-cloud-android:25.3.0"
70+
compile "com.aspose:aspose-pdf-cloud-android:25.4.0"
7071
```
7172

7273
### Others
@@ -76,7 +77,7 @@ At first generate the JAR by executing:
7677

7778
Then manually install the following JARs:
7879

79-
* target/aspose-pdf-cloud-android-25.3.0.jar
80+
* target/aspose-pdf-cloud-android-25.4.0.jar
8081
* target/lib/*.jar
8182

8283
## Getting Started

sdk/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ apply plugin: 'idea'
2020
apply plugin: 'eclipse'
2121

2222
group = 'com.aspose'
23-
version = '25.3.0'
23+
version = '25.4.0'
2424

2525
buildscript {
2626
repositories {
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
# ImageStampPageSpecified
3+
Represents Pdf stamps.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**pageNumber** | **Integer** | Page number. |
9+
**fileName** | **String** | Gets or sets the file name. | [optional]
10+
**width** | **Double** | Gets or sets image width. Setting this property allos to scal image horizontally. | [optional]
11+
**height** | **Double** | Gets or sets image height. Setting this image allows to scale image vertically. | [optional]
12+
**verticalAlignment** | [**VerticalAlignment**](VerticalAlignment.md) | Gets or sets vertical alignment of stamp on page. | [optional]
13+
**bottomMargin** | **Double** | Gets or sets bottom margin of stamp. | [optional]
14+
**leftMargin** | **Double** | Gets or sets left margin of stamp. | [optional]
15+
**topMargin** | **Double** | Gets or sets top margin of stamp. | [optional]
16+
**rightMargin** | **Double** | Gets or sets right margin of stamp. | [optional]
17+
**background** | **Boolean** | Sets or gets a bool value that indicates the content is stamped as background. If the value is true, the stamp content is layed at the bottom. By defalt, the value is false, the stamp content is layed at the top. | [optional]
18+
**horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets or sets Horizontal alignment of stamp on the page. | [optional]
19+
**opacity** | **Double** | Gets or sets a value to indicate the stamp opacity. The value is from 0.0 to 1.0. By default the value is 1.0. | [optional]
20+
**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according Rotation values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional]
21+
**rotateAngle** | **Double** | Gets or sets rotate angle of stamp in degrees. This property allows to set arbitrary rotate angle. | [optional]
22+
**xIndent** | **Double** | Horizontal stamp coordinate, starting from the left. | [optional]
23+
**yIndent** | **Double** | Vertical stamp coordinate, starting from the bottom. | [optional]
24+
**zoom** | **Double** | Zooming factor of the stamp. Allows to scale stamp. | [optional]
25+
**links** | [**List&lt;Link&gt;**](Link.md) | Link to the document. | [optional]
26+
27+
28+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
29+
30+

sdk/docs/PdfApi.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,13 @@ Method | HTTP request | Description
209209
[**postDocumentImageFooter**](PdfApi.md#postDocumentImageFooter) | **POST** /pdf/\{name}/footer/image | Add document image footer.
210210
[**postDocumentImageHeader**](PdfApi.md#postDocumentImageHeader) | **POST** /pdf/\{name}/header/image | Add document image header.
211211
[**postDocumentImageStamps**](PdfApi.md#postDocumentImageStamps) | **POST** /pdf/\{name}/stamps/image | Add document pages image stamps.
212+
[**postDocumentImageStampsPageSpecified**](PdfApi.md#postDocumentImageStampsPageSpecified) | **POST** /pdf/\{name}/stamps/image/pagespecified | Add document image stamps to specified pages.
212213
[**postDocumentPageNumberStamps**](PdfApi.md#postDocumentPageNumberStamps) | **POST** /pdf/\{name}/stamps/pagenumber | Add document page number stamps.
213214
[**postDocumentTextFooter**](PdfApi.md#postDocumentTextFooter) | **POST** /pdf/\{name}/footer/text | Add document text footer.
214215
[**postDocumentTextHeader**](PdfApi.md#postDocumentTextHeader) | **POST** /pdf/\{name}/header/text | Add document text header.
215216
[**postDocumentTextReplace**](PdfApi.md#postDocumentTextReplace) | **POST** /pdf/\{name}/text/replace | Document&#39;s replace text method.
216217
[**postDocumentTextStamps**](PdfApi.md#postDocumentTextStamps) | **POST** /pdf/\{name}/stamps/text | Add document pages text stamps.
218+
[**postDocumentTextStampsPageSpecified**](PdfApi.md#postDocumentTextStampsPageSpecified) | **POST** /pdf/\{name}/stamps/text/pagespecified | Add document text stamps to specified pages.
217219
[**postEncryptDocumentInStorage**](PdfApi.md#postEncryptDocumentInStorage) | **POST** /pdf/\{name}/encrypt | Encrypt document in storage.
218220
[**postFlattenDocument**](PdfApi.md#postFlattenDocument) | **POST** /pdf/\{name}/flatten | Flatten the document.
219221
[**postHtmlToPdf**](PdfApi.md#postHtmlToPdf) | **POST** /pdf/create/html | Convert HTML file (zip archive in request content) to PDF format and return resulting file in response.
@@ -5362,6 +5364,31 @@ Name | Type | Description | Notes
53625364

53635365
[**AsposeResponse**](AsposeResponse.md)
53645366

5367+
### HTTP request headers
5368+
5369+
- **Content-Type**: application/json
5370+
- **Accept**: application/json
5371+
5372+
<a name="postDocumentImageStampsPageSpecified"></a>
5373+
# **postDocumentImageStampsPageSpecified**
5374+
> AsposeResponse postDocumentImageStampsPageSpecified(name, stamps, storage, folder, password)
5375+
5376+
Add document image stamps to specified pages.
5377+
5378+
### Parameters
5379+
5380+
Name | Type | Description | Notes
5381+
------------- | ------------- | ------------- | -------------
5382+
**name** | **String**| The document name. |
5383+
**stamps** | [**List&lt;ImageStampPageSpecified&gt;**](ImageStampPageSpecified.md)| The array of stamps. |
5384+
**storage** | **String**| The document storage. | [optional]
5385+
**folder** | **String**| The document folder. | [optional]
5386+
**password** | **String**| Base64 encoded password. | [optional]
5387+
5388+
### Return type
5389+
5390+
[**AsposeResponse**](AsposeResponse.md)
5391+
53655392
### HTTP request headers
53665393

53675394
- **Content-Type**: application/json
@@ -5490,6 +5517,31 @@ Name | Type | Description | Notes
54905517

54915518
[**AsposeResponse**](AsposeResponse.md)
54925519

5520+
### HTTP request headers
5521+
5522+
- **Content-Type**: application/json
5523+
- **Accept**: application/json
5524+
5525+
<a name="postDocumentTextStampsPageSpecified"></a>
5526+
# **postDocumentTextStampsPageSpecified**
5527+
> AsposeResponse postDocumentTextStampsPageSpecified(name, stamps, storage, folder, password)
5528+
5529+
Add document text stamps to specified pages.
5530+
5531+
### Parameters
5532+
5533+
Name | Type | Description | Notes
5534+
------------- | ------------- | ------------- | -------------
5535+
**name** | **String**| The document name. |
5536+
**stamps** | [**List&lt;TextStampPageSpecified&gt;**](TextStampPageSpecified.md)| The array of stamps. |
5537+
**storage** | **String**| The document storage. | [optional]
5538+
**folder** | **String**| The document folder. | [optional]
5539+
**password** | **String**| Base64 encoded password. | [optional]
5540+
5541+
### Return type
5542+
5543+
[**AsposeResponse**](AsposeResponse.md)
5544+
54935545
### HTTP request headers
54945546

54955547
- **Content-Type**: application/json

sdk/docs/TextStampPageSpecified.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
# TextStampPageSpecified
3+
Represents Pdf stamps.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**pageNumber** | **Integer** | Page number. |
9+
**textAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Alignment of the text inside the stamp. | [optional]
10+
**value** | **String** | Gets or sets string value which is used as stamp on the page. | [optional]
11+
**textState** | [**TextState**](TextState.md) | Gets text properties of the stamp. See TextState for details. | [optional]
12+
**verticalAlignment** | [**VerticalAlignment**](VerticalAlignment.md) | Gets or sets vertical alignment of stamp on page. | [optional]
13+
**bottomMargin** | **Double** | Gets or sets bottom margin of stamp. | [optional]
14+
**leftMargin** | **Double** | Gets or sets left margin of stamp. | [optional]
15+
**topMargin** | **Double** | Gets or sets top margin of stamp. | [optional]
16+
**rightMargin** | **Double** | Gets or sets right margin of stamp. | [optional]
17+
**background** | **Boolean** | Sets or gets a bool value that indicates the content is stamped as background. If the value is true, the stamp content is layed at the bottom. By defalt, the value is false, the stamp content is layed at the top. | [optional]
18+
**horizontalAlignment** | [**HorizontalAlignment**](HorizontalAlignment.md) | Gets or sets Horizontal alignment of stamp on the page. | [optional]
19+
**opacity** | **Double** | Gets or sets a value to indicate the stamp opacity. The value is from 0.0 to 1.0. By default the value is 1.0. | [optional]
20+
**rotate** | [**Rotation**](Rotation.md) | Sets or gets the rotation of stamp content according Rotation values. Note. This property is for set angles which are multiples of 90 degrees (0, 90, 180, 270 degrees). To set arbitrary angle use RotateAngle property. If angle set by ArbitraryAngle is not multiple of 90 then Rotate property returns Rotation.None. | [optional]
21+
**rotateAngle** | **Double** | Gets or sets rotate angle of stamp in degrees. This property allows to set arbitrary rotate angle. | [optional]
22+
**xIndent** | **Double** | Horizontal stamp coordinate, starting from the left. | [optional]
23+
**yIndent** | **Double** | Vertical stamp coordinate, starting from the bottom. | [optional]
24+
**zoom** | **Double** | Zooming factor of the stamp. Allows to scale stamp. | [optional]
25+
**links** | [**List&lt;Link&gt;**](Link.md) | Link to the document. | [optional]
26+
27+
28+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
29+
30+

sdk/src/main/java/com/aspose/asposecloudpdfandroid/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public ApiClient() {
9494

9595
// Add custom headers
9696
addDefaultHeader("x-aspose-client", "android sdk");
97-
addDefaultHeader("x-aspose-client-version", "25.3.0");
97+
addDefaultHeader("x-aspose-client-version", "25.4.0");
9898

9999
// PDFCLOUD-418 Set default Connect Timeout
100100
setConnectTimeout(5 * 60 * 1000);

0 commit comments

Comments
 (0)