Skip to content

Commit 008dc22

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents c118a98 + f284179 commit 008dc22

File tree

5 files changed

+74
-1
lines changed

5 files changed

+74
-1
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ 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.12
21+
22+
- Added 'RenderChoiceFormFieldBorder' property for PdfSaveOptionsData class.
23+
- Added 'ApplySuperscript' property for ReplaceTextParameters class.
24+
25+
2026
## Enhancements in Version 24.11
2127

2228
- Added GetAllRevisions method to obtain all available revisions in document.

include/aspose_words_cloud/models/pdf_save_options_data.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,21 @@ namespace aspose::words::cloud::models {
424424
ASPOSE_WORDS_CLOUD_EXPORT virtual void setPreserveFormFields(std::shared_ptr< bool > value);
425425

426426

427+
/// <summary>
428+
/// Gets or sets a value indicating whether to render PDF choice form field border.
429+
/// PDF choice form fields are used for export of SDT Combo Box Content Control, SDT Drop-Down List Content
430+
/// Control and legacy Drop-Down Form Field when PreserveFormFields option is enabled.The default value is true.
431+
/// </summary>
432+
ASPOSE_WORDS_CLOUD_EXPORT virtual std::shared_ptr< bool > getRenderChoiceFormFieldBorder() const;
433+
434+
/// <summary>
435+
/// Gets or sets a value indicating whether to render PDF choice form field border.
436+
/// PDF choice form fields are used for export of SDT Combo Box Content Control, SDT Drop-Down List Content
437+
/// Control and legacy Drop-Down Form Field when PreserveFormFields option is enabled.The default value is true.
438+
/// </summary>
439+
ASPOSE_WORDS_CLOUD_EXPORT virtual void setRenderChoiceFormFieldBorder(std::shared_ptr< bool > value);
440+
441+
427442
/// <summary>
428443
/// Gets or sets the compression type to be used for all textual content in the document.
429444
/// </summary>
@@ -524,6 +539,7 @@ namespace aspose::words::cloud::models {
524539
std::shared_ptr< aspose::words::cloud::models::PdfSaveOptionsData::PageMode > m_PageMode;
525540
std::shared_ptr< bool > m_PreblendImages;
526541
std::shared_ptr< bool > m_PreserveFormFields;
542+
std::shared_ptr< bool > m_RenderChoiceFormFieldBorder;
527543
std::shared_ptr< aspose::words::cloud::models::PdfSaveOptionsData::TextCompression > m_TextCompression;
528544
std::shared_ptr< bool > m_UseBookFoldPrintingSettings;
529545
std::shared_ptr< bool > m_UseCoreFonts;

include/aspose_words_cloud/models/replace_text_parameters.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,17 @@ namespace aspose::words::cloud::models {
4141
ASPOSE_WORDS_CLOUD_EXPORT virtual void validate() override;
4242

4343

44+
/// <summary>
45+
/// Gets or sets a value indicating whether apply superscript to font or not.
46+
/// </summary>
47+
ASPOSE_WORDS_CLOUD_EXPORT virtual std::shared_ptr< bool > getApplySuperscript() const;
48+
49+
/// <summary>
50+
/// Gets or sets a value indicating whether apply superscript to font or not.
51+
/// </summary>
52+
ASPOSE_WORDS_CLOUD_EXPORT virtual void setApplySuperscript(std::shared_ptr< bool > value);
53+
54+
4455
/// <summary>
4556
/// Gets or sets a value indicating whether flag, true means the search is case-sensitive; false means the search is not case-sensitive.
4657
/// </summary>
@@ -97,6 +108,7 @@ namespace aspose::words::cloud::models {
97108

98109

99110
protected:
111+
std::shared_ptr< bool > m_ApplySuperscript;
100112
std::shared_ptr< bool > m_IsMatchCase;
101113
std::shared_ptr< bool > m_IsMatchWholeWord;
102114
std::shared_ptr< bool > m_IsOldValueRegex;

src/api_client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ namespace aspose::words::cloud {
168168

169169
::httplib::Headers headers;
170170
headers.emplace("Authorization", m_AccessToken);
171-
headers.emplace("x-aspose-client-version", "24.11");
171+
headers.emplace("x-aspose-client-version", "24.12");
172172
headers.emplace("x-aspose-client", "C++ SDK");
173173

174174
for (auto& pair : httpRequest->getHeaders()) {

src/models.cpp

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19950,6 +19950,9 @@ namespace aspose::words::cloud::models {
1995019950
if (this->m_PreserveFormFields) {
1995119951
json["PreserveFormFields"] = *(this->m_PreserveFormFields);
1995219952
}
19953+
if (this->m_RenderChoiceFormFieldBorder) {
19954+
json["RenderChoiceFormFieldBorder"] = *(this->m_RenderChoiceFormFieldBorder);
19955+
}
1995319956
if (this->m_TextCompression) {
1995419957
json["TextCompression"] = pdfSaveOptionsDataTextCompressionToString(*(this->m_TextCompression));
1995519958
}
@@ -20079,6 +20082,11 @@ namespace aspose::words::cloud::models {
2007920082
json["PreserveFormFields"].get< bool >()
2008020083
);
2008120084
}
20085+
if (json.contains("RenderChoiceFormFieldBorder") && !json["RenderChoiceFormFieldBorder"].is_null()) {
20086+
this->m_RenderChoiceFormFieldBorder = std::make_shared< bool >(
20087+
json["RenderChoiceFormFieldBorder"].get< bool >()
20088+
);
20089+
}
2008220090
if (json.contains("TextCompression") && !json["TextCompression"].is_null()) {
2008320091
this->m_TextCompression = std::make_shared< aspose::words::cloud::models::PdfSaveOptionsData::TextCompression >(
2008420092
pdfSaveOptionsDataTextCompressionFromString(json["TextCompression"].get< std::string >())
@@ -20171,6 +20179,7 @@ namespace aspose::words::cloud::models {
2017120179

2017220180

2017320181

20182+
2017420183
}
2017520184

2017620185
std::shared_ptr< bool > PdfSaveOptionsData::getCacheBackgroundGraphics() const
@@ -20415,6 +20424,17 @@ namespace aspose::words::cloud::models {
2041520424
}
2041620425

2041720426

20427+
std::shared_ptr< bool > PdfSaveOptionsData::getRenderChoiceFormFieldBorder() const
20428+
{
20429+
return this->m_RenderChoiceFormFieldBorder;
20430+
}
20431+
20432+
void PdfSaveOptionsData::setRenderChoiceFormFieldBorder(std::shared_ptr< bool > value)
20433+
{
20434+
this->m_RenderChoiceFormFieldBorder = value;
20435+
}
20436+
20437+
2041820438
std::shared_ptr< aspose::words::cloud::models::PdfSaveOptionsData::TextCompression > PdfSaveOptionsData::getTextCompression() const
2041920439
{
2042020440
return this->m_TextCompression;
@@ -21443,6 +21463,9 @@ namespace aspose::words::cloud::models {
2144321463
void ReplaceTextParameters::toJson(void* jsonIfc) const
2144421464
{
2144521465
::nlohmann::json& json = *((::nlohmann::json*)jsonIfc);
21466+
if (this->m_ApplySuperscript) {
21467+
json["ApplySuperscript"] = *(this->m_ApplySuperscript);
21468+
}
2144621469
if (this->m_IsMatchCase) {
2144721470
json["IsMatchCase"] = *(this->m_IsMatchCase);
2144821471
}
@@ -21463,6 +21486,11 @@ namespace aspose::words::cloud::models {
2146321486
void ReplaceTextParameters::fromJson(const void* jsonIfc)
2146421487
{
2146521488
::nlohmann::json& json = *((::nlohmann::json*)jsonIfc);
21489+
if (json.contains("ApplySuperscript") && !json["ApplySuperscript"].is_null()) {
21490+
this->m_ApplySuperscript = std::make_shared< bool >(
21491+
json["ApplySuperscript"].get< bool >()
21492+
);
21493+
}
2146621494
if (json.contains("IsMatchCase") && !json["IsMatchCase"].is_null()) {
2146721495
this->m_IsMatchCase = std::make_shared< bool >(
2146821496
json["IsMatchCase"].get< bool >()
@@ -21523,6 +21551,17 @@ namespace aspose::words::cloud::models {
2152321551

2152421552
}
2152521553

21554+
std::shared_ptr< bool > ReplaceTextParameters::getApplySuperscript() const
21555+
{
21556+
return this->m_ApplySuperscript;
21557+
}
21558+
21559+
void ReplaceTextParameters::setApplySuperscript(std::shared_ptr< bool > value)
21560+
{
21561+
this->m_ApplySuperscript = value;
21562+
}
21563+
21564+
2152621565
std::shared_ptr< bool > ReplaceTextParameters::getIsMatchCase() const
2152721566
{
2152821567
return this->m_IsMatchCase;

0 commit comments

Comments
 (0)