Skip to content

Commit 3c7caa6

Browse files
committed
Aspose.Slides for Java 25.5 API references
1 parent 5b73120 commit 3c7caa6

File tree

13 files changed

+552
-20
lines changed

13 files changed

+552
-20
lines changed

content/java/english/com.aspose.slides/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ url: /com.aspose.slides/
249249
| [GroupShape](../com.aspose.slides/groupshape) | Represents a group of shapes on a slide. |
250250
| [GroupShapeLock](../com.aspose.slides/groupshapelock) | Determines which operations are disabled on the parent GroupShape. |
251251
| [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. |
252253
| [HandoutLayoutingOptions](../com.aspose.slides/handoutlayoutingoptions) | Represents the handout presentation layout mode for export. |
253254
| [HandoutType](../com.aspose.slides/handouttype) | Specifies how many slides and in what sequence will be placed on the page. |
254255
| [HeadingPair](../com.aspose.slides/headingpair) | Represents a 'Heading pair' property of the document. |

content/java/english/com.aspose.slides/adjustvalue/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Represents a geometry shape's adjustment value. These values affect shape's form
1919

2020
| Method | Description |
2121
| --- | --- |
22-
| [getRawValue()](#getRawValue--) | Returns or sets ajustment value "as is". |
23-
| [setRawValue(long value)](#setRawValue-long-) | Returns or sets ajustment value "as is". |
22+
| [getRawValue()](#getRawValue--) | Returns or sets adjustment value "as is". |
23+
| [setRawValue(long value)](#setRawValue-long-) | Returns or sets adjustment value "as is". |
2424
| [getAngleValue()](#getAngleValue--) | Returns or sets value, interpreting it as angle in degrees. |
2525
| [setAngleValue(float value)](#setAngleValue-float-) | Returns or sets value, interpreting it as angle in degrees. |
2626
| [getName()](#getName--) | Returns a name of this adjustment value. |
@@ -31,7 +31,7 @@ public final long getRawValue()
3131
```
3232

3333

34-
Returns or sets ajustment value "as is". Read/write long.
34+
Returns or sets adjustment value "as is". Read/write long.
3535

3636
**Returns:**
3737
long
@@ -41,7 +41,7 @@ public final void setRawValue(long value)
4141
```
4242

4343

44-
Returns or sets ajustment value "as is". Read/write long.
44+
Returns or sets adjustment value "as is". Read/write long.
4545

4646
**Parameters:**
4747
| Parameter | Type | Description |
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: HandleRepeatedSpaces
3+
second_title: Aspose.Slides for Java API Reference
4+
description: Specifies how repeated regular space characters should be handled during Markdown export.
5+
type: docs
6+
url: /com.aspose.slides/handlerepeatedspaces/
7+
---
8+
**Inheritance:**
9+
java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
10+
```
11+
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.
29+
30+
### AlternateSpacesToNbsp {#AlternateSpacesToNbsp}
31+
```
32+
public static final int AlternateSpacesToNbsp
33+
```
34+
35+
36+
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 (   ).
45+

content/java/english/com.aspose.slides/html5options/_index.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ Represents a HTML5 exporting options.
5353
| [setNotesCommentsLayouting(INotesCommentsLayoutingOptions value)](#setNotesCommentsLayouting-com.aspose.slides.INotesCommentsLayoutingOptions-) | Provides options that control how notes and comments is placed in exported document. |
5454
| [getDisableFontLigatures()](#getDisableFontLigatures--) | Gets or sets a value indicating whether text is rendered without using ligatures. |
5555
| [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). |
5658
### Html5Options() {#Html5Options--}
5759
```
5860
public Html5Options()
@@ -397,3 +399,62 @@ Gets or sets a value indicating whether text is rendered without using ligatures
397399
| --- | --- | --- |
398400
| value | boolean | |
399401
402+
### getSlidesLayoutOptions() {#getSlidesLayoutOptions--}
403+
```
404+
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();
418+
> handoutLayoutingOptions.setHandout(HandoutType.Handouts4Horizontal);
419+
> Html5Options options = new Html5Options();
420+
> options.setSlidesLayoutOptions(handoutLayoutingOptions);
421+
>
422+
> pres.save("pres.html", SaveFormat.Html5, options);
423+
> } finally {
424+
> if (pres != null) pres.dispose();
425+
> }
426+
> ```
427+
428+
**Returns:**
429+
[ISlidesLayoutOptions](../../com.aspose.slides/islideslayoutoptions)
430+
### setSlidesLayoutOptions(ISlidesLayoutOptions value) {#setSlidesLayoutOptions-com.aspose.slides.ISlidesLayoutOptions-}
431+
```
432+
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();
446+
> handoutLayoutingOptions.setHandout(HandoutType.Handouts4Horizontal);
447+
> Html5Options options = new Html5Options();
448+
> options.setSlidesLayoutOptions(handoutLayoutingOptions);
449+
>
450+
> pres.save("pres.html", SaveFormat.Html5, options);
451+
> } finally {
452+
> if (pres != null) pres.dispose();
453+
> }
454+
> ```
455+
456+
**Parameters:**
457+
| Parameter | Type | Description |
458+
| --- | --- | --- |
459+
| value | [ISlidesLayoutOptions](../../com.aspose.slides/islideslayoutoptions) | |
460+

content/java/english/com.aspose.slides/iadjustvalue/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Represents a geometry shape's adjustment value. These values affect shape's form
1313

1414
| Method | Description |
1515
| --- | --- |
16-
| [getRawValue()](#getRawValue--) | Returns or sets ajustment value "as is". |
17-
| [setRawValue(long value)](#setRawValue-long-) | Returns or sets ajustment value "as is". |
16+
| [getRawValue()](#getRawValue--) | Returns or sets adjustment value "as is". |
17+
| [setRawValue(long value)](#setRawValue-long-) | Returns or sets adjustment value "as is". |
1818
| [getAngleValue()](#getAngleValue--) | Returns or sets value, interpreting it as angle in degrees. |
1919
| [setAngleValue(float value)](#setAngleValue-float-) | Returns or sets value, interpreting it as angle in degrees. |
2020
| [getName()](#getName--) | Returns a name of this adjustment value. |
@@ -25,7 +25,7 @@ public abstract long getRawValue()
2525
```
2626

2727

28-
Returns or sets ajustment value "as is". Read/write long.
28+
Returns or sets adjustment value "as is". Read/write long.
2929

3030
**Returns:**
3131
long
@@ -35,7 +35,7 @@ public abstract void setRawValue(long value)
3535
```
3636

3737

38-
Returns or sets ajustment value "as is". Read/write long.
38+
Returns or sets adjustment value "as is". Read/write long.
3939

4040
**Parameters:**
4141
| Parameter | Type | Description |

content/java/english/com.aspose.slides/ihtml5options/_index.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ Represents a HTML5 exporting options.
4545
| [setNotesCommentsLayouting(INotesCommentsLayoutingOptions value)](#setNotesCommentsLayouting-com.aspose.slides.INotesCommentsLayoutingOptions-) | Provides options that control how notes and comments is placed in exported document. |
4646
| [getDisableFontLigatures()](#getDisableFontLigatures--) | Gets or sets a value indicating whether text is rendered without using ligatures. |
4747
| [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). |
4850
### getAnimateTransitions() {#getAnimateTransitions--}
4951
```
5052
public abstract boolean getAnimateTransitions()
@@ -381,3 +383,62 @@ Gets or sets a value indicating whether text is rendered without using ligatures
381383
| --- | --- | --- |
382384
| value | boolean | |
383385
386+
### getSlidesLayoutOptions() {#getSlidesLayoutOptions--}
387+
```
388+
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();
402+
> handoutLayoutingOptions.setHandout(HandoutType.Handouts4Horizontal);
403+
> Html5Options options = new Html5Options();
404+
> options.setSlidesLayoutOptions(handoutLayoutingOptions);
405+
>
406+
> pres.save("pres.html", SaveFormat.Html5, options);
407+
> } finally {
408+
> if (pres != null) pres.dispose();
409+
> }
410+
> ```
411+
412+
**Returns:**
413+
[ISlidesLayoutOptions](../../com.aspose.slides/islideslayoutoptions)
414+
### setSlidesLayoutOptions(ISlidesLayoutOptions value) {#setSlidesLayoutOptions-com.aspose.slides.ISlidesLayoutOptions-}
415+
```
416+
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();
430+
> handoutLayoutingOptions.setHandout(HandoutType.Handouts4Horizontal);
431+
> Html5Options options = new Html5Options();
432+
> options.setSlidesLayoutOptions(handoutLayoutingOptions);
433+
>
434+
> pres.save("pres.html", SaveFormat.Html5, options);
435+
> } finally {
436+
> if (pres != null) pres.dispose();
437+
> }
438+
> ```
439+
440+
**Parameters:**
441+
| Parameter | Type | Description |
442+
| --- | --- | --- |
443+
| value | [ISlidesLayoutOptions](../../com.aspose.slides/islideslayoutoptions) | |
444+

content/java/english/com.aspose.slides/islidecollection/_index.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ Represents a collection of a slides.
4545
| [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. |
4646
| [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. |
4747
| [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. |
4852
### get_Item(int index) {#get-Item-int-}
4953
```
5054
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
588592
589593
**Returns:**
590594
com.aspose.slides.ISlide[] - Added slides
595+
### insertFromHtml(int index, String htmlText, boolean useSlideWithIndexAsStart) {#insertFromHtml-int-java.lang.String-boolean-}
596+
```
597+
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. |
609+
610+
**Returns:**
611+
com.aspose.slides.ISlide[] - Added slides
612+
### insertFromHtml(int index, String htmlText, IExternalResourceResolver resolver, String uri, boolean useSlideWithIndexAsStart) {#insertFromHtml-int-java.lang.String-com.aspose.slides.IExternalResourceResolver-java.lang.String-boolean-}
613+
```
614+
public abstract ISlide[] insertFromHtml(int index, String htmlText, IExternalResourceResolver resolver, String uri, boolean useSlideWithIndexAsStart)
615+
```
616+
617+
618+
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. |
628+
629+
**Returns:**
630+
com.aspose.slides.ISlide[] - Added slides.
631+
### insertFromHtml(int index, InputStream htmlStream, boolean useSlideWithIndexAsStart) {#insertFromHtml-int-java.io.InputStream-boolean-}
632+
```
633+
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. |
645+
646+
**Returns:**
647+
com.aspose.slides.ISlide[] - Added slides
648+
### insertFromHtml(int index, InputStream htmlStream, IExternalResourceResolver resolver, String uri, boolean useSlideWithIndexAsStart) {#insertFromHtml-int-java.io.InputStream-com.aspose.slides.IExternalResourceResolver-java.lang.String-boolean-}
649+
```
650+
public abstract ISlide[] insertFromHtml(int index, InputStream htmlStream, IExternalResourceResolver resolver, String uri, boolean useSlideWithIndexAsStart)
651+
```
652+
653+
654+
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. |
664+
665+
**Returns:**
666+
com.aspose.slides.ISlide[] - Added slides.

0 commit comments

Comments
 (0)