Skip to content

Commit 5ec0dce

Browse files
author
yevgen-nykytenko
committed
Update content 2026-03-25 02:48:06
1 parent 69a2951 commit 5ec0dce

2 files changed

Lines changed: 105 additions & 0 deletions

File tree

  • english/java/com.groupdocs.viewer.options

english/java/com.groupdocs.viewer.options/presentationoptions/_index.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ For details, see the [documentation][].
2929
| --- | --- |
3030
| [isRenderToPureHtml()](#isRenderToPureHtml--) | Enables a new HTML rendering mode for Presentation documents. |
3131
| [setRenderToPureHtml(boolean renderToPureHtml)](#setRenderToPureHtml-boolean-) | Enables a new HTML rendering mode for Presentation documents. |
32+
| [isRenderHeaderFooterPlaceholders()](#isRenderHeaderFooterPlaceholders--) | Enables rendering placeholders in the header and footer of a slide. |
33+
| [setRenderHeaderFooterPlaceholders(boolean renderHeaderFooterPlaceholders)](#setRenderHeaderFooterPlaceholders-boolean-) | Enables rendering placeholders in the header and footer of a slide. |
3234
| [getResolution()](#getResolution--) | Resolution for images inside presentation (for to HTML/PDF rendering only). |
3335
| [setResolution(Resolution resolution)](#setResolution-com.groupdocs.viewer.options.Resolution-) | Resolution for images inside presentation (for to HTML/PDF rendering only). |
3436
### PresentationOptions() {#PresentationOptions--}
@@ -64,6 +66,29 @@ In this mode, the Presentation files are rendered to pure HTML/CSS markup, witho
6466
| --- | --- | --- |
6567
| renderToPureHtml | boolean | |
6668

69+
### isRenderHeaderFooterPlaceholders() {#isRenderHeaderFooterPlaceholders--}
70+
```
71+
public boolean isRenderHeaderFooterPlaceholders()
72+
```
73+
74+
75+
Enables rendering placeholders in the header and footer of a slide. Disabled by default (false). This option applies for all 4 rendering modes of presentations: HTML, PDF, PNG, and JPEG. Is not applicable when rendering presentation to pure HTML/CSS markup using .
76+
77+
**Returns:**
78+
boolean
79+
### setRenderHeaderFooterPlaceholders(boolean renderHeaderFooterPlaceholders) {#setRenderHeaderFooterPlaceholders-boolean-}
80+
```
81+
public void setRenderHeaderFooterPlaceholders(boolean renderHeaderFooterPlaceholders)
82+
```
83+
84+
85+
Enables rendering placeholders in the header and footer of a slide. Disabled by default (false). This option applies for all 4 rendering modes of presentations: HTML, PDF, PNG, and JPEG. Is not applicable when rendering presentation to pure HTML/CSS markup using .
86+
87+
**Parameters:**
88+
| Parameter | Type | Description |
89+
| --- | --- | --- |
90+
| renderHeaderFooterPlaceholders | boolean | |
91+
6792
### getResolution() {#getResolution--}
6893
```
6994
public Resolution getResolution()

english/java/com.groupdocs.viewer.options/spreadsheetoptions/_index.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ Example usage:
7575
| [setTopMargin(double topMargin)](#setTopMargin-double-) | To set top margin of the worksheet when converting to pdf if less than 0 then default convert value is used If the parameter is less than 0, then the default value is used. |
7676
| [getBottomMargin()](#getBottomMargin--) | To set bottom margin of the worksheet when converting to pdf if less than 0 then default convert value is used If the parameter is less than 0, then the default value is used. |
7777
| [setBottomMargin(double bottomMargin)](#setBottomMargin-double-) | To set bottom margin of the worksheet when converting to pdf if less than 0 then default convert value is used If the parameter is less than 0, then the default value is used. |
78+
| [getHorizontalResolution()](#getHorizontalResolution--) | Gets or sets the horizontal resolution for generated images in dots per inch. |
79+
| [setHorizontalResolution(int horizontalResolution)](#setHorizontalResolution-int-) | Sets the horizontal resolution for generated images in dots per inch. |
80+
| [getVerticalResolution()](#getVerticalResolution--) | Gets or sets the vertical resolution for generated images in dots per inch. |
81+
| [setVerticalResolution(int verticalResolution)](#setVerticalResolution-int-) | Sets the vertical resolution for generated images in dots per inch. |
82+
| [getValidHorizontalDpi()](#getValidHorizontalDpi--) | |
83+
| [getValidVerticalDpi()](#getValidVerticalDpi--) | |
7884
| [forRenderingPrintAreaAndPageBreaks()](#forRenderingPrintAreaAndPageBreaks--) | Initializes a new instance of SpreadsheetOptions for rendering print areas and page breaks. |
7985
| [forRenderingByPageBreaks()](#forRenderingByPageBreaks--) | Initializes a new instance of the SpreadsheetOptions class for rendering print areas only. |
8086
### isRenderByPageBreaks() {#isRenderByPageBreaks--}
@@ -648,6 +654,80 @@ To set bottom margin of the worksheet when converting to pdf if less than 0 then
648654
| --- | --- | --- |
649655
| bottomMargin | double | |
650656

657+
### getHorizontalResolution() {#getHorizontalResolution--}
658+
```
659+
public int getHorizontalResolution()
660+
```
661+
662+
663+
Gets or sets the horizontal resolution for generated images in dots per inch. This option is used when rendering spreadsheets to PNG or JPEG formats only.
664+
665+
Default value is 96 DPI. Min possible value - 72 DPI, max possible value - 600 DPI. If the user-specified value is out of these limits, the min or max possible value will be applied.
666+
667+
**Returns:**
668+
int - the horizontal resolution in DPI.
669+
### setHorizontalResolution(int horizontalResolution) {#setHorizontalResolution-int-}
670+
```
671+
public void setHorizontalResolution(int horizontalResolution)
672+
```
673+
674+
675+
Sets the horizontal resolution for generated images in dots per inch. This option is used when rendering spreadsheets to PNG or JPEG formats only.
676+
677+
Default value is 96 DPI. Min possible value - 72 DPI, max possible value - 600 DPI. If the user-specified value is out of these limits, the min or max possible value will be applied.
678+
679+
**Parameters:**
680+
| Parameter | Type | Description |
681+
| --- | --- | --- |
682+
| horizontalResolution | int | the horizontal resolution in DPI. |
683+
684+
### getVerticalResolution() {#getVerticalResolution--}
685+
```
686+
public int getVerticalResolution()
687+
```
688+
689+
690+
Gets or sets the vertical resolution for generated images in dots per inch. This option is used when rendering spreadsheets to PNG or JPEG formats only.
691+
692+
Default value is 96 DPI. Min possible value - 72 DPI, max possible value - 600 DPI. If the user-specified value is out of these limits, the min or max possible value will be applied.
693+
694+
**Returns:**
695+
int - the vertical resolution in DPI.
696+
### setVerticalResolution(int verticalResolution) {#setVerticalResolution-int-}
697+
```
698+
public void setVerticalResolution(int verticalResolution)
699+
```
700+
701+
702+
Sets the vertical resolution for generated images in dots per inch. This option is used when rendering spreadsheets to PNG or JPEG formats only.
703+
704+
Default value is 96 DPI. Min possible value - 72 DPI, max possible value - 600 DPI. If the user-specified value is out of these limits, the min or max possible value will be applied.
705+
706+
**Parameters:**
707+
| Parameter | Type | Description |
708+
| --- | --- | --- |
709+
| verticalResolution | int | the vertical resolution in DPI. |
710+
711+
### getValidHorizontalDpi() {#getValidHorizontalDpi--}
712+
```
713+
public int getValidHorizontalDpi()
714+
```
715+
716+
717+
718+
719+
**Returns:**
720+
int
721+
### getValidVerticalDpi() {#getValidVerticalDpi--}
722+
```
723+
public int getValidVerticalDpi()
724+
```
725+
726+
727+
728+
729+
**Returns:**
730+
int
651731
### forRenderingPrintAreaAndPageBreaks() {#forRenderingPrintAreaAndPageBreaks--}
652732
```
653733
public static SpreadsheetOptions forRenderingPrintAreaAndPageBreaks()

0 commit comments

Comments
 (0)