Skip to content

Commit fb61d9b

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents 4a05010 + 5e66d8d commit fb61d9b

38 files changed

+2715
-1
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ Feel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/w
1717
- Read & write access to Document Object Model.
1818
- Thread safe
1919

20+
## Enhancements in Version 24.9
21+
22+
- Added digital signature methds for DOC, DOCX, XPS, or ODT documents.
23+
- Added ReplaceBackslashWithYenSign property for XpsSaveOptions and HtmlSaveOptions.
24+
- Added DigitalSignature property for XpsSaveOptions.
25+
- Added UseSdtTagAsFormFieldName property for PdfSaveOptions.
26+
- Added MergeWholeDocument parameter to the MailMerge operations to update fields in whole document after executing of a mail merge with regions.
27+
28+
2029
## Enhancements in Version 24.8
2130

2231
- Added the support of OpenType standard. It is usefull for languages required advanced typography.

include/aspose_words_cloud.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
#include "./aspose_words_cloud/models/custom_xml_parts_collection.h"
6868
#include "./aspose_words_cloud/models/custom_xml_parts_response.h"
6969
#include "./aspose_words_cloud/models/custom_xml_part_update.h"
70+
#include "./aspose_words_cloud/models/digital_signature_details.h"
7071
#include "./aspose_words_cloud/models/docm_save_options_data.h"
7172
#include "./aspose_words_cloud/models/doc_save_options_data.h"
7273
#include "./aspose_words_cloud/models/document.h"
@@ -246,6 +247,9 @@
246247
#include "./aspose_words_cloud/models/section_page_setup_response.h"
247248
#include "./aspose_words_cloud/models/section_response.h"
248249
#include "./aspose_words_cloud/models/shading.h"
250+
#include "./aspose_words_cloud/models/signature.h"
251+
#include "./aspose_words_cloud/models/signature_collection_response.h"
252+
#include "./aspose_words_cloud/models/sign_options.h"
249253
#include "./aspose_words_cloud/models/split_document_response.h"
250254
#include "./aspose_words_cloud/models/split_document_result.h"
251255
#include "./aspose_words_cloud/models/stat_data_response.h"
@@ -494,6 +498,8 @@
494498
#include "./aspose_words_cloud/requests/get_section_page_setup_online_request.h"
495499
#include "./aspose_words_cloud/requests/get_sections_request.h"
496500
#include "./aspose_words_cloud/requests/get_sections_online_request.h"
501+
#include "./aspose_words_cloud/requests/get_signatures_request.h"
502+
#include "./aspose_words_cloud/requests/get_signatures_online_request.h"
497503
#include "./aspose_words_cloud/requests/get_structured_document_tag_request.h"
498504
#include "./aspose_words_cloud/requests/get_structured_document_tag_online_request.h"
499505
#include "./aspose_words_cloud/requests/get_structured_document_tags_request.h"
@@ -574,6 +580,8 @@
574580
#include "./aspose_words_cloud/requests/protect_document_online_request.h"
575581
#include "./aspose_words_cloud/requests/reject_all_revisions_request.h"
576582
#include "./aspose_words_cloud/requests/reject_all_revisions_online_request.h"
583+
#include "./aspose_words_cloud/requests/remove_all_signatures_request.h"
584+
#include "./aspose_words_cloud/requests/remove_all_signatures_online_request.h"
577585
#include "./aspose_words_cloud/requests/remove_range_request.h"
578586
#include "./aspose_words_cloud/requests/remove_range_online_request.h"
579587
#include "./aspose_words_cloud/requests/render_drawing_object_request.h"
@@ -599,6 +607,8 @@
599607
#include "./aspose_words_cloud/requests/save_as_tiff_online_request.h"
600608
#include "./aspose_words_cloud/requests/search_request.h"
601609
#include "./aspose_words_cloud/requests/search_online_request.h"
610+
#include "./aspose_words_cloud/requests/sign_document_request.h"
611+
#include "./aspose_words_cloud/requests/sign_document_online_request.h"
602612
#include "./aspose_words_cloud/requests/split_document_request.h"
603613
#include "./aspose_words_cloud/requests/split_document_online_request.h"
604614
#include "./aspose_words_cloud/requests/translate_node_id_request.h"
@@ -833,6 +843,8 @@
833843
#include "./aspose_words_cloud/responses/get_section_page_setup_online_response.h"
834844
#include "./aspose_words_cloud/responses/get_sections_response.h"
835845
#include "./aspose_words_cloud/responses/get_sections_online_response.h"
846+
#include "./aspose_words_cloud/responses/get_signatures_response.h"
847+
#include "./aspose_words_cloud/responses/get_signatures_online_response.h"
836848
#include "./aspose_words_cloud/responses/get_structured_document_tag_response.h"
837849
#include "./aspose_words_cloud/responses/get_structured_document_tag_online_response.h"
838850
#include "./aspose_words_cloud/responses/get_structured_document_tags_response.h"
@@ -913,6 +925,8 @@
913925
#include "./aspose_words_cloud/responses/protect_document_online_response.h"
914926
#include "./aspose_words_cloud/responses/reject_all_revisions_response.h"
915927
#include "./aspose_words_cloud/responses/reject_all_revisions_online_response.h"
928+
#include "./aspose_words_cloud/responses/remove_all_signatures_response.h"
929+
#include "./aspose_words_cloud/responses/remove_all_signatures_online_response.h"
916930
#include "./aspose_words_cloud/responses/remove_range_response.h"
917931
#include "./aspose_words_cloud/responses/remove_range_online_response.h"
918932
#include "./aspose_words_cloud/responses/render_drawing_object_response.h"
@@ -938,6 +952,8 @@
938952
#include "./aspose_words_cloud/responses/save_as_tiff_online_response.h"
939953
#include "./aspose_words_cloud/responses/search_response.h"
940954
#include "./aspose_words_cloud/responses/search_online_response.h"
955+
#include "./aspose_words_cloud/responses/sign_document_response.h"
956+
#include "./aspose_words_cloud/responses/sign_document_online_response.h"
941957
#include "./aspose_words_cloud/responses/split_document_response.h"
942958
#include "./aspose_words_cloud/responses/split_document_online_response.h"
943959
#include "./aspose_words_cloud/responses/translate_node_id_response.h"

include/aspose_words_cloud/api/words_api.h

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,10 @@
397397
#include "aspose_words_cloud/responses/get_sections_response.h"
398398
#include "aspose_words_cloud/requests/get_sections_online_request.h"
399399
#include "aspose_words_cloud/responses/get_sections_online_response.h"
400+
#include "aspose_words_cloud/requests/get_signatures_request.h"
401+
#include "aspose_words_cloud/responses/get_signatures_response.h"
402+
#include "aspose_words_cloud/requests/get_signatures_online_request.h"
403+
#include "aspose_words_cloud/responses/get_signatures_online_response.h"
400404
#include "aspose_words_cloud/requests/get_structured_document_tag_request.h"
401405
#include "aspose_words_cloud/responses/get_structured_document_tag_response.h"
402406
#include "aspose_words_cloud/requests/get_structured_document_tag_online_request.h"
@@ -557,6 +561,10 @@
557561
#include "aspose_words_cloud/responses/reject_all_revisions_response.h"
558562
#include "aspose_words_cloud/requests/reject_all_revisions_online_request.h"
559563
#include "aspose_words_cloud/responses/reject_all_revisions_online_response.h"
564+
#include "aspose_words_cloud/requests/remove_all_signatures_request.h"
565+
#include "aspose_words_cloud/responses/remove_all_signatures_response.h"
566+
#include "aspose_words_cloud/requests/remove_all_signatures_online_request.h"
567+
#include "aspose_words_cloud/responses/remove_all_signatures_online_response.h"
560568
#include "aspose_words_cloud/requests/remove_range_request.h"
561569
#include "aspose_words_cloud/responses/remove_range_response.h"
562570
#include "aspose_words_cloud/requests/remove_range_online_request.h"
@@ -607,6 +615,10 @@
607615
#include "aspose_words_cloud/responses/search_response.h"
608616
#include "aspose_words_cloud/requests/search_online_request.h"
609617
#include "aspose_words_cloud/responses/search_online_response.h"
618+
#include "aspose_words_cloud/requests/sign_document_request.h"
619+
#include "aspose_words_cloud/responses/sign_document_response.h"
620+
#include "aspose_words_cloud/requests/sign_document_online_request.h"
621+
#include "aspose_words_cloud/responses/sign_document_online_response.h"
610622
#include "aspose_words_cloud/requests/split_document_request.h"
611623
#include "aspose_words_cloud/responses/split_document_response.h"
612624
#include "aspose_words_cloud/requests/split_document_online_request.h"
@@ -1995,6 +2007,7 @@ namespace aspose::words::cloud::api {
19952007
/// <param name="mailMergeDataFile">The data file.</param>
19962008
/// <param name="cleanup">The cleanup options.</param>
19972009
/// <param name="useWholeParagraphAsRegion">The flag indicating whether paragraph with TableStart or TableEnd field should be fully included into mail merge region or particular range between TableStart and TableEnd fields. The default value is true.</param>
2010+
/// <param name="mergeWholeDocument">The flag indicating whether fields in whole document are updated while executing of a mail merge with regions.</param>
19982011
/// <param name="destFileName">The filename of the output document. If this parameter is omitted, the result will be saved with autogenerated name.</param>
19992012
ASPOSE_WORDS_CLOUD_EXPORT std::shared_ptr< aspose::words::cloud::models::DocumentResponse > executeMailMerge(std::shared_ptr<aspose::words::cloud::requests::ExecuteMailMergeRequest> request);
20002013

@@ -2005,6 +2018,7 @@ namespace aspose::words::cloud::api {
20052018
/// <param name="data">File with mailmerge data.</param>
20062019
/// <param name="options">Field options.</param>
20072020
/// <param name="withRegions">The flag indicating whether to execute Mail Merge operation with regions.</param>
2021+
/// <param name="mergeWholeDocument">The flag indicating whether fields in whole document are updated while executing of a mail merge with regions.</param>
20082022
/// <param name="cleanup">The cleanup options.</param>
20092023
/// <param name="documentFileName">The filename of the output document, that will be used when the resulting document has a dynamic field {filename}. If it is not set, the "template" will be used instead.</param>
20102024
ASPOSE_WORDS_CLOUD_EXPORT std::shared_ptr< std::istream > executeMailMergeOnline(std::shared_ptr<aspose::words::cloud::requests::ExecuteMailMergeOnlineRequest> request);
@@ -3143,6 +3157,28 @@ namespace aspose::words::cloud::api {
31433157
/// <param name="openTypeSupport">The value indicates whether OpenType support is on.</param>
31443158
ASPOSE_WORDS_CLOUD_EXPORT std::shared_ptr< aspose::words::cloud::models::SectionLinkCollectionResponse > getSectionsOnline(std::shared_ptr<aspose::words::cloud::requests::GetSectionsOnlineRequest> request);
31453159

3160+
/// <summary>
3161+
/// Gets signatures from the document.
3162+
/// </summary>
3163+
/// <param name="name">The filename of the Word document.</param>
3164+
/// <param name="folder">Original document folder.</param>
3165+
/// <param name="storage">Original document storage.</param>
3166+
/// <param name="loadEncoding">Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.</param>
3167+
/// <param name="password">Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.</param>
3168+
/// <param name="encryptedPassword">Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.</param>
3169+
/// <param name="openTypeSupport">The value indicates whether OpenType support is on.</param>
3170+
ASPOSE_WORDS_CLOUD_EXPORT std::shared_ptr< aspose::words::cloud::models::SignatureCollectionResponse > getSignatures(std::shared_ptr<aspose::words::cloud::requests::GetSignaturesRequest> request);
3171+
3172+
/// <summary>
3173+
/// Gets signatures from the document.
3174+
/// </summary>
3175+
/// <param name="document">The document.</param>
3176+
/// <param name="loadEncoding">Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.</param>
3177+
/// <param name="password">Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.</param>
3178+
/// <param name="encryptedPassword">Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.</param>
3179+
/// <param name="openTypeSupport">The value indicates whether OpenType support is on.</param>
3180+
ASPOSE_WORDS_CLOUD_EXPORT std::shared_ptr< aspose::words::cloud::models::SignatureCollectionResponse > getSignaturesOnline(std::shared_ptr<aspose::words::cloud::requests::GetSignaturesOnlineRequest> request);
3181+
31463182
/// <summary>
31473183
/// Reads a StructuredDocumentTag (SDT) from the document node.
31483184
/// </summary>
@@ -4290,6 +4326,30 @@ namespace aspose::words::cloud::api {
42904326
/// <param name="destFileName">Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.</param>
42914327
ASPOSE_WORDS_CLOUD_EXPORT std::shared_ptr<aspose::words::cloud::responses::RejectAllRevisionsOnlineResponse> rejectAllRevisionsOnline(std::shared_ptr<aspose::words::cloud::requests::RejectAllRevisionsOnlineRequest> request);
42924328

4329+
/// <summary>
4330+
/// Removes all signatures of the document.
4331+
/// </summary>
4332+
/// <param name="name">Name of the document with signatures.</param>
4333+
/// <param name="folder">Original document folder.</param>
4334+
/// <param name="storage">Original document storage.</param>
4335+
/// <param name="loadEncoding">Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.</param>
4336+
/// <param name="password">Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.</param>
4337+
/// <param name="encryptedPassword">Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.</param>
4338+
/// <param name="openTypeSupport">The value indicates whether OpenType support is on.</param>
4339+
/// <param name="destFileName">Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.</param>
4340+
ASPOSE_WORDS_CLOUD_EXPORT std::shared_ptr< aspose::words::cloud::models::SignatureCollectionResponse > removeAllSignatures(std::shared_ptr<aspose::words::cloud::requests::RemoveAllSignaturesRequest> request);
4341+
4342+
/// <summary>
4343+
/// Removes all signatures of the document.
4344+
/// </summary>
4345+
/// <param name="document">The document.</param>
4346+
/// <param name="loadEncoding">Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.</param>
4347+
/// <param name="password">Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.</param>
4348+
/// <param name="encryptedPassword">Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.</param>
4349+
/// <param name="openTypeSupport">The value indicates whether OpenType support is on.</param>
4350+
/// <param name="destFileName">Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.</param>
4351+
ASPOSE_WORDS_CLOUD_EXPORT std::shared_ptr<aspose::words::cloud::responses::RemoveAllSignaturesOnlineResponse> removeAllSignaturesOnline(std::shared_ptr<aspose::words::cloud::requests::RemoveAllSignaturesOnlineRequest> request);
4352+
42934353
/// <summary>
42944354
/// Removes a range from the document.
42954355
/// </summary>
@@ -4679,6 +4739,34 @@ namespace aspose::words::cloud::api {
46794739
/// <param name="openTypeSupport">The value indicates whether OpenType support is on.</param>
46804740
ASPOSE_WORDS_CLOUD_EXPORT std::shared_ptr< aspose::words::cloud::models::SearchResponse > searchOnline(std::shared_ptr<aspose::words::cloud::requests::SearchOnlineRequest> request);
46814741

4742+
/// <summary>
4743+
/// Signs the document with given certificate.
4744+
/// </summary>
4745+
/// <param name="name">Name of the document to sign.</param>
4746+
/// <param name="certificatePath">certifate file path.</param>
4747+
/// <param name="certificatePassword">certificate password.</param>
4748+
/// <param name="folder">Original document folder.</param>
4749+
/// <param name="storage">Original document storage.</param>
4750+
/// <param name="loadEncoding">Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.</param>
4751+
/// <param name="password">Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.</param>
4752+
/// <param name="encryptedPassword">Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.</param>
4753+
/// <param name="openTypeSupport">The value indicates whether OpenType support is on.</param>
4754+
/// <param name="destFileName">Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.</param>
4755+
ASPOSE_WORDS_CLOUD_EXPORT std::shared_ptr< aspose::words::cloud::models::SignatureCollectionResponse > signDocument(std::shared_ptr<aspose::words::cloud::requests::SignDocumentRequest> request);
4756+
4757+
/// <summary>
4758+
/// Signs the document with given certificate.
4759+
/// </summary>
4760+
/// <param name="document">The document.</param>
4761+
/// <param name="certificatePath">certifate file path.</param>
4762+
/// <param name="certificatePassword">certificate password.</param>
4763+
/// <param name="loadEncoding">Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.</param>
4764+
/// <param name="password">Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.</param>
4765+
/// <param name="encryptedPassword">Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.</param>
4766+
/// <param name="openTypeSupport">The value indicates whether OpenType support is on.</param>
4767+
/// <param name="destFileName">Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.</param>
4768+
ASPOSE_WORDS_CLOUD_EXPORT std::shared_ptr<aspose::words::cloud::responses::SignDocumentOnlineResponse> signDocumentOnline(std::shared_ptr<aspose::words::cloud::requests::SignDocumentOnlineRequest> request);
4769+
46824770
/// <summary>
46834771
/// Splits a document into parts and saves them in the specified format.
46844772
/// </summary>

0 commit comments

Comments
 (0)