3636import com .groupdocs .cloud .viewer .model .ArchiveOptions ;
3737import com .groupdocs .cloud .viewer .model .CadOptions ;
3838import com .groupdocs .cloud .viewer .model .EmailOptions ;
39+ import com .groupdocs .cloud .viewer .model .MailStorageOptions ;
3940import com .groupdocs .cloud .viewer .model .OutlookOptions ;
4041import com .groupdocs .cloud .viewer .model .PageRotation ;
4142import com .groupdocs .cloud .viewer .model .PdfDocumentOptions ;
4243import com .groupdocs .cloud .viewer .model .ProjectManagementOptions ;
4344import com .groupdocs .cloud .viewer .model .RenderOptions ;
4445import com .groupdocs .cloud .viewer .model .SpreadsheetOptions ;
46+ import com .groupdocs .cloud .viewer .model .TextOptions ;
47+ import com .groupdocs .cloud .viewer .model .VisioRenderingOptions ;
4548import com .groupdocs .cloud .viewer .model .WordProcessingOptions ;
4649import io .swagger .annotations .ApiModel ;
4750import io .swagger .annotations .ApiModelProperty ;
@@ -72,6 +75,24 @@ public class HtmlOptions extends RenderOptions {
7275 @ SerializedName ("fontsToExclude" )
7376 private List <String > fontsToExclude = null ;
7477
78+ @ SerializedName ("forPrinting" )
79+ private Boolean forPrinting = null ;
80+
81+ @ SerializedName ("imageHeight" )
82+ private Integer imageHeight = null ;
83+
84+ @ SerializedName ("imageWidth" )
85+ private Integer imageWidth = null ;
86+
87+ @ SerializedName ("imageMaxHeight" )
88+ private Integer imageMaxHeight = null ;
89+
90+ @ SerializedName ("imageMaxWidth" )
91+ private Integer imageMaxWidth = null ;
92+
93+ @ SerializedName ("renderToSinglePage" )
94+ private Boolean renderToSinglePage = null ;
95+
7596 public HtmlOptions externalResources (Boolean externalResources ) {
7697 this .externalResources = externalResources ;
7798 return this ;
@@ -188,6 +209,114 @@ public void setFontsToExclude(List<String> fontsToExclude) {
188209 this .fontsToExclude = fontsToExclude ;
189210 }
190211
212+ public HtmlOptions forPrinting (Boolean forPrinting ) {
213+ this .forPrinting = forPrinting ;
214+ return this ;
215+ }
216+
217+ /**
218+ * Indicates whether to optimize output HTML for printing.
219+ * @return forPrinting
220+ **/
221+ @ ApiModelProperty (required = true , value = "Indicates whether to optimize output HTML for printing." )
222+ public Boolean getForPrinting () {
223+ return forPrinting ;
224+ }
225+
226+ public void setForPrinting (Boolean forPrinting ) {
227+ this .forPrinting = forPrinting ;
228+ }
229+
230+ public HtmlOptions imageHeight (Integer imageHeight ) {
231+ this .imageHeight = imageHeight ;
232+ return this ;
233+ }
234+
235+ /**
236+ * The height of an output image in pixels. (When converting single image to HTML only)
237+ * @return imageHeight
238+ **/
239+ @ ApiModelProperty (required = true , value = "The height of an output image in pixels. (When converting single image to HTML only)" )
240+ public Integer getImageHeight () {
241+ return imageHeight ;
242+ }
243+
244+ public void setImageHeight (Integer imageHeight ) {
245+ this .imageHeight = imageHeight ;
246+ }
247+
248+ public HtmlOptions imageWidth (Integer imageWidth ) {
249+ this .imageWidth = imageWidth ;
250+ return this ;
251+ }
252+
253+ /**
254+ * The width of the output image in pixels. (When converting single image to HTML only)
255+ * @return imageWidth
256+ **/
257+ @ ApiModelProperty (required = true , value = "The width of the output image in pixels. (When converting single image to HTML only)" )
258+ public Integer getImageWidth () {
259+ return imageWidth ;
260+ }
261+
262+ public void setImageWidth (Integer imageWidth ) {
263+ this .imageWidth = imageWidth ;
264+ }
265+
266+ public HtmlOptions imageMaxHeight (Integer imageMaxHeight ) {
267+ this .imageMaxHeight = imageMaxHeight ;
268+ return this ;
269+ }
270+
271+ /**
272+ * Max height of an output image in pixels. (When converting single image to HTML only)
273+ * @return imageMaxHeight
274+ **/
275+ @ ApiModelProperty (required = true , value = "Max height of an output image in pixels. (When converting single image to HTML only)" )
276+ public Integer getImageMaxHeight () {
277+ return imageMaxHeight ;
278+ }
279+
280+ public void setImageMaxHeight (Integer imageMaxHeight ) {
281+ this .imageMaxHeight = imageMaxHeight ;
282+ }
283+
284+ public HtmlOptions imageMaxWidth (Integer imageMaxWidth ) {
285+ this .imageMaxWidth = imageMaxWidth ;
286+ return this ;
287+ }
288+
289+ /**
290+ * Max width of an output image in pixels. (When converting single image to HTML only)
291+ * @return imageMaxWidth
292+ **/
293+ @ ApiModelProperty (required = true , value = "Max width of an output image in pixels. (When converting single image to HTML only)" )
294+ public Integer getImageMaxWidth () {
295+ return imageMaxWidth ;
296+ }
297+
298+ public void setImageMaxWidth (Integer imageMaxWidth ) {
299+ this .imageMaxWidth = imageMaxWidth ;
300+ }
301+
302+ public HtmlOptions renderToSinglePage (Boolean renderToSinglePage ) {
303+ this .renderToSinglePage = renderToSinglePage ;
304+ return this ;
305+ }
306+
307+ /**
308+ * Enables HTML content will be rendered to single page
309+ * @return renderToSinglePage
310+ **/
311+ @ ApiModelProperty (required = true , value = "Enables HTML content will be rendered to single page" )
312+ public Boolean getRenderToSinglePage () {
313+ return renderToSinglePage ;
314+ }
315+
316+ public void setRenderToSinglePage (Boolean renderToSinglePage ) {
317+ this .renderToSinglePage = renderToSinglePage ;
318+ }
319+
191320
192321 @ Override
193322 public boolean equals (java .lang .Object o ) {
@@ -204,12 +333,18 @@ public boolean equals(java.lang.Object o) {
204333 Objects .equals (this .minify , htmlOptions .minify ) &&
205334 Objects .equals (this .excludeFonts , htmlOptions .excludeFonts ) &&
206335 Objects .equals (this .fontsToExclude , htmlOptions .fontsToExclude ) &&
336+ Objects .equals (this .forPrinting , htmlOptions .forPrinting ) &&
337+ Objects .equals (this .imageHeight , htmlOptions .imageHeight ) &&
338+ Objects .equals (this .imageWidth , htmlOptions .imageWidth ) &&
339+ Objects .equals (this .imageMaxHeight , htmlOptions .imageMaxHeight ) &&
340+ Objects .equals (this .imageMaxWidth , htmlOptions .imageMaxWidth ) &&
341+ Objects .equals (this .renderToSinglePage , htmlOptions .renderToSinglePage ) &&
207342 super .equals (o );
208343 }
209344
210345 @ Override
211346 public int hashCode () {
212- return Objects .hash (externalResources , resourcePath , isResponsive , minify , excludeFonts , fontsToExclude , super .hashCode ());
347+ return Objects .hash (externalResources , resourcePath , isResponsive , minify , excludeFonts , fontsToExclude , forPrinting , imageHeight , imageWidth , imageMaxHeight , imageMaxWidth , renderToSinglePage , super .hashCode ());
213348 }
214349
215350
@@ -224,6 +359,12 @@ public String toString() {
224359 sb .append (" minify: " ).append (toIndentedString (minify )).append ("\n " );
225360 sb .append (" excludeFonts: " ).append (toIndentedString (excludeFonts )).append ("\n " );
226361 sb .append (" fontsToExclude: " ).append (toIndentedString (fontsToExclude )).append ("\n " );
362+ sb .append (" forPrinting: " ).append (toIndentedString (forPrinting )).append ("\n " );
363+ sb .append (" imageHeight: " ).append (toIndentedString (imageHeight )).append ("\n " );
364+ sb .append (" imageWidth: " ).append (toIndentedString (imageWidth )).append ("\n " );
365+ sb .append (" imageMaxHeight: " ).append (toIndentedString (imageMaxHeight )).append ("\n " );
366+ sb .append (" imageMaxWidth: " ).append (toIndentedString (imageMaxWidth )).append ("\n " );
367+ sb .append (" renderToSinglePage: " ).append (toIndentedString (renderToSinglePage )).append ("\n " );
227368 sb .append ("}" );
228369 return sb .toString ();
229370 }
0 commit comments