You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/java/english/com.aspose.slides/_index.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -249,6 +249,7 @@ url: /com.aspose.slides/
249
249
|[GroupShape](../com.aspose.slides/groupshape)| Represents a group of shapes on a slide. |
250
250
|[GroupShapeLock](../com.aspose.slides/groupshapelock)| Determines which operations are disabled on the parent GroupShape. |
251
251
|[HSL](../com.aspose.slides/hsl)| Represents a Hue/Saturation/Luminance effect. |
252
+
|[HandleRepeatedSpaces](../com.aspose.slides/handlerepeatedspaces)| Specifies how repeated regular space characters should be handled during Markdown export. |
252
253
|[HandoutLayoutingOptions](../com.aspose.slides/handoutlayoutingoptions)| Represents the handout presentation layout mode for export. |
253
254
|[HandoutType](../com.aspose.slides/handouttype)| Specifies how many slides and in what sequence will be placed on the page. |
254
255
|[HeadingPair](../com.aspose.slides/headingpair)| Represents a 'Heading pair' property of the document. |
public final class HandleRepeatedSpaces extends System.Enum
12
+
```
13
+
14
+
Specifies how repeated regular space characters should be handled during Markdown export.
15
+
## Fields
16
+
17
+
| Field | Description |
18
+
| --- | --- |
19
+
|[None](#None)| All spaces are preserved as regular space characters without any changes. |
20
+
|[AlternateSpacesToNbsp](#AlternateSpacesToNbsp)| Converts sequences of two or more consecutive regular spaces by alternating between regular space characters and non-breaking space entities ( ). |
21
+
|[MultipleSpacesToNbsp](#MultipleSpacesToNbsp)| Converts sequences of two or more consecutive regular spaces by preserving the first space as a regular space character and replacing all subsequent spaces with non-breaking space entities ( ). |
22
+
### None {#None}
23
+
```
24
+
public static final int None
25
+
```
26
+
27
+
28
+
All spaces are preserved as regular space characters without any changes. No transformation is applied, and multiple consecutive spaces are exported as-is.
Converts sequences of two or more consecutive regular spaces by alternating between regular space characters and non-breaking space entities ( ). The first space is always preserved as a regular space.
37
+
38
+
### MultipleSpacesToNbsp {#MultipleSpacesToNbsp}
39
+
```
40
+
public static final int MultipleSpacesToNbsp
41
+
```
42
+
43
+
44
+
Converts sequences of two or more consecutive regular spaces by preserving the first space as a regular space character and replacing all subsequent spaces with non-breaking space entities ( ).
Copy file name to clipboardExpand all lines: content/java/english/com.aspose.slides/html5options/_index.md
+61Lines changed: 61 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,8 @@ Represents a HTML5 exporting options.
53
53
| [setNotesCommentsLayouting(INotesCommentsLayoutingOptions value)](#setNotesCommentsLayouting-com.aspose.slides.INotesCommentsLayoutingOptions-) | Provides options that control how notes and comments is placed in exported document. |
54
54
| [getDisableFontLigatures()](#getDisableFontLigatures--) | Gets or sets a value indicating whether text is rendered without using ligatures. |
55
55
| [setDisableFontLigatures(boolean value)](#setDisableFontLigatures-boolean-) | Gets or sets a value indicating whether text is rendered without using ligatures. |
56
+
| [getSlidesLayoutOptions()](#getSlidesLayoutOptions--) | Gets or sets the mode in which slides are placed on the page when exporting a presentation [ISlidesLayoutOptions](../../com.aspose.slides/islideslayoutoptions). |
57
+
| [setSlidesLayoutOptions(ISlidesLayoutOptions value)](#setSlidesLayoutOptions-com.aspose.slides.ISlidesLayoutOptions-) | Gets or sets the mode in which slides are placed on the page when exporting a presentation [ISlidesLayoutOptions](../../com.aspose.slides/islideslayoutoptions). |
56
58
### Html5Options() {#Html5Options--}
57
59
```
58
60
public Html5Options()
@@ -397,3 +399,62 @@ Gets or sets a value indicating whether text is rendered without using ligatures
public final ISlidesLayoutOptions getSlidesLayoutOptions()
405
+
```
406
+
407
+
408
+
Gets or sets the mode in which slides are placed on the page when exporting a presentation [ISlidesLayoutOptions](../../com.aspose.slides/islideslayoutoptions).
409
+
410
+
--------------------
411
+
412
+
> ```
413
+
> Example:
414
+
>
415
+
> Presentation pres = new Presentation("pres.pptx");
416
+
> try {
417
+
> HandoutLayoutingOptions handoutLayoutingOptions = new HandoutLayoutingOptions();
public final void setSlidesLayoutOptions(ISlidesLayoutOptions value)
433
+
```
434
+
435
+
436
+
Gets or sets the mode in which slides are placed on the page when exporting a presentation [ISlidesLayoutOptions](../../com.aspose.slides/islideslayoutoptions).
437
+
438
+
--------------------
439
+
440
+
> ```
441
+
> Example:
442
+
>
443
+
> Presentation pres = new Presentation("pres.pptx");
444
+
> try {
445
+
> HandoutLayoutingOptions handoutLayoutingOptions = new HandoutLayoutingOptions();
Copy file name to clipboardExpand all lines: content/java/english/com.aspose.slides/ihtml5options/_index.md
+61Lines changed: 61 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,8 @@ Represents a HTML5 exporting options.
45
45
| [setNotesCommentsLayouting(INotesCommentsLayoutingOptions value)](#setNotesCommentsLayouting-com.aspose.slides.INotesCommentsLayoutingOptions-) | Provides options that control how notes and comments is placed in exported document. |
46
46
| [getDisableFontLigatures()](#getDisableFontLigatures--) | Gets or sets a value indicating whether text is rendered without using ligatures. |
47
47
| [setDisableFontLigatures(boolean value)](#setDisableFontLigatures-boolean-) | Gets or sets a value indicating whether text is rendered without using ligatures. |
48
+
| [getSlidesLayoutOptions()](#getSlidesLayoutOptions--) | Gets or sets the mode in which slides are placed on the page when exporting a presentation [ISlidesLayoutOptions](../../com.aspose.slides/islideslayoutoptions). |
49
+
| [setSlidesLayoutOptions(ISlidesLayoutOptions value)](#setSlidesLayoutOptions-com.aspose.slides.ISlidesLayoutOptions-) | Gets or sets the mode in which slides are placed on the page when exporting a presentation [ISlidesLayoutOptions](../../com.aspose.slides/islideslayoutoptions). |
public abstract ISlidesLayoutOptions getSlidesLayoutOptions()
389
+
```
390
+
391
+
392
+
Gets or sets the mode in which slides are placed on the page when exporting a presentation [ISlidesLayoutOptions](../../com.aspose.slides/islideslayoutoptions).
393
+
394
+
--------------------
395
+
396
+
> ```
397
+
> Example:
398
+
>
399
+
> Presentation pres = new Presentation("pres.pptx");
400
+
> try {
401
+
> HandoutLayoutingOptions handoutLayoutingOptions = new HandoutLayoutingOptions();
public abstract void setSlidesLayoutOptions(ISlidesLayoutOptions value)
417
+
```
418
+
419
+
420
+
Gets or sets the mode in which slides are placed on the page when exporting a presentation [ISlidesLayoutOptions](../../com.aspose.slides/islideslayoutoptions).
421
+
422
+
--------------------
423
+
424
+
> ```
425
+
> Example:
426
+
>
427
+
> Presentation pres = new Presentation("pres.pptx");
428
+
> try {
429
+
> HandoutLayoutingOptions handoutLayoutingOptions = new HandoutLayoutingOptions();
Copy file name to clipboardExpand all lines: content/java/english/com.aspose.slides/islidecollection/_index.md
+76Lines changed: 76 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,10 @@ Represents a collection of a slides.
45
45
|[insertFromHtml(int index, String htmlText)](#insertFromHtml-int-java.lang.String-)| Creates slides from HTML text and inserts them to the collection at the specified position. |
46
46
|[insertFromHtml(int index, InputStream htmlStream, IExternalResourceResolver resolver, String uri)](#insertFromHtml-int-java.io.InputStream-com.aspose.slides.IExternalResourceResolver-java.lang.String-)| Creates slides from HTML text and inserts them to the collection at the specified position. |
47
47
|[insertFromHtml(int index, InputStream htmlStream)](#insertFromHtml-int-java.io.InputStream-)| Creates slides from HTML text and inserts them to the collection at the specified position. |
48
+
|[insertFromHtml(int index, String htmlText, boolean useSlideWithIndexAsStart)](#insertFromHtml-int-java.lang.String-boolean-)| Creates slides from HTML text and inserts them to the collection at the specified position. |
49
+
|[insertFromHtml(int index, String htmlText, IExternalResourceResolver resolver, String uri, boolean useSlideWithIndexAsStart)](#insertFromHtml-int-java.lang.String-com.aspose.slides.IExternalResourceResolver-java.lang.String-boolean-)| Creates slides from HTML text and inserts them to the collection at the specified position. |
50
+
|[insertFromHtml(int index, InputStream htmlStream, boolean useSlideWithIndexAsStart)](#insertFromHtml-int-java.io.InputStream-boolean-)| Creates slides from HTML text and inserts them to the collection at the specified position. |
51
+
|[insertFromHtml(int index, InputStream htmlStream, IExternalResourceResolver resolver, String uri, boolean useSlideWithIndexAsStart)](#insertFromHtml-int-java.io.InputStream-com.aspose.slides.IExternalResourceResolver-java.lang.String-boolean-)| Creates slides from HTML text and inserts them to the collection at the specified position. |
48
52
### get_Item(int index) {#get-Item-int-}
49
53
```
50
54
public abstract ISlide get_Item(int index)
@@ -588,3 +592,75 @@ Creates slides from HTML text and inserts them to the collection at the specifie
public abstract ISlide[] insertFromHtml(int index, String htmlText, boolean useSlideWithIndexAsStart)
598
+
```
599
+
600
+
601
+
Creates slides from HTML text and inserts them to the collection at the specified position.
602
+
603
+
**Parameters:**
604
+
| Parameter | Type | Description |
605
+
| --- | --- | --- |
606
+
| index | int | Position to insert. |
607
+
| htmlText | java.lang.String | Html to add. |
608
+
| useSlideWithIndexAsStart | boolean | This flag determines how to start insertion: from a new slide or from the slide with the specified index. If **true**, then data insertion will start from an empty space on the slide with the specified index. If **false**, then data will be added to the created slides. |
Creates slides from HTML text and inserts them to the collection at the specified position.
619
+
620
+
**Parameters:**
621
+
| Parameter | Type | Description |
622
+
| --- | --- | --- |
623
+
| index | int | Position to insert. |
624
+
| htmlText | java.lang.String | Html to add. |
625
+
| resolver | [IExternalResourceResolver](../../com.aspose.slides/iexternalresourceresolver) | A callback object used to fetch external objects. If this parameter is null all external objects will be ignored. |
626
+
| uri | java.lang.String | An URI of the specified HTML. Used to resolve relative links. |
627
+
| useSlideWithIndexAsStart | boolean | This flag determines how to start insertion: from a new slide or from the slide with the specified index. If **true**, then data insertion will start from an empty space on the slide with the specified index. If **false**, then data will be added to the created slides. |
public abstract ISlide[] insertFromHtml(int index, InputStream htmlStream, boolean useSlideWithIndexAsStart)
634
+
```
635
+
636
+
637
+
Creates slides from HTML text and inserts them to the collection at the specified position.
638
+
639
+
**Parameters:**
640
+
| Parameter | Type | Description |
641
+
| --- | --- | --- |
642
+
| index | int | Position to insert. |
643
+
| htmlStream | java.io.InputStream | A Stream object which will be used as a source of a HTML file. |
644
+
| useSlideWithIndexAsStart | boolean | This flag determines how to start insertion: from a new slide or from the slide with the specified index. If **true**, then data insertion will start from an empty space on the slide with the specified index. If **false**, then data will be added to the created slides. |
Creates slides from HTML text and inserts them to the collection at the specified position.
655
+
656
+
**Parameters:**
657
+
| Parameter | Type | Description |
658
+
| --- | --- | --- |
659
+
| index | int | Position to insert. |
660
+
| htmlStream | java.io.InputStream | A Stream object which will be used as a source of a HTML file. |
661
+
| resolver | [IExternalResourceResolver](../../com.aspose.slides/iexternalresourceresolver) | A callback object used to fetch external objects. If this parameter is null all external objects will be ignored. |
662
+
| uri | java.lang.String | An URI of the specified HTML. Used to resolve relative links. |
663
+
| useSlideWithIndexAsStart | boolean | This flag determines how to start insertion: from a new slide or from the slide with the specified index. If **true**, then data insertion will start from an empty space on the slide with the specified index. If **false**, then data will be added to the created slides. |
0 commit comments