Skip to content

Commit a48bcd0

Browse files
authored
Merge pull request #85 from aspose-pdf-cloud/develop
update to 25.4
2 parents 288631d + 0550979 commit a48bcd0

File tree

13 files changed

+791
-8
lines changed

13 files changed

+791
-8
lines changed

.devcontainer/devcontainer.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,12 @@
1313
"workspaceMount": "source=${localWorkspaceFolder},target=/SDKs/Java,type=bind,consistency=cached",
1414
"mounts": [
1515
"source=${localWorkspaceFolder}/../../Settings,target=/Settings,type=bind,consistency=cached"
16-
]
16+
],
17+
"customizations": {
18+
"vscode": {
19+
"extensions": [
20+
"vscjava.vscode-java-pack"
21+
]
22+
}
23+
}
1724
}

README.md

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

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

3637
## Installation
@@ -55,7 +56,7 @@ Add this dependency to your project's POM:
5556
<dependency>
5657
<groupId>com.aspose</groupId>
5758
<artifactId>aspose-cloud-pdf</artifactId>
58-
<version>25.3.0</version>
59+
<version>25.4.0</version>
5960
<scope>compile</scope>
6061
</dependency>
6162
```
@@ -64,7 +65,7 @@ Add this dependency to your project's POM:
6465
Add this dependency to your project's build file:
6566

6667
```groovy
67-
compile "com.aspose:aspose-cloud-pdf:25.3.0"
68+
compile "com.aspose:aspose-cloud-pdf:25.4.0"
6869
```
6970

7071
### Others
@@ -74,7 +75,7 @@ At first generate the JAR by executing:
7475

7576
Then manually install the following JARs:
7677

77-
* target/aspose-cloud-pdf-25.3.0.jar
78+
* target/aspose-cloud-pdf-25.4.0.jar
7879
* target/lib/*.jar
7980

8081
## Getting Started

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 {

docs/ImageStampPageSpecified.md

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+

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

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+

gradlew

100644100755
File mode changed.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<artifactId>aspose-pdf-cloud</artifactId>
77
<packaging>jar</packaging>
88
<name>aspose-pdf-cloud</name>
9-
<version>25.3.0</version>
9+
<version>25.4.0</version>
1010
<url>https://www.aspose.cloud/</url>
1111
<description>Aspose.PDF Cloud is a REST API for creating and editing PDF files.
1212
Most popular features proposed by Aspose.PDF Cloud: PDF to Word, Convert PDF to Image, Merge PDF, Split PDF, Add Images to PDF, Rotate PDF.

src/main/java/com/aspose/asposecloudpdf/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", "java 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)