Skip to content

Commit 120f1fa

Browse files
committed
Aspose.Slides for Java 25.8 API references
1 parent fd23268 commit 120f1fa

File tree

23 files changed

+1405
-103
lines changed

23 files changed

+1405
-103
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ url: /com.aspose.slides/
6262
| [BlackWhiteMode](../com.aspose.slides/blackwhitemode) | Determines how colored shape should be transformed into black and white. |
6363
| [BlobManagementOptions](../com.aspose.slides/blobmanagementoptions) | Represents options which can be used to manage BLOB handling rules and other BLOB settings. |
6464
| [Blur](../com.aspose.slides/blur) | Represents a Blur effect that is applied to the entire shape, including its fill. |
65+
| [BrightnessContrast](../com.aspose.slides/brightnesscontrast) | Represents a BrightnessContrast effect. |
6566
| [BrowsedAtKiosk](../com.aspose.slides/browsedatkiosk) | Browsed at a kiosk (full screen) |
6667
| [BrowsedByIndividual](../com.aspose.slides/browsedbyindividual) | Browsed by individual (window) |
6768
| [BubbleSizeRepresentationType](../com.aspose.slides/bubblesizerepresentationtype) | Specifies the possible ways to represent data as bubble chart sizes. |
@@ -192,6 +193,9 @@ url: /com.aspose.slides/
192193
| [ErrorBarValueType](../com.aspose.slides/errorbarvaluetype) | Represents type of error bar value |
193194
| [ErrorBarsCustomValues](../com.aspose.slides/errorbarscustomvalues) | Specifies the errors bar values. |
194195
| [ErrorBarsFormat](../com.aspose.slides/errorbarsformat) | Represents error bars of chart series. |
196+
| [ExcelDataCell](../com.aspose.slides/exceldatacell) | Represents a single cell in an Excel workbook. |
197+
| [ExcelDataWorkbook](../com.aspose.slides/exceldataworkbook) | Represents a workbook that provides access to Excel data for general use. |
198+
| [ExcelWorkbookImporter](../com.aspose.slides/excelworkbookimporter) | Provides functionality for importing content from an Excel workbook into a presentation. |
195199
| [ExternalResourceResolver](../com.aspose.slides/externalresourceresolver) | Callback class used to resolve external resources during Html, Svg documents import. |
196200
| [ExtraColorScheme](../com.aspose.slides/extracolorscheme) | Represents an additional color scheme which can be assigned to a slide. |
197201
| [ExtraColorSchemeCollection](../com.aspose.slides/extracolorschemecollection) | Represents a collection of additional color schemes. |
@@ -714,6 +718,8 @@ url: /com.aspose.slides/
714718
| [IBlobManagementOptions](../com.aspose.slides/iblobmanagementoptions) | A Binary Large Object (BLOB) is a binary data stored as a single entity - i.e. |
715719
| [IBlur](../com.aspose.slides/iblur) | Represents a Blur effect that is applied to the entire shape, including its fill. |
716720
| [IBlurEffectiveData](../com.aspose.slides/iblureffectivedata) | Immutable object which represents a Blur effect that is applied to the entire shape, including its fill. |
721+
| [IBrightnessContrast](../com.aspose.slides/ibrightnesscontrast) | Represents a BrightnessContrast effect. |
722+
| [IBrightnessContrastEffectiveData](../com.aspose.slides/ibrightnesscontrasteffectivedata) | Immutable object which represents a BrightnessContrast effect. |
717723
| [IBulkTextFormattable](../com.aspose.slides/ibulktextformattable) | Represents an object with possibility of bulk setting child text elements' formats. |
718724
| [IBulletFormat](../com.aspose.slides/ibulletformat) | Represents paragraph bullet formatting properties. |
719725
| [IBulletFormatEffectiveData](../com.aspose.slides/ibulletformateffectivedata) | Immutable object which contains effective paragraph bullet formatting properties. |
@@ -812,6 +818,8 @@ url: /com.aspose.slides/
812818
| [IEmptyTransition](../com.aspose.slides/iemptytransition) | Empty slide transition effect. |
813819
| [IErrorBarsCustomValues](../com.aspose.slides/ierrorbarscustomvalues) | Specifies the errors bar values. |
814820
| [IErrorBarsFormat](../com.aspose.slides/ierrorbarsformat) | Represents error bars of chart series. |
821+
| [IExcelDataCell](../com.aspose.slides/iexceldatacell) | Represents a single cell in an Excel workbook. |
822+
| [IExcelDataWorkbook](../com.aspose.slides/iexceldataworkbook) | Represents a workbook that provides access to Excel data for general use. |
815823
| [IExternalResourceResolver](../com.aspose.slides/iexternalresourceresolver) | Callback interface used to resolve external resources during Html, Svg documents import. |
816824
| [IExtraColorScheme](../com.aspose.slides/iextracolorscheme) | Represents an additional color scheme which can be assigned to a slide. |
817825
| [IExtraColorSchemeCollection](../com.aspose.slides/iextracolorschemecollection) | Represents a collection of additional color schemes. |

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ Represents an audio clip on a slide.
8282
| [setTrimFromStart(float value)](#setTrimFromStart-float-) | Specifies the time duration to be removed from the beginning of the media during playback, in milliseconds. |
8383
| [getTrimFromEnd()](#getTrimFromEnd--) | Specifies the time duration to be removed from the end of the media during playback, in milliseconds. |
8484
| [setTrimFromEnd(float value)](#setTrimFromEnd-float-) | Specifies the time duration to be removed from the end of the media during playback, in milliseconds. |
85+
| [getCaptionTracks()](#getCaptionTracks--) | Gets the collection of closed captions associated with the audio frame. |
8586
### getAudioCdStartTrack() {#getAudioCdStartTrack--}
8687
```
8788
public final int getAudioCdStartTrack()
@@ -731,3 +732,38 @@ Specifies the time duration to be removed from the end of the media during playb
731732
| --- | --- | --- |
732733
| value | float | |
733734
735+
### getCaptionTracks() {#getCaptionTracks--}
736+
```
737+
public final ICaptionsCollection getCaptionTracks()
738+
```
739+
740+
741+
Gets the collection of closed captions associated with the audio frame. This property is read-only and returns an [ICaptionsCollection](../../com.aspose.slides/icaptionscollection) containing all caption tracks.
742+
743+
--------------------
744+
745+
> ```
746+
> Example:
747+
>
748+
> Presentation pres = new Presentation("audio with captions.pptx");
749+
> try {
750+
> for (IShape shape : pres.getSlides().get_Item(0).getShapes())
751+
> {
752+
> if (shape instanceof IAudioFrame)
753+
> {
754+
> IAudioFrame audioFrame = (IAudioFrame) shape;
755+
> // Save the caption track's binary data as a .vtt file
756+
> for (ICaptions captionTrack : audioFrame.getCaptionTracks()) {
757+
> FileOutputStream fos = new FileOutputStream(captionTrack.getCaptionId() + ".vtt");
758+
> fos.write(captionTrack.getBinaryData());
759+
> fos.close();
760+
> }
761+
> }
762+
> }
763+
> } finally {
764+
> if (pres != null) pres.dispose();
765+
> }
766+
> ```
767+
768+
**Returns:**
769+
[ICaptionsCollection](../../com.aspose.slides/icaptionscollection)
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
title: BrightnessContrast
3+
second_title: Aspose.Slides for Java API Reference
4+
description: Represents a BrightnessContrast effect.
5+
type: docs
6+
url: /com.aspose.slides/brightnesscontrast/
7+
---
8+
**Inheritance:**
9+
java.lang.Object, [com.aspose.slides.PVIObject](../../com.aspose.slides/pviobject), [com.aspose.slides.ImageTransformOperation](../../com.aspose.slides/imagetransformoperation)
10+
11+
**All Implemented Interfaces:**
12+
[com.aspose.slides.IBrightnessContrast](../../com.aspose.slides/ibrightnesscontrast), com.aspose.slides.IVisualEffect
13+
```
14+
public final class BrightnessContrast extends ImageTransformOperation implements IBrightnessContrast, IVisualEffect
15+
```
16+
17+
Represents a BrightnessContrast effect. Ajusts brightness and contrast
18+
## Methods
19+
20+
| Method | Description |
21+
| --- | --- |
22+
| [getEffective()](#getEffective--) | Gets effective BrightnessContrast effect data with the inheritance applied. |
23+
| [equals(Object obj)](#equals-java.lang.Object-) | Determines whether the specified [BrightnessContrast](../../com.aspose.slides/brightnesscontrast) is equal to the current [BrightnessContrast](../../com.aspose.slides/brightnesscontrast). |
24+
| [hashCode()](#hashCode--) | Serves as a hash function for a particular type. |
25+
### getEffective() {#getEffective--}
26+
```
27+
public final IBrightnessContrastEffectiveData getEffective()
28+
```
29+
30+
31+
Gets effective BrightnessContrast effect data with the inheritance applied.
32+
33+
**Returns:**
34+
[IBrightnessContrastEffectiveData](../../com.aspose.slides/ibrightnesscontrasteffectivedata) - A [IBrightnessContrastEffectiveData](../../com.aspose.slides/ibrightnesscontrasteffectivedata).
35+
### equals(Object obj) {#equals-java.lang.Object-}
36+
```
37+
public boolean equals(Object obj)
38+
```
39+
40+
41+
Determines whether the specified [BrightnessContrast](../../com.aspose.slides/brightnesscontrast) is equal to the current [BrightnessContrast](../../com.aspose.slides/brightnesscontrast).
42+
43+
**Parameters:**
44+
| Parameter | Type | Description |
45+
| --- | --- | --- |
46+
| obj | java.lang.Object | The [BrightnessContrast](../../com.aspose.slides/brightnesscontrast) to compare. |
47+
48+
**Returns:**
49+
boolean - true if objects are equal; otherwise, false.
50+
### hashCode() {#hashCode--}
51+
```
52+
public int hashCode()
53+
```
54+
55+
56+
Serves as a hash function for a particular type.
57+
58+
**Returns:**
59+
int - A hash code for the current object.
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
---
2+
title: ExcelDataCell
3+
second_title: Aspose.Slides for Java API Reference
4+
description: Represents a single cell in an Excel workbook.
5+
type: docs
6+
url: /com.aspose.slides/exceldatacell/
7+
---
8+
**Inheritance:**
9+
java.lang.Object
10+
11+
**All Implemented Interfaces:**
12+
[com.aspose.slides.IExcelDataCell](../../com.aspose.slides/iexceldatacell)
13+
```
14+
public class ExcelDataCell implements IExcelDataCell
15+
```
16+
17+
Represents a single cell in an Excel workbook.
18+
## Methods
19+
20+
| Method | Description |
21+
| --- | --- |
22+
| [getValue()](#getValue--) | Gets the value contained in the Excel cell. |
23+
| [getName()](#getName--) | Gets the name of the chart data cell. |
24+
| [getRow()](#getRow--) | Gets the zero-based index of the row in the worksheet where the cell is located. |
25+
| [getColumn()](#getColumn--) | Gets the zero-based index of the column in the worksheet where the cell is located. |
26+
### getValue() {#getValue--}
27+
```
28+
public final Object getValue()
29+
```
30+
31+
32+
Gets the value contained in the Excel cell.
33+
34+
--------------------
35+
36+
> ```
37+
> Example:
38+
>
39+
> ExcelDataWorkbook wb = new ExcelDataWorkbook(testFile);
40+
> IExcelDataCell cell = wb.getCell(1, 1, 1);
41+
> System.out.println(cell.getValue().toString());
42+
> ```
43+
44+
**Returns:**
45+
java.lang.Object
46+
### getName() {#getName--}
47+
```
48+
public final String getName()
49+
```
50+
51+
52+
Gets the name of the chart data cell.
53+
54+
--------------------
55+
56+
> ```
57+
> Example:
58+
>
59+
> ExcelDataWorkbook wb = new ExcelDataWorkbook(testFile);
60+
> IExcelDataCell cell = wb.getCell(1, 1, 1);
61+
> System.out.println(cell.getName()); //Output: "B2"
62+
> ```
63+
64+
**Returns:**
65+
java.lang.String
66+
### getRow() {#getRow--}
67+
```
68+
public final int getRow()
69+
```
70+
71+
72+
Gets the zero-based index of the row in the worksheet where the cell is located. Read-only int.
73+
74+
--------------------
75+
76+
> ```
77+
> Example:
78+
>
79+
> ExcelDataWorkbook wb = new ExcelDataWorkbook(testFile);
80+
> IExcelDataCell cell = wb.getCell(1, 1, 1);
81+
> System.out.println(cell.getRow()); //Output: 1
82+
> ```
83+
84+
**Returns:**
85+
int
86+
### getColumn() {#getColumn--}
87+
```
88+
public final int getColumn()
89+
```
90+
91+
92+
Gets the zero-based index of the column in the worksheet where the cell is located. Read-only int.
93+
94+
--------------------
95+
96+
> ```
97+
> Example:
98+
>
99+
> ExcelDataWorkbook wb = new ExcelDataWorkbook(testFile);
100+
> IExcelDataCell cell = wb.getCell(1, 1, 1);
101+
> System.out.println(cell.getColumn()); //Output: 1
102+
> ```
103+
104+
**Returns:**
105+
int

0 commit comments

Comments
 (0)