aspose_words_cloud 23.4.0 → 23.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aspose_words_cloud/api/words_api.rb +85 -1
- data/lib/aspose_words_cloud/api_client.rb +1 -1
- data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +11 -11
- data/lib/aspose_words_cloud/models/comment.rb +39 -39
- data/lib/aspose_words_cloud/models/comment_insert.rb +21 -21
- data/lib/aspose_words_cloud/models/comment_update.rb +21 -21
- data/lib/aspose_words_cloud/models/custom_xml_part.rb +14 -14
- data/lib/aspose_words_cloud/models/custom_xml_part_insert.rb +14 -14
- data/lib/aspose_words_cloud/models/custom_xml_part_update.rb +14 -14
- data/lib/aspose_words_cloud/models/doc_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/document.rb +13 -13
- data/lib/aspose_words_cloud/models/document_entry.rb +41 -0
- data/lib/aspose_words_cloud/models/document_property.rb +15 -15
- data/lib/aspose_words_cloud/models/document_stat_data.rb +16 -16
- data/lib/aspose_words_cloud/models/drawing_object.rb +41 -41
- data/lib/aspose_words_cloud/models/emf_save_options_data.rb +11 -11
- data/lib/aspose_words_cloud/models/footnote.rb +21 -21
- data/lib/aspose_words_cloud/models/form_field.rb +46 -46
- data/lib/aspose_words_cloud/models/form_field_checkbox.rb +59 -59
- data/lib/aspose_words_cloud/models/form_field_drop_down.rb +46 -46
- data/lib/aspose_words_cloud/models/form_field_text_input.rb +66 -66
- data/lib/aspose_words_cloud/models/gif_save_options_data.rb +11 -11
- data/lib/aspose_words_cloud/models/header_footer.rb +14 -14
- data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/html_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +11 -11
- data/lib/aspose_words_cloud/models/list_format.rb +15 -15
- data/lib/aspose_words_cloud/models/list_info.rb +35 -35
- data/lib/aspose_words_cloud/models/list_level.rb +76 -76
- data/lib/aspose_words_cloud/models/load_web_document_data.rb +14 -14
- data/lib/aspose_words_cloud/models/markdown_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/page_stat_data.rb +14 -14
- data/lib/aspose_words_cloud/models/paragraph_format.rb +21 -21
- data/lib/aspose_words_cloud/models/paragraph_format_base.rb +14 -14
- data/lib/aspose_words_cloud/models/paragraph_format_update.rb +14 -14
- data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/png_save_options_data.rb +11 -11
- data/lib/aspose_words_cloud/models/ps_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/requests/create_document_request.rb +9 -3
- data/lib/aspose_words_cloud/models/requests/insert_section_online_request.rb +204 -0
- data/lib/aspose_words_cloud/models/requests/insert_section_request.rb +203 -0
- data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/save_result.rb +16 -16
- data/lib/aspose_words_cloud/models/search_result.rb +14 -14
- data/lib/aspose_words_cloud/models/section.rb +15 -15
- data/lib/aspose_words_cloud/models/split_document_result.rb +16 -16
- data/lib/aspose_words_cloud/models/structured_document_tag.rb +142 -142
- data/lib/aspose_words_cloud/models/structured_document_tag_insert.rb +142 -142
- data/lib/aspose_words_cloud/models/structured_document_tag_update.rb +142 -142
- data/lib/aspose_words_cloud/models/style.rb +71 -71
- data/lib/aspose_words_cloud/models/svg_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/table.rb +14 -14
- data/lib/aspose_words_cloud/models/table_row.rb +14 -14
- data/lib/aspose_words_cloud/models/table_row_format.rb +24 -24
- data/lib/aspose_words_cloud/models/text_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +19 -19
- data/lib/aspose_words_cloud/models/xps_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/version.rb +1 -1
- data/lib/aspose_words_cloud.rb +2 -0
- metadata +4 -2
@@ -32,20 +32,17 @@ module AsposeWordsCloud
|
|
32
32
|
# Gets or sets the link to the document.
|
33
33
|
attr_accessor :link
|
34
34
|
|
35
|
-
# Gets or sets
|
36
|
-
attr_accessor :
|
37
|
-
|
38
|
-
# Gets or sets the name of the style this style is based on.
|
39
|
-
attr_accessor :base_style_name
|
35
|
+
# Gets or sets the character formatting of the style.
|
36
|
+
attr_accessor :font
|
40
37
|
|
41
38
|
# Gets or sets a value indicating whether this style is one of the built-in styles in MS Word.
|
42
39
|
attr_accessor :built_in
|
43
40
|
|
44
|
-
# Gets or sets the
|
45
|
-
attr_accessor :
|
41
|
+
# Gets or sets the name of the style to be applied automatically to a new paragraph inserted after a paragraph formatted with the specified style.
|
42
|
+
attr_accessor :next_paragraph_style_name
|
46
43
|
|
47
|
-
# Gets or sets
|
48
|
-
attr_accessor :
|
44
|
+
# Gets or sets the name of the style this style is based on.
|
45
|
+
attr_accessor :base_style_name
|
49
46
|
|
50
47
|
# Gets or sets a value indicating whether this style is shown in the Quick Style gallery inside MS Word UI.
|
51
48
|
attr_accessor :is_quick_style
|
@@ -53,17 +50,20 @@ module AsposeWordsCloud
|
|
53
50
|
# Gets or sets the name of the Style linked to this one. Returns Empty string if no styles are linked.
|
54
51
|
attr_accessor :linked_style_name
|
55
52
|
|
56
|
-
# Gets or sets the
|
57
|
-
attr_accessor :
|
53
|
+
# Gets or sets the style type (paragraph or character).
|
54
|
+
attr_accessor :type
|
58
55
|
|
59
|
-
# Gets or sets
|
60
|
-
attr_accessor :
|
56
|
+
# Gets or sets a value indicating whether the style is one of the built-in Heading styles.
|
57
|
+
attr_accessor :is_heading
|
58
|
+
|
59
|
+
# Gets or sets all aliases of this style. If style has no aliases then empty array of string is returned.
|
60
|
+
attr_accessor :aliases
|
61
61
|
|
62
62
|
# Gets or sets the locale independent style identifier for a built-in style.
|
63
63
|
attr_accessor :style_identifier
|
64
64
|
|
65
|
-
# Gets or sets the
|
66
|
-
attr_accessor :
|
65
|
+
# Gets or sets the name of the style.
|
66
|
+
attr_accessor :name
|
67
67
|
|
68
68
|
class EnumAttributeValidator
|
69
69
|
attr_reader :datatype
|
@@ -91,17 +91,17 @@ module AsposeWordsCloud
|
|
91
91
|
def self.attribute_map
|
92
92
|
{
|
93
93
|
:'link' => :'Link',
|
94
|
-
:'aliases' => :'Aliases',
|
95
|
-
:'base_style_name' => :'BaseStyleName',
|
96
|
-
:'built_in' => :'BuiltIn',
|
97
94
|
:'font' => :'Font',
|
98
|
-
:'
|
95
|
+
:'built_in' => :'BuiltIn',
|
96
|
+
:'next_paragraph_style_name' => :'NextParagraphStyleName',
|
97
|
+
:'base_style_name' => :'BaseStyleName',
|
99
98
|
:'is_quick_style' => :'IsQuickStyle',
|
100
99
|
:'linked_style_name' => :'LinkedStyleName',
|
101
|
-
:'
|
102
|
-
:'
|
100
|
+
:'type' => :'Type',
|
101
|
+
:'is_heading' => :'IsHeading',
|
102
|
+
:'aliases' => :'Aliases',
|
103
103
|
:'style_identifier' => :'StyleIdentifier',
|
104
|
-
:'
|
104
|
+
:'name' => :'Name'
|
105
105
|
}
|
106
106
|
end
|
107
107
|
|
@@ -109,17 +109,17 @@ module AsposeWordsCloud
|
|
109
109
|
def self.swagger_types
|
110
110
|
{
|
111
111
|
:'link' => :'WordsApiLink',
|
112
|
-
:'aliases' => :'Array<String>',
|
113
|
-
:'base_style_name' => :'String',
|
114
|
-
:'built_in' => :'BOOLEAN',
|
115
112
|
:'font' => :'Font',
|
116
|
-
:'
|
113
|
+
:'built_in' => :'BOOLEAN',
|
114
|
+
:'next_paragraph_style_name' => :'String',
|
115
|
+
:'base_style_name' => :'String',
|
117
116
|
:'is_quick_style' => :'BOOLEAN',
|
118
117
|
:'linked_style_name' => :'String',
|
119
|
-
:'
|
120
|
-
:'
|
118
|
+
:'type' => :'String',
|
119
|
+
:'is_heading' => :'BOOLEAN',
|
120
|
+
:'aliases' => :'Array<String>',
|
121
121
|
:'style_identifier' => :'String',
|
122
|
-
:'
|
122
|
+
:'name' => :'String'
|
123
123
|
}
|
124
124
|
end
|
125
125
|
|
@@ -135,26 +135,20 @@ module AsposeWordsCloud
|
|
135
135
|
self.link = attributes[:'Link']
|
136
136
|
end
|
137
137
|
|
138
|
-
if attributes.key?(:'
|
139
|
-
|
140
|
-
self.aliases = value
|
141
|
-
end
|
142
|
-
end
|
143
|
-
|
144
|
-
if attributes.key?(:'BaseStyleName')
|
145
|
-
self.base_style_name = attributes[:'BaseStyleName']
|
138
|
+
if attributes.key?(:'Font')
|
139
|
+
self.font = attributes[:'Font']
|
146
140
|
end
|
147
141
|
|
148
142
|
if attributes.key?(:'BuiltIn')
|
149
143
|
self.built_in = attributes[:'BuiltIn']
|
150
144
|
end
|
151
145
|
|
152
|
-
if attributes.key?(:'
|
153
|
-
self.
|
146
|
+
if attributes.key?(:'NextParagraphStyleName')
|
147
|
+
self.next_paragraph_style_name = attributes[:'NextParagraphStyleName']
|
154
148
|
end
|
155
149
|
|
156
|
-
if attributes.key?(:'
|
157
|
-
self.
|
150
|
+
if attributes.key?(:'BaseStyleName')
|
151
|
+
self.base_style_name = attributes[:'BaseStyleName']
|
158
152
|
end
|
159
153
|
|
160
154
|
if attributes.key?(:'IsQuickStyle')
|
@@ -165,20 +159,26 @@ module AsposeWordsCloud
|
|
165
159
|
self.linked_style_name = attributes[:'LinkedStyleName']
|
166
160
|
end
|
167
161
|
|
168
|
-
if attributes.key?(:'
|
169
|
-
self.
|
162
|
+
if attributes.key?(:'Type')
|
163
|
+
self.type = attributes[:'Type']
|
170
164
|
end
|
171
165
|
|
172
|
-
if attributes.key?(:'
|
173
|
-
self.
|
166
|
+
if attributes.key?(:'IsHeading')
|
167
|
+
self.is_heading = attributes[:'IsHeading']
|
168
|
+
end
|
169
|
+
|
170
|
+
if attributes.key?(:'Aliases')
|
171
|
+
if (value = attributes[:'Aliases']).is_a?(Array)
|
172
|
+
self.aliases = value
|
173
|
+
end
|
174
174
|
end
|
175
175
|
|
176
176
|
if attributes.key?(:'StyleIdentifier')
|
177
177
|
self.style_identifier = attributes[:'StyleIdentifier']
|
178
178
|
end
|
179
179
|
|
180
|
-
if attributes.key?(:'
|
181
|
-
self.
|
180
|
+
if attributes.key?(:'Name')
|
181
|
+
self.name = attributes[:'Name']
|
182
182
|
end
|
183
183
|
end
|
184
184
|
|
@@ -192,28 +192,14 @@ module AsposeWordsCloud
|
|
192
192
|
# Check to see if the all the properties in the model are valid
|
193
193
|
# @return true if the model is valid
|
194
194
|
def valid?
|
195
|
-
style_identifier_validator = EnumAttributeValidator.new('String', ["Normal", "Heading1", "Heading2", "Heading3", "Heading4", "Heading5", "Heading6", "Heading7", "Heading8", "Heading9", "Index1", "Index2", "Index3", "Index4", "Index5", "Index6", "Index7", "Index8", "Index9", "Toc1", "Toc2", "Toc3", "Toc4", "Toc5", "Toc6", "Toc7", "Toc8", "Toc9", "NormalIndent", "FootnoteText", "CommentText", "Header", "Footer", "IndexHeading", "Caption", "TableOfFigures", "EnvelopeAddress", "EnvelopeReturn", "FootnoteReference", "CommentReference", "LineNumber", "PageNumber", "EndnoteReference", "EndnoteText", "TableOfAuthorities", "Macro", "ToaHeading", "List", "ListBullet", "ListNumber", "List2", "List3", "List4", "List5", "ListBullet2", "ListBullet3", "ListBullet4", "ListBullet5", "ListNumber2", "ListNumber3", "ListNumber4", "ListNumber5", "Title", "Closing", "Signature", "DefaultParagraphFont", "BodyText", "BodyTextInd", "ListContinue", "ListContinue2", "ListContinue3", "ListContinue4", "ListContinue5", "MessageHeader", "Subtitle", "Salutation", "Date", "BodyText1I", "BodyText1I2", "NoteHeading", "BodyText2", "BodyText3", "BodyTextInd2", "BodyTextInd3", "BlockText", "Hyperlink", "FollowedHyperlink", "Strong", "Emphasis", "DocumentMap", "PlainText", "EmailSignature", "HtmlTopOfForm", "HtmlBottomOfForm", "NormalWeb", "HtmlAcronym", "HtmlAddress", "HtmlCite", "HtmlCode", "HtmlDefinition", "HtmlKeyboard", "HtmlPreformatted", "HtmlSample", "HtmlTypewriter", "HtmlVariable", "TableNormal", "CommentSubject", "NoList", "OutlineList1", "OutlineList2", "OutlineList3", "TableSimple1", "TableSimple2", "TableSimple3", "TableClassic1", "TableClassic2", "TableClassic3", "TableClassic4", "TableColorful1", "TableColorful2", "TableColorful3", "TableColumns1", "TableColumns2", "TableColumns3", "TableColumns4", "TableColumns5", "TableGrid1", "TableGrid2", "TableGrid3", "TableGrid4", "TableGrid5", "TableGrid6", "TableGrid7", "TableGrid8", "TableList1", "TableList2", "TableList3", "TableList4", "TableList5", "TableList6", "TableList7", "TableList8", "Table3DEffects1", "Table3DEffects2", "Table3DEffects3", "TableContemporary", "TableElegant", "TableProfessional", "TableSubtle1", "TableSubtle2", "TableWeb1", "TableWeb2", "TableWeb3", "BalloonText", "TableGrid", "TableTheme", "PlaceholderText", "NoSpacing", "LightShading", "LightList", "LightGrid", "MediumShading1", "MediumShading2", "MediumList1", "MediumList2", "MediumGrid1", "MediumGrid2", "MediumGrid3", "DarkList", "ColorfulShading", "ColorfulList", "ColorfulGrid", "LightShadingAccent1", "LightListAccent1", "LightGridAccent1", "MediumShading1Accent1", "MediumShading2Accent1", "MediumList1Accent1", "Revision", "ListParagraph", "Quote", "IntenseQuote", "MediumList2Accent1", "MediumGrid1Accent1", "MediumGrid2Accent1", "MediumGrid3Accent1", "DarkListAccent1", "ColorfulShadingAccent1", "ColorfulListAccent1", "ColorfulGridAccent1", "LightShadingAccent2", "LightListAccent2", "LightGridAccent2", "MediumShading1Accent2", "MediumShading2Accent2", "MediumList1Accent2", "MediumList2Accent2", "MediumGrid1Accent2", "MediumGrid2Accent2", "MediumGrid3Accent2", "DarkListAccent2", "ColorfulShadingAccent2", "ColorfulListAccent2", "ColorfulGridAccent2", "LightShadingAccent3", "LightListAccent3", "LightGridAccent3", "MediumShading1Accent3", "MediumShading2Accent3", "MediumList1Accent3", "MediumList2Accent3", "MediumGrid1Accent3", "MediumGrid2Accent3", "MediumGrid3Accent3", "DarkListAccent3", "ColorfulShadingAccent3", "ColorfulListAccent3", "ColorfulGridAccent3", "LightShadingAccent4", "LightListAccent4", "LightGridAccent4", "MediumShading1Accent4", "MediumShading2Accent4", "MediumList1Accent4", "MediumList2Accent4", "MediumGrid1Accent4", "MediumGrid2Accent4", "MediumGrid3Accent4", "DarkListAccent4", "ColorfulShadingAccent4", "ColorfulListAccent4", "ColorfulGridAccent4", "LightShadingAccent5", "LightListAccent5", "LightGridAccent5", "MediumShading1Accent5", "MediumShading2Accent5", "MediumList1Accent5", "MediumList2Accent5", "MediumGrid1Accent5", "MediumGrid2Accent5", "MediumGrid3Accent5", "DarkListAccent5", "ColorfulShadingAccent5", "ColorfulListAccent5", "ColorfulGridAccent5", "LightShadingAccent6", "LightListAccent6", "LightGridAccent6", "MediumShading1Accent6", "MediumShading2Accent6", "MediumList1Accent6", "MediumList2Accent6", "MediumGrid1Accent6", "MediumGrid2Accent6", "MediumGrid3Accent6", "DarkListAccent6", "ColorfulShadingAccent6", "ColorfulListAccent6", "ColorfulGridAccent6", "SubtleEmphasis", "IntenseEmphasis", "SubtleReference", "IntenseReference", "BookTitle", "Bibliography", "TocHeading", "PlainTable1", "PlainTable2", "PlainTable3", "PlainTable4", "PlainTable5", "TableGridLight", "GridTable1Light", "GridTable2", "GridTable3", "GridTable4", "GridTable5Dark", "GridTable6Colorful", "GridTable7Colorful", "GridTable1LightAccent1", "GridTable2Accent1", "GridTable3Accent1", "GridTable4Accent1", "GridTable5DarkAccent1", "GridTable6ColorfulAccent1", "GridTable7ColorfulAccent1", "GridTable1LightAccent2", "GridTable2Accent2", "GridTable3Accent2", "GridTable4Accent2", "GridTable5DarkAccent2", "GridTable6ColorfulAccent2", "GridTable7ColorfulAccent2", "GridTable1LightAccent3", "GridTable2Accent3", "GridTable3Accent3", "GridTable4Accent3", "GridTable5DarkAccent3", "GridTable6ColorfulAccent3", "GridTable7ColorfulAccent3", "GridTable1LightAccent4", "GridTable2Accent4", "GridTable3Accent4", "GridTable4Accent4", "GridTable5DarkAccent4", "GridTable6ColorfulAccent4", "GridTable7ColorfulAccent4", "GridTable1LightAccent5", "GridTable2Accent5", "GridTable3Accent5", "GridTable4Accent5", "GridTable5DarkAccent5", "GridTable6ColorfulAccent5", "GridTable7ColorfulAccent5", "GridTable1LightAccent6", "GridTable2Accent6", "GridTable3Accent6", "GridTable4Accent6", "GridTable5DarkAccent6", "GridTable6ColorfulAccent6", "GridTable7ColorfulAccent6", "ListTable1Light", "ListTable2", "ListTable3", "ListTable4", "ListTable5Dark", "ListTable6Colorful", "ListTable7Colorful", "ListTable1LightAccent1", "ListTable2Accent1", "ListTable3Accent1", "ListTable4Accent1", "ListTable5DarkAccent1", "ListTable6ColorfulAccent1", "ListTable7ColorfulAccent1", "ListTable1LightAccent2", "ListTable2Accent2", "ListTable3Accent2", "ListTable4Accent2", "ListTable5DarkAccent2", "ListTable6ColorfulAccent2", "ListTable7ColorfulAccent2", "ListTable1LightAccent3", "ListTable2Accent3", "ListTable3Accent3", "ListTable4Accent3", "ListTable5DarkAccent3", "ListTable6ColorfulAccent3", "ListTable7ColorfulAccent3", "ListTable1LightAccent4", "ListTable2Accent4", "ListTable3Accent4", "ListTable4Accent4", "ListTable5DarkAccent4", "ListTable6ColorfulAccent4", "ListTable7ColorfulAccent4", "ListTable1LightAccent5", "ListTable2Accent5", "ListTable3Accent5", "ListTable4Accent5", "ListTable5DarkAccent5", "ListTable6ColorfulAccent5", "ListTable7ColorfulAccent5", "ListTable1LightAccent6", "ListTable2Accent6", "ListTable3Accent6", "ListTable4Accent6", "ListTable5DarkAccent6", "ListTable6ColorfulAccent6", "ListTable7ColorfulAccent6", "SmartLink", "Mention", "SmartHyperlink", "Hashtag", "UnresolvedMention", "User", "Nil"])
|
196
|
-
return false unless style_identifier_validator.valid?(@style_identifier)
|
197
195
|
type_validator = EnumAttributeValidator.new('String', ["Paragraph", "Character", "Table", "List"])
|
198
196
|
return false unless type_validator.valid?(@type)
|
197
|
+
style_identifier_validator = EnumAttributeValidator.new('String', ["Normal", "Heading1", "Heading2", "Heading3", "Heading4", "Heading5", "Heading6", "Heading7", "Heading8", "Heading9", "Index1", "Index2", "Index3", "Index4", "Index5", "Index6", "Index7", "Index8", "Index9", "Toc1", "Toc2", "Toc3", "Toc4", "Toc5", "Toc6", "Toc7", "Toc8", "Toc9", "NormalIndent", "FootnoteText", "CommentText", "Header", "Footer", "IndexHeading", "Caption", "TableOfFigures", "EnvelopeAddress", "EnvelopeReturn", "FootnoteReference", "CommentReference", "LineNumber", "PageNumber", "EndnoteReference", "EndnoteText", "TableOfAuthorities", "Macro", "ToaHeading", "List", "ListBullet", "ListNumber", "List2", "List3", "List4", "List5", "ListBullet2", "ListBullet3", "ListBullet4", "ListBullet5", "ListNumber2", "ListNumber3", "ListNumber4", "ListNumber5", "Title", "Closing", "Signature", "DefaultParagraphFont", "BodyText", "BodyTextInd", "ListContinue", "ListContinue2", "ListContinue3", "ListContinue4", "ListContinue5", "MessageHeader", "Subtitle", "Salutation", "Date", "BodyText1I", "BodyText1I2", "NoteHeading", "BodyText2", "BodyText3", "BodyTextInd2", "BodyTextInd3", "BlockText", "Hyperlink", "FollowedHyperlink", "Strong", "Emphasis", "DocumentMap", "PlainText", "EmailSignature", "HtmlTopOfForm", "HtmlBottomOfForm", "NormalWeb", "HtmlAcronym", "HtmlAddress", "HtmlCite", "HtmlCode", "HtmlDefinition", "HtmlKeyboard", "HtmlPreformatted", "HtmlSample", "HtmlTypewriter", "HtmlVariable", "TableNormal", "CommentSubject", "NoList", "OutlineList1", "OutlineList2", "OutlineList3", "TableSimple1", "TableSimple2", "TableSimple3", "TableClassic1", "TableClassic2", "TableClassic3", "TableClassic4", "TableColorful1", "TableColorful2", "TableColorful3", "TableColumns1", "TableColumns2", "TableColumns3", "TableColumns4", "TableColumns5", "TableGrid1", "TableGrid2", "TableGrid3", "TableGrid4", "TableGrid5", "TableGrid6", "TableGrid7", "TableGrid8", "TableList1", "TableList2", "TableList3", "TableList4", "TableList5", "TableList6", "TableList7", "TableList8", "Table3DEffects1", "Table3DEffects2", "Table3DEffects3", "TableContemporary", "TableElegant", "TableProfessional", "TableSubtle1", "TableSubtle2", "TableWeb1", "TableWeb2", "TableWeb3", "BalloonText", "TableGrid", "TableTheme", "PlaceholderText", "NoSpacing", "LightShading", "LightList", "LightGrid", "MediumShading1", "MediumShading2", "MediumList1", "MediumList2", "MediumGrid1", "MediumGrid2", "MediumGrid3", "DarkList", "ColorfulShading", "ColorfulList", "ColorfulGrid", "LightShadingAccent1", "LightListAccent1", "LightGridAccent1", "MediumShading1Accent1", "MediumShading2Accent1", "MediumList1Accent1", "Revision", "ListParagraph", "Quote", "IntenseQuote", "MediumList2Accent1", "MediumGrid1Accent1", "MediumGrid2Accent1", "MediumGrid3Accent1", "DarkListAccent1", "ColorfulShadingAccent1", "ColorfulListAccent1", "ColorfulGridAccent1", "LightShadingAccent2", "LightListAccent2", "LightGridAccent2", "MediumShading1Accent2", "MediumShading2Accent2", "MediumList1Accent2", "MediumList2Accent2", "MediumGrid1Accent2", "MediumGrid2Accent2", "MediumGrid3Accent2", "DarkListAccent2", "ColorfulShadingAccent2", "ColorfulListAccent2", "ColorfulGridAccent2", "LightShadingAccent3", "LightListAccent3", "LightGridAccent3", "MediumShading1Accent3", "MediumShading2Accent3", "MediumList1Accent3", "MediumList2Accent3", "MediumGrid1Accent3", "MediumGrid2Accent3", "MediumGrid3Accent3", "DarkListAccent3", "ColorfulShadingAccent3", "ColorfulListAccent3", "ColorfulGridAccent3", "LightShadingAccent4", "LightListAccent4", "LightGridAccent4", "MediumShading1Accent4", "MediumShading2Accent4", "MediumList1Accent4", "MediumList2Accent4", "MediumGrid1Accent4", "MediumGrid2Accent4", "MediumGrid3Accent4", "DarkListAccent4", "ColorfulShadingAccent4", "ColorfulListAccent4", "ColorfulGridAccent4", "LightShadingAccent5", "LightListAccent5", "LightGridAccent5", "MediumShading1Accent5", "MediumShading2Accent5", "MediumList1Accent5", "MediumList2Accent5", "MediumGrid1Accent5", "MediumGrid2Accent5", "MediumGrid3Accent5", "DarkListAccent5", "ColorfulShadingAccent5", "ColorfulListAccent5", "ColorfulGridAccent5", "LightShadingAccent6", "LightListAccent6", "LightGridAccent6", "MediumShading1Accent6", "MediumShading2Accent6", "MediumList1Accent6", "MediumList2Accent6", "MediumGrid1Accent6", "MediumGrid2Accent6", "MediumGrid3Accent6", "DarkListAccent6", "ColorfulShadingAccent6", "ColorfulListAccent6", "ColorfulGridAccent6", "SubtleEmphasis", "IntenseEmphasis", "SubtleReference", "IntenseReference", "BookTitle", "Bibliography", "TocHeading", "PlainTable1", "PlainTable2", "PlainTable3", "PlainTable4", "PlainTable5", "TableGridLight", "GridTable1Light", "GridTable2", "GridTable3", "GridTable4", "GridTable5Dark", "GridTable6Colorful", "GridTable7Colorful", "GridTable1LightAccent1", "GridTable2Accent1", "GridTable3Accent1", "GridTable4Accent1", "GridTable5DarkAccent1", "GridTable6ColorfulAccent1", "GridTable7ColorfulAccent1", "GridTable1LightAccent2", "GridTable2Accent2", "GridTable3Accent2", "GridTable4Accent2", "GridTable5DarkAccent2", "GridTable6ColorfulAccent2", "GridTable7ColorfulAccent2", "GridTable1LightAccent3", "GridTable2Accent3", "GridTable3Accent3", "GridTable4Accent3", "GridTable5DarkAccent3", "GridTable6ColorfulAccent3", "GridTable7ColorfulAccent3", "GridTable1LightAccent4", "GridTable2Accent4", "GridTable3Accent4", "GridTable4Accent4", "GridTable5DarkAccent4", "GridTable6ColorfulAccent4", "GridTable7ColorfulAccent4", "GridTable1LightAccent5", "GridTable2Accent5", "GridTable3Accent5", "GridTable4Accent5", "GridTable5DarkAccent5", "GridTable6ColorfulAccent5", "GridTable7ColorfulAccent5", "GridTable1LightAccent6", "GridTable2Accent6", "GridTable3Accent6", "GridTable4Accent6", "GridTable5DarkAccent6", "GridTable6ColorfulAccent6", "GridTable7ColorfulAccent6", "ListTable1Light", "ListTable2", "ListTable3", "ListTable4", "ListTable5Dark", "ListTable6Colorful", "ListTable7Colorful", "ListTable1LightAccent1", "ListTable2Accent1", "ListTable3Accent1", "ListTable4Accent1", "ListTable5DarkAccent1", "ListTable6ColorfulAccent1", "ListTable7ColorfulAccent1", "ListTable1LightAccent2", "ListTable2Accent2", "ListTable3Accent2", "ListTable4Accent2", "ListTable5DarkAccent2", "ListTable6ColorfulAccent2", "ListTable7ColorfulAccent2", "ListTable1LightAccent3", "ListTable2Accent3", "ListTable3Accent3", "ListTable4Accent3", "ListTable5DarkAccent3", "ListTable6ColorfulAccent3", "ListTable7ColorfulAccent3", "ListTable1LightAccent4", "ListTable2Accent4", "ListTable3Accent4", "ListTable4Accent4", "ListTable5DarkAccent4", "ListTable6ColorfulAccent4", "ListTable7ColorfulAccent4", "ListTable1LightAccent5", "ListTable2Accent5", "ListTable3Accent5", "ListTable4Accent5", "ListTable5DarkAccent5", "ListTable6ColorfulAccent5", "ListTable7ColorfulAccent5", "ListTable1LightAccent6", "ListTable2Accent6", "ListTable3Accent6", "ListTable4Accent6", "ListTable5DarkAccent6", "ListTable6ColorfulAccent6", "ListTable7ColorfulAccent6", "SmartLink", "Mention", "SmartHyperlink", "Hashtag", "UnresolvedMention", "User", "Nil"])
|
198
|
+
return false unless style_identifier_validator.valid?(@style_identifier)
|
199
199
|
|
200
200
|
return true
|
201
201
|
end
|
202
202
|
|
203
|
-
# Custom attribute writer method checking allowed values (enum).
|
204
|
-
# @param [Object] style_identifier Object to be assigned
|
205
|
-
def style_identifier=(style_identifier)
|
206
|
-
validator = EnumAttributeValidator.new('String', ["Normal", "Heading1", "Heading2", "Heading3", "Heading4", "Heading5", "Heading6", "Heading7", "Heading8", "Heading9", "Index1", "Index2", "Index3", "Index4", "Index5", "Index6", "Index7", "Index8", "Index9", "Toc1", "Toc2", "Toc3", "Toc4", "Toc5", "Toc6", "Toc7", "Toc8", "Toc9", "NormalIndent", "FootnoteText", "CommentText", "Header", "Footer", "IndexHeading", "Caption", "TableOfFigures", "EnvelopeAddress", "EnvelopeReturn", "FootnoteReference", "CommentReference", "LineNumber", "PageNumber", "EndnoteReference", "EndnoteText", "TableOfAuthorities", "Macro", "ToaHeading", "List", "ListBullet", "ListNumber", "List2", "List3", "List4", "List5", "ListBullet2", "ListBullet3", "ListBullet4", "ListBullet5", "ListNumber2", "ListNumber3", "ListNumber4", "ListNumber5", "Title", "Closing", "Signature", "DefaultParagraphFont", "BodyText", "BodyTextInd", "ListContinue", "ListContinue2", "ListContinue3", "ListContinue4", "ListContinue5", "MessageHeader", "Subtitle", "Salutation", "Date", "BodyText1I", "BodyText1I2", "NoteHeading", "BodyText2", "BodyText3", "BodyTextInd2", "BodyTextInd3", "BlockText", "Hyperlink", "FollowedHyperlink", "Strong", "Emphasis", "DocumentMap", "PlainText", "EmailSignature", "HtmlTopOfForm", "HtmlBottomOfForm", "NormalWeb", "HtmlAcronym", "HtmlAddress", "HtmlCite", "HtmlCode", "HtmlDefinition", "HtmlKeyboard", "HtmlPreformatted", "HtmlSample", "HtmlTypewriter", "HtmlVariable", "TableNormal", "CommentSubject", "NoList", "OutlineList1", "OutlineList2", "OutlineList3", "TableSimple1", "TableSimple2", "TableSimple3", "TableClassic1", "TableClassic2", "TableClassic3", "TableClassic4", "TableColorful1", "TableColorful2", "TableColorful3", "TableColumns1", "TableColumns2", "TableColumns3", "TableColumns4", "TableColumns5", "TableGrid1", "TableGrid2", "TableGrid3", "TableGrid4", "TableGrid5", "TableGrid6", "TableGrid7", "TableGrid8", "TableList1", "TableList2", "TableList3", "TableList4", "TableList5", "TableList6", "TableList7", "TableList8", "Table3DEffects1", "Table3DEffects2", "Table3DEffects3", "TableContemporary", "TableElegant", "TableProfessional", "TableSubtle1", "TableSubtle2", "TableWeb1", "TableWeb2", "TableWeb3", "BalloonText", "TableGrid", "TableTheme", "PlaceholderText", "NoSpacing", "LightShading", "LightList", "LightGrid", "MediumShading1", "MediumShading2", "MediumList1", "MediumList2", "MediumGrid1", "MediumGrid2", "MediumGrid3", "DarkList", "ColorfulShading", "ColorfulList", "ColorfulGrid", "LightShadingAccent1", "LightListAccent1", "LightGridAccent1", "MediumShading1Accent1", "MediumShading2Accent1", "MediumList1Accent1", "Revision", "ListParagraph", "Quote", "IntenseQuote", "MediumList2Accent1", "MediumGrid1Accent1", "MediumGrid2Accent1", "MediumGrid3Accent1", "DarkListAccent1", "ColorfulShadingAccent1", "ColorfulListAccent1", "ColorfulGridAccent1", "LightShadingAccent2", "LightListAccent2", "LightGridAccent2", "MediumShading1Accent2", "MediumShading2Accent2", "MediumList1Accent2", "MediumList2Accent2", "MediumGrid1Accent2", "MediumGrid2Accent2", "MediumGrid3Accent2", "DarkListAccent2", "ColorfulShadingAccent2", "ColorfulListAccent2", "ColorfulGridAccent2", "LightShadingAccent3", "LightListAccent3", "LightGridAccent3", "MediumShading1Accent3", "MediumShading2Accent3", "MediumList1Accent3", "MediumList2Accent3", "MediumGrid1Accent3", "MediumGrid2Accent3", "MediumGrid3Accent3", "DarkListAccent3", "ColorfulShadingAccent3", "ColorfulListAccent3", "ColorfulGridAccent3", "LightShadingAccent4", "LightListAccent4", "LightGridAccent4", "MediumShading1Accent4", "MediumShading2Accent4", "MediumList1Accent4", "MediumList2Accent4", "MediumGrid1Accent4", "MediumGrid2Accent4", "MediumGrid3Accent4", "DarkListAccent4", "ColorfulShadingAccent4", "ColorfulListAccent4", "ColorfulGridAccent4", "LightShadingAccent5", "LightListAccent5", "LightGridAccent5", "MediumShading1Accent5", "MediumShading2Accent5", "MediumList1Accent5", "MediumList2Accent5", "MediumGrid1Accent5", "MediumGrid2Accent5", "MediumGrid3Accent5", "DarkListAccent5", "ColorfulShadingAccent5", "ColorfulListAccent5", "ColorfulGridAccent5", "LightShadingAccent6", "LightListAccent6", "LightGridAccent6", "MediumShading1Accent6", "MediumShading2Accent6", "MediumList1Accent6", "MediumList2Accent6", "MediumGrid1Accent6", "MediumGrid2Accent6", "MediumGrid3Accent6", "DarkListAccent6", "ColorfulShadingAccent6", "ColorfulListAccent6", "ColorfulGridAccent6", "SubtleEmphasis", "IntenseEmphasis", "SubtleReference", "IntenseReference", "BookTitle", "Bibliography", "TocHeading", "PlainTable1", "PlainTable2", "PlainTable3", "PlainTable4", "PlainTable5", "TableGridLight", "GridTable1Light", "GridTable2", "GridTable3", "GridTable4", "GridTable5Dark", "GridTable6Colorful", "GridTable7Colorful", "GridTable1LightAccent1", "GridTable2Accent1", "GridTable3Accent1", "GridTable4Accent1", "GridTable5DarkAccent1", "GridTable6ColorfulAccent1", "GridTable7ColorfulAccent1", "GridTable1LightAccent2", "GridTable2Accent2", "GridTable3Accent2", "GridTable4Accent2", "GridTable5DarkAccent2", "GridTable6ColorfulAccent2", "GridTable7ColorfulAccent2", "GridTable1LightAccent3", "GridTable2Accent3", "GridTable3Accent3", "GridTable4Accent3", "GridTable5DarkAccent3", "GridTable6ColorfulAccent3", "GridTable7ColorfulAccent3", "GridTable1LightAccent4", "GridTable2Accent4", "GridTable3Accent4", "GridTable4Accent4", "GridTable5DarkAccent4", "GridTable6ColorfulAccent4", "GridTable7ColorfulAccent4", "GridTable1LightAccent5", "GridTable2Accent5", "GridTable3Accent5", "GridTable4Accent5", "GridTable5DarkAccent5", "GridTable6ColorfulAccent5", "GridTable7ColorfulAccent5", "GridTable1LightAccent6", "GridTable2Accent6", "GridTable3Accent6", "GridTable4Accent6", "GridTable5DarkAccent6", "GridTable6ColorfulAccent6", "GridTable7ColorfulAccent6", "ListTable1Light", "ListTable2", "ListTable3", "ListTable4", "ListTable5Dark", "ListTable6Colorful", "ListTable7Colorful", "ListTable1LightAccent1", "ListTable2Accent1", "ListTable3Accent1", "ListTable4Accent1", "ListTable5DarkAccent1", "ListTable6ColorfulAccent1", "ListTable7ColorfulAccent1", "ListTable1LightAccent2", "ListTable2Accent2", "ListTable3Accent2", "ListTable4Accent2", "ListTable5DarkAccent2", "ListTable6ColorfulAccent2", "ListTable7ColorfulAccent2", "ListTable1LightAccent3", "ListTable2Accent3", "ListTable3Accent3", "ListTable4Accent3", "ListTable5DarkAccent3", "ListTable6ColorfulAccent3", "ListTable7ColorfulAccent3", "ListTable1LightAccent4", "ListTable2Accent4", "ListTable3Accent4", "ListTable4Accent4", "ListTable5DarkAccent4", "ListTable6ColorfulAccent4", "ListTable7ColorfulAccent4", "ListTable1LightAccent5", "ListTable2Accent5", "ListTable3Accent5", "ListTable4Accent5", "ListTable5DarkAccent5", "ListTable6ColorfulAccent5", "ListTable7ColorfulAccent5", "ListTable1LightAccent6", "ListTable2Accent6", "ListTable3Accent6", "ListTable4Accent6", "ListTable5DarkAccent6", "ListTable6ColorfulAccent6", "ListTable7ColorfulAccent6", "SmartLink", "Mention", "SmartHyperlink", "Hashtag", "UnresolvedMention", "User", "Nil"])
|
207
|
-
if style_identifier.to_i == 0
|
208
|
-
unless validator.valid?(style_identifier)
|
209
|
-
raise ArgumentError, "invalid value for 'style_identifier', must be one of #{validator.allowable_values}."
|
210
|
-
end
|
211
|
-
@style_identifier = style_identifier
|
212
|
-
else
|
213
|
-
@style_identifier = validator.allowable_values[style_identifier.to_i]
|
214
|
-
end
|
215
|
-
end
|
216
|
-
|
217
203
|
# Custom attribute writer method checking allowed values (enum).
|
218
204
|
# @param [Object] type Object to be assigned
|
219
205
|
def type=(type)
|
@@ -228,6 +214,20 @@ module AsposeWordsCloud
|
|
228
214
|
end
|
229
215
|
end
|
230
216
|
|
217
|
+
# Custom attribute writer method checking allowed values (enum).
|
218
|
+
# @param [Object] style_identifier Object to be assigned
|
219
|
+
def style_identifier=(style_identifier)
|
220
|
+
validator = EnumAttributeValidator.new('String', ["Normal", "Heading1", "Heading2", "Heading3", "Heading4", "Heading5", "Heading6", "Heading7", "Heading8", "Heading9", "Index1", "Index2", "Index3", "Index4", "Index5", "Index6", "Index7", "Index8", "Index9", "Toc1", "Toc2", "Toc3", "Toc4", "Toc5", "Toc6", "Toc7", "Toc8", "Toc9", "NormalIndent", "FootnoteText", "CommentText", "Header", "Footer", "IndexHeading", "Caption", "TableOfFigures", "EnvelopeAddress", "EnvelopeReturn", "FootnoteReference", "CommentReference", "LineNumber", "PageNumber", "EndnoteReference", "EndnoteText", "TableOfAuthorities", "Macro", "ToaHeading", "List", "ListBullet", "ListNumber", "List2", "List3", "List4", "List5", "ListBullet2", "ListBullet3", "ListBullet4", "ListBullet5", "ListNumber2", "ListNumber3", "ListNumber4", "ListNumber5", "Title", "Closing", "Signature", "DefaultParagraphFont", "BodyText", "BodyTextInd", "ListContinue", "ListContinue2", "ListContinue3", "ListContinue4", "ListContinue5", "MessageHeader", "Subtitle", "Salutation", "Date", "BodyText1I", "BodyText1I2", "NoteHeading", "BodyText2", "BodyText3", "BodyTextInd2", "BodyTextInd3", "BlockText", "Hyperlink", "FollowedHyperlink", "Strong", "Emphasis", "DocumentMap", "PlainText", "EmailSignature", "HtmlTopOfForm", "HtmlBottomOfForm", "NormalWeb", "HtmlAcronym", "HtmlAddress", "HtmlCite", "HtmlCode", "HtmlDefinition", "HtmlKeyboard", "HtmlPreformatted", "HtmlSample", "HtmlTypewriter", "HtmlVariable", "TableNormal", "CommentSubject", "NoList", "OutlineList1", "OutlineList2", "OutlineList3", "TableSimple1", "TableSimple2", "TableSimple3", "TableClassic1", "TableClassic2", "TableClassic3", "TableClassic4", "TableColorful1", "TableColorful2", "TableColorful3", "TableColumns1", "TableColumns2", "TableColumns3", "TableColumns4", "TableColumns5", "TableGrid1", "TableGrid2", "TableGrid3", "TableGrid4", "TableGrid5", "TableGrid6", "TableGrid7", "TableGrid8", "TableList1", "TableList2", "TableList3", "TableList4", "TableList5", "TableList6", "TableList7", "TableList8", "Table3DEffects1", "Table3DEffects2", "Table3DEffects3", "TableContemporary", "TableElegant", "TableProfessional", "TableSubtle1", "TableSubtle2", "TableWeb1", "TableWeb2", "TableWeb3", "BalloonText", "TableGrid", "TableTheme", "PlaceholderText", "NoSpacing", "LightShading", "LightList", "LightGrid", "MediumShading1", "MediumShading2", "MediumList1", "MediumList2", "MediumGrid1", "MediumGrid2", "MediumGrid3", "DarkList", "ColorfulShading", "ColorfulList", "ColorfulGrid", "LightShadingAccent1", "LightListAccent1", "LightGridAccent1", "MediumShading1Accent1", "MediumShading2Accent1", "MediumList1Accent1", "Revision", "ListParagraph", "Quote", "IntenseQuote", "MediumList2Accent1", "MediumGrid1Accent1", "MediumGrid2Accent1", "MediumGrid3Accent1", "DarkListAccent1", "ColorfulShadingAccent1", "ColorfulListAccent1", "ColorfulGridAccent1", "LightShadingAccent2", "LightListAccent2", "LightGridAccent2", "MediumShading1Accent2", "MediumShading2Accent2", "MediumList1Accent2", "MediumList2Accent2", "MediumGrid1Accent2", "MediumGrid2Accent2", "MediumGrid3Accent2", "DarkListAccent2", "ColorfulShadingAccent2", "ColorfulListAccent2", "ColorfulGridAccent2", "LightShadingAccent3", "LightListAccent3", "LightGridAccent3", "MediumShading1Accent3", "MediumShading2Accent3", "MediumList1Accent3", "MediumList2Accent3", "MediumGrid1Accent3", "MediumGrid2Accent3", "MediumGrid3Accent3", "DarkListAccent3", "ColorfulShadingAccent3", "ColorfulListAccent3", "ColorfulGridAccent3", "LightShadingAccent4", "LightListAccent4", "LightGridAccent4", "MediumShading1Accent4", "MediumShading2Accent4", "MediumList1Accent4", "MediumList2Accent4", "MediumGrid1Accent4", "MediumGrid2Accent4", "MediumGrid3Accent4", "DarkListAccent4", "ColorfulShadingAccent4", "ColorfulListAccent4", "ColorfulGridAccent4", "LightShadingAccent5", "LightListAccent5", "LightGridAccent5", "MediumShading1Accent5", "MediumShading2Accent5", "MediumList1Accent5", "MediumList2Accent5", "MediumGrid1Accent5", "MediumGrid2Accent5", "MediumGrid3Accent5", "DarkListAccent5", "ColorfulShadingAccent5", "ColorfulListAccent5", "ColorfulGridAccent5", "LightShadingAccent6", "LightListAccent6", "LightGridAccent6", "MediumShading1Accent6", "MediumShading2Accent6", "MediumList1Accent6", "MediumList2Accent6", "MediumGrid1Accent6", "MediumGrid2Accent6", "MediumGrid3Accent6", "DarkListAccent6", "ColorfulShadingAccent6", "ColorfulListAccent6", "ColorfulGridAccent6", "SubtleEmphasis", "IntenseEmphasis", "SubtleReference", "IntenseReference", "BookTitle", "Bibliography", "TocHeading", "PlainTable1", "PlainTable2", "PlainTable3", "PlainTable4", "PlainTable5", "TableGridLight", "GridTable1Light", "GridTable2", "GridTable3", "GridTable4", "GridTable5Dark", "GridTable6Colorful", "GridTable7Colorful", "GridTable1LightAccent1", "GridTable2Accent1", "GridTable3Accent1", "GridTable4Accent1", "GridTable5DarkAccent1", "GridTable6ColorfulAccent1", "GridTable7ColorfulAccent1", "GridTable1LightAccent2", "GridTable2Accent2", "GridTable3Accent2", "GridTable4Accent2", "GridTable5DarkAccent2", "GridTable6ColorfulAccent2", "GridTable7ColorfulAccent2", "GridTable1LightAccent3", "GridTable2Accent3", "GridTable3Accent3", "GridTable4Accent3", "GridTable5DarkAccent3", "GridTable6ColorfulAccent3", "GridTable7ColorfulAccent3", "GridTable1LightAccent4", "GridTable2Accent4", "GridTable3Accent4", "GridTable4Accent4", "GridTable5DarkAccent4", "GridTable6ColorfulAccent4", "GridTable7ColorfulAccent4", "GridTable1LightAccent5", "GridTable2Accent5", "GridTable3Accent5", "GridTable4Accent5", "GridTable5DarkAccent5", "GridTable6ColorfulAccent5", "GridTable7ColorfulAccent5", "GridTable1LightAccent6", "GridTable2Accent6", "GridTable3Accent6", "GridTable4Accent6", "GridTable5DarkAccent6", "GridTable6ColorfulAccent6", "GridTable7ColorfulAccent6", "ListTable1Light", "ListTable2", "ListTable3", "ListTable4", "ListTable5Dark", "ListTable6Colorful", "ListTable7Colorful", "ListTable1LightAccent1", "ListTable2Accent1", "ListTable3Accent1", "ListTable4Accent1", "ListTable5DarkAccent1", "ListTable6ColorfulAccent1", "ListTable7ColorfulAccent1", "ListTable1LightAccent2", "ListTable2Accent2", "ListTable3Accent2", "ListTable4Accent2", "ListTable5DarkAccent2", "ListTable6ColorfulAccent2", "ListTable7ColorfulAccent2", "ListTable1LightAccent3", "ListTable2Accent3", "ListTable3Accent3", "ListTable4Accent3", "ListTable5DarkAccent3", "ListTable6ColorfulAccent3", "ListTable7ColorfulAccent3", "ListTable1LightAccent4", "ListTable2Accent4", "ListTable3Accent4", "ListTable4Accent4", "ListTable5DarkAccent4", "ListTable6ColorfulAccent4", "ListTable7ColorfulAccent4", "ListTable1LightAccent5", "ListTable2Accent5", "ListTable3Accent5", "ListTable4Accent5", "ListTable5DarkAccent5", "ListTable6ColorfulAccent5", "ListTable7ColorfulAccent5", "ListTable1LightAccent6", "ListTable2Accent6", "ListTable3Accent6", "ListTable4Accent6", "ListTable5DarkAccent6", "ListTable6ColorfulAccent6", "ListTable7ColorfulAccent6", "SmartLink", "Mention", "SmartHyperlink", "Hashtag", "UnresolvedMention", "User", "Nil"])
|
221
|
+
if style_identifier.to_i == 0
|
222
|
+
unless validator.valid?(style_identifier)
|
223
|
+
raise ArgumentError, "invalid value for 'style_identifier', must be one of #{validator.allowable_values}."
|
224
|
+
end
|
225
|
+
@style_identifier = style_identifier
|
226
|
+
else
|
227
|
+
@style_identifier = validator.allowable_values[style_identifier.to_i]
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
231
|
|
232
232
|
# Checks equality by comparing each attribute.
|
233
233
|
# @param [Object] Object to be compared
|
@@ -235,17 +235,17 @@ module AsposeWordsCloud
|
|
235
235
|
return true if self.equal?(other)
|
236
236
|
self.class == other.class &&
|
237
237
|
link == other.link &&
|
238
|
-
aliases == other.aliases &&
|
239
|
-
base_style_name == other.base_style_name &&
|
240
|
-
built_in == other.built_in &&
|
241
238
|
font == other.font &&
|
242
|
-
|
239
|
+
built_in == other.built_in &&
|
240
|
+
next_paragraph_style_name == other.next_paragraph_style_name &&
|
241
|
+
base_style_name == other.base_style_name &&
|
243
242
|
is_quick_style == other.is_quick_style &&
|
244
243
|
linked_style_name == other.linked_style_name &&
|
245
|
-
|
246
|
-
|
244
|
+
type == other.type &&
|
245
|
+
is_heading == other.is_heading &&
|
246
|
+
aliases == other.aliases &&
|
247
247
|
style_identifier == other.style_identifier &&
|
248
|
-
|
248
|
+
name == other.name
|
249
249
|
end
|
250
250
|
|
251
251
|
# @see the `==` method
|
@@ -257,7 +257,7 @@ module AsposeWordsCloud
|
|
257
257
|
# Calculates hash code according to all attributes.
|
258
258
|
# @return [Fixnum] Hash code
|
259
259
|
def hash
|
260
|
-
[link,
|
260
|
+
[link, font, built_in, next_paragraph_style_name, base_style_name, is_quick_style, linked_style_name, type, is_heading, aliases, style_identifier, name].hash
|
261
261
|
end
|
262
262
|
|
263
263
|
# Builds the object from hash
|
@@ -107,15 +107,15 @@ module AsposeWordsCloud
|
|
107
107
|
# Gets or sets the name of the folder used to construct image URIs.
|
108
108
|
attr_accessor :resources_folder_alias
|
109
109
|
|
110
|
-
# Gets the format of save.
|
111
|
-
attr_accessor :save_format
|
112
|
-
|
113
110
|
# Gets or sets a value indicating whether to show or hide page stepper.
|
114
111
|
attr_accessor :show_page_border
|
115
112
|
|
116
113
|
# Gets or sets the option that controls how text should be rendered.
|
117
114
|
attr_accessor :text_output_mode
|
118
115
|
|
116
|
+
# Gets the format of save.
|
117
|
+
attr_accessor :save_format
|
118
|
+
|
119
119
|
class EnumAttributeValidator
|
120
120
|
attr_reader :datatype
|
121
121
|
attr_reader :allowable_values
|
@@ -165,9 +165,9 @@ module AsposeWordsCloud
|
|
165
165
|
:'fit_to_view_port' => :'FitToViewPort',
|
166
166
|
:'resources_folder' => :'ResourcesFolder',
|
167
167
|
:'resources_folder_alias' => :'ResourcesFolderAlias',
|
168
|
-
:'save_format' => :'SaveFormat',
|
169
168
|
:'show_page_border' => :'ShowPageBorder',
|
170
|
-
:'text_output_mode' => :'TextOutputMode'
|
169
|
+
:'text_output_mode' => :'TextOutputMode',
|
170
|
+
:'save_format' => :'SaveFormat'
|
171
171
|
}
|
172
172
|
end
|
173
173
|
|
@@ -198,9 +198,9 @@ module AsposeWordsCloud
|
|
198
198
|
:'fit_to_view_port' => :'BOOLEAN',
|
199
199
|
:'resources_folder' => :'String',
|
200
200
|
:'resources_folder_alias' => :'String',
|
201
|
-
:'save_format' => :'String',
|
202
201
|
:'show_page_border' => :'BOOLEAN',
|
203
|
-
:'text_output_mode' => :'String'
|
202
|
+
:'text_output_mode' => :'String',
|
203
|
+
:'save_format' => :'String'
|
204
204
|
}
|
205
205
|
end
|
206
206
|
|
@@ -475,9 +475,9 @@ module AsposeWordsCloud
|
|
475
475
|
fit_to_view_port == other.fit_to_view_port &&
|
476
476
|
resources_folder == other.resources_folder &&
|
477
477
|
resources_folder_alias == other.resources_folder_alias &&
|
478
|
-
save_format == other.save_format &&
|
479
478
|
show_page_border == other.show_page_border &&
|
480
|
-
text_output_mode == other.text_output_mode
|
479
|
+
text_output_mode == other.text_output_mode &&
|
480
|
+
save_format == other.save_format
|
481
481
|
end
|
482
482
|
|
483
483
|
# @see the `==` method
|
@@ -489,7 +489,7 @@ module AsposeWordsCloud
|
|
489
489
|
# Calculates hash code according to all attributes.
|
490
490
|
# @return [Fixnum] Hash code
|
491
491
|
def hash
|
492
|
-
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, export_embedded_images, fit_to_view_port, resources_folder, resources_folder_alias,
|
492
|
+
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, export_embedded_images, fit_to_view_port, resources_folder, resources_folder_alias, show_page_border, text_output_mode, save_format].hash
|
493
493
|
end
|
494
494
|
|
495
495
|
# Builds the object from hash
|
@@ -35,18 +35,18 @@ module AsposeWordsCloud
|
|
35
35
|
# Gets or sets the node id.
|
36
36
|
attr_accessor :node_id
|
37
37
|
|
38
|
-
# Gets or sets table properties.
|
39
|
-
attr_accessor :table_properties
|
40
|
-
|
41
38
|
# Gets or sets the collection of table's rows.
|
42
39
|
attr_accessor :table_row_list
|
40
|
+
|
41
|
+
# Gets or sets table properties.
|
42
|
+
attr_accessor :table_properties
|
43
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
44
|
def self.attribute_map
|
45
45
|
{
|
46
46
|
:'link' => :'Link',
|
47
47
|
:'node_id' => :'NodeId',
|
48
|
-
:'
|
49
|
-
:'
|
48
|
+
:'table_row_list' => :'TableRowList',
|
49
|
+
:'table_properties' => :'TableProperties'
|
50
50
|
}
|
51
51
|
end
|
52
52
|
|
@@ -55,8 +55,8 @@ module AsposeWordsCloud
|
|
55
55
|
{
|
56
56
|
:'link' => :'WordsApiLink',
|
57
57
|
:'node_id' => :'String',
|
58
|
-
:'
|
59
|
-
:'
|
58
|
+
:'table_row_list' => :'Array<TableRow>',
|
59
|
+
:'table_properties' => :'TableProperties'
|
60
60
|
}
|
61
61
|
end
|
62
62
|
|
@@ -76,15 +76,15 @@ module AsposeWordsCloud
|
|
76
76
|
self.node_id = attributes[:'NodeId']
|
77
77
|
end
|
78
78
|
|
79
|
-
if attributes.key?(:'TableProperties')
|
80
|
-
self.table_properties = attributes[:'TableProperties']
|
81
|
-
end
|
82
|
-
|
83
79
|
if attributes.key?(:'TableRowList')
|
84
80
|
if (value = attributes[:'TableRowList']).is_a?(Array)
|
85
81
|
self.table_row_list = value
|
86
82
|
end
|
87
83
|
end
|
84
|
+
|
85
|
+
if attributes.key?(:'TableProperties')
|
86
|
+
self.table_properties = attributes[:'TableProperties']
|
87
|
+
end
|
88
88
|
end
|
89
89
|
|
90
90
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -107,8 +107,8 @@ module AsposeWordsCloud
|
|
107
107
|
self.class == other.class &&
|
108
108
|
link == other.link &&
|
109
109
|
node_id == other.node_id &&
|
110
|
-
|
111
|
-
|
110
|
+
table_row_list == other.table_row_list &&
|
111
|
+
table_properties == other.table_properties
|
112
112
|
end
|
113
113
|
|
114
114
|
# @see the `==` method
|
@@ -120,7 +120,7 @@ module AsposeWordsCloud
|
|
120
120
|
# Calculates hash code according to all attributes.
|
121
121
|
# @return [Fixnum] Hash code
|
122
122
|
def hash
|
123
|
-
[link, node_id,
|
123
|
+
[link, node_id, table_row_list, table_properties].hash
|
124
124
|
end
|
125
125
|
|
126
126
|
# Builds the object from hash
|
@@ -35,18 +35,18 @@ module AsposeWordsCloud
|
|
35
35
|
# Gets or sets the node id.
|
36
36
|
attr_accessor :node_id
|
37
37
|
|
38
|
-
# Gets or sets the formatting properties of a row.
|
39
|
-
attr_accessor :row_format
|
40
|
-
|
41
38
|
# Gets or sets the collection of rows.
|
42
39
|
attr_accessor :table_cell_list
|
40
|
+
|
41
|
+
# Gets or sets the formatting properties of a row.
|
42
|
+
attr_accessor :row_format
|
43
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
44
|
def self.attribute_map
|
45
45
|
{
|
46
46
|
:'link' => :'Link',
|
47
47
|
:'node_id' => :'NodeId',
|
48
|
-
:'
|
49
|
-
:'
|
48
|
+
:'table_cell_list' => :'TableCellList',
|
49
|
+
:'row_format' => :'RowFormat'
|
50
50
|
}
|
51
51
|
end
|
52
52
|
|
@@ -55,8 +55,8 @@ module AsposeWordsCloud
|
|
55
55
|
{
|
56
56
|
:'link' => :'WordsApiLink',
|
57
57
|
:'node_id' => :'String',
|
58
|
-
:'
|
59
|
-
:'
|
58
|
+
:'table_cell_list' => :'Array<TableCell>',
|
59
|
+
:'row_format' => :'TableRowFormat'
|
60
60
|
}
|
61
61
|
end
|
62
62
|
|
@@ -76,15 +76,15 @@ module AsposeWordsCloud
|
|
76
76
|
self.node_id = attributes[:'NodeId']
|
77
77
|
end
|
78
78
|
|
79
|
-
if attributes.key?(:'RowFormat')
|
80
|
-
self.row_format = attributes[:'RowFormat']
|
81
|
-
end
|
82
|
-
|
83
79
|
if attributes.key?(:'TableCellList')
|
84
80
|
if (value = attributes[:'TableCellList']).is_a?(Array)
|
85
81
|
self.table_cell_list = value
|
86
82
|
end
|
87
83
|
end
|
84
|
+
|
85
|
+
if attributes.key?(:'RowFormat')
|
86
|
+
self.row_format = attributes[:'RowFormat']
|
87
|
+
end
|
88
88
|
end
|
89
89
|
|
90
90
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -107,8 +107,8 @@ module AsposeWordsCloud
|
|
107
107
|
self.class == other.class &&
|
108
108
|
link == other.link &&
|
109
109
|
node_id == other.node_id &&
|
110
|
-
|
111
|
-
|
110
|
+
table_cell_list == other.table_cell_list &&
|
111
|
+
row_format == other.row_format
|
112
112
|
end
|
113
113
|
|
114
114
|
# @see the `==` method
|
@@ -120,7 +120,7 @@ module AsposeWordsCloud
|
|
120
120
|
# Calculates hash code according to all attributes.
|
121
121
|
# @return [Fixnum] Hash code
|
122
122
|
def hash
|
123
|
-
[link, node_id,
|
123
|
+
[link, node_id, table_cell_list, row_format].hash
|
124
124
|
end
|
125
125
|
|
126
126
|
# Builds the object from hash
|