File tree 5 files changed +2
-11
lines changed
include/aspose_words_cloud/models
5 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ namespace aspose::words::cloud::models {
40
40
ASPOSE_WORDS_CLOUD_EXPORT virtual void fromJson (const void * jsonIfc) override ;
41
41
ASPOSE_WORDS_CLOUD_EXPORT virtual void getFileReferences (std::vector< FileReference* >& result) override ;
42
42
43
- virtual void abstractFormField () = 0;
44
43
45
44
// / <summary>
46
45
// / Gets or sets a value indicating whether references to the specified form field are automatically updated whenever the field is exited.
Original file line number Diff line number Diff line change @@ -40,9 +40,6 @@ namespace aspose::words::cloud::models {
40
40
ASPOSE_WORDS_CLOUD_EXPORT virtual void fromJson (const void * jsonIfc) override ;
41
41
ASPOSE_WORDS_CLOUD_EXPORT virtual void getFileReferences (std::vector< FileReference* >& result) override ;
42
42
43
- void abstractFormField () override {}
44
-
45
-
46
43
47
44
// / <summary>
48
45
// / Gets or sets the size of the checkbox in points. Has effect only when IsCheckBoxExactSize is true.
Original file line number Diff line number Diff line change @@ -40,9 +40,6 @@ namespace aspose::words::cloud::models {
40
40
ASPOSE_WORDS_CLOUD_EXPORT virtual void fromJson (const void * jsonIfc) override ;
41
41
ASPOSE_WORDS_CLOUD_EXPORT virtual void getFileReferences (std::vector< FileReference* >& result) override ;
42
42
43
- void abstractFormField () override {}
44
-
45
-
46
43
47
44
// / <summary>
48
45
// / Gets or sets the items array of a dropdown form field.
Original file line number Diff line number Diff line change @@ -53,9 +53,6 @@ namespace aspose::words::cloud::models {
53
53
ASPOSE_WORDS_CLOUD_EXPORT virtual void fromJson (const void * jsonIfc) override ;
54
54
ASPOSE_WORDS_CLOUD_EXPORT virtual void getFileReferences (std::vector< FileReference* >& result) override ;
55
55
56
- void abstractFormField () override {}
57
-
58
-
59
56
60
57
// / <summary>
61
58
// / Gets or sets the maximum length for the text field. Zero when the length is not limited.
Original file line number Diff line number Diff line change @@ -8537,7 +8537,8 @@ namespace aspose::words::cloud::models {
8537
8537
WordsResponse::fromJson(jsonIfc);
8538
8538
::nlohmann::json& json = *((::nlohmann::json*)jsonIfc);
8539
8539
if (json.contains("FormField") && !json["FormField"].is_null()) {
8540
- throw aspose::words::cloud::ApiException(400, L"Cannot deserialize abstract data model FormField.");
8540
+ this->m_FormField = std::make_shared< aspose::words::cloud::models::FormField >();
8541
+ this->m_FormField->fromJson(&json["FormField"]);
8541
8542
}
8542
8543
}
8543
8544
You can’t perform that action at this time.
0 commit comments