Skip to content

Commit def46e9

Browse files
committed
Aspose.Slides for Java 25.10 API references
1 parent 3bdea9d commit def46e9

File tree

11 files changed

+107
-18
lines changed

11 files changed

+107
-18
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ url: /com.aspose.slides/
221221
| [FontScheme](../com.aspose.slides/fontscheme) | Stores theme-defined fonts. |
222222
| [FontSources](../com.aspose.slides/fontsources) | Provides file and memory sources for external fonts. |
223223
| [FontStyle](../com.aspose.slides/fontstyle) | Font style enumeration |
224+
| [FontStyleType](../com.aspose.slides/fontstyletype) | Defines formatting styles that can be applied to text. |
224225
| [FontSubstCondition](../com.aspose.slides/fontsubstcondition) | Represents a rule fot font substitution |
225226
| [FontSubstRule](../com.aspose.slides/fontsubstrule) | Represents font subtituition information |
226227
| [FontSubstRuleCollection](../com.aspose.slides/fontsubstrulecollection) | Represents collection of fonts substitution. |

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public final byte[] readWorkbookStream()
189189
Writes the internally contained Excel workbook it into an in-memory stream.
190190
191191
**Returns:**
192-
byte[] - Returns an instance of MemoryStream containing a copy of the internally contained Excel workbook.
192+
byte[] - Returns an instance of byte array containing a copy of the internally contained Excel workbook.
193193
### writeWorkbookStream(byte[] ms) {#writeWorkbookStream-byte---}
194194
```
195195
public final void writeWorkbookStream(byte[] ms)

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ public final float getActualX()
229229
```
230230

231231

232-
Specifies actual x location (left) of the chart element relative to the left top corner of the chart. Call method IChart.ValidateChartLayout() before to get actual values. Read float.
232+
Specifies actual x location (left) of the chart element relative to the left top corner of the chart. Call method IChart.validateChartLayout() before to get actual values. Read float.
233233

234234
**Returns:**
235235
float
@@ -239,7 +239,7 @@ public final float getActualY()
239239
```
240240

241241

242-
Specifies actual top of the chart element relative to the left top corner of the chart. Call method IChart.ValidateChartLayout() before to get actual values. Read float.
242+
Specifies actual top of the chart element relative to the left top corner of the chart. Call method IChart.validateChartLayout() before to get actual values. Read float.
243243

244244
**Returns:**
245245
float
@@ -249,7 +249,7 @@ public final float getActualWidth()
249249
```
250250

251251

252-
Specifies actual width of the chart element. Call method IChart.ValidateChartLayout() before to get actual values. Read float.
252+
Specifies actual width of the chart element. Call method IChart.validateChartLayout() before to get actual values. Read float.
253253

254254
**Returns:**
255255
float
@@ -259,7 +259,7 @@ public final float getActualHeight()
259259
```
260260

261261

262-
Specifies actual height of the chart element. Call method IChart.ValidateChartLayout() before to get actual values. Read float.
262+
Specifies actual height of the chart element. Call method IChart.validateChartLayout() before to get actual values. Read float.
263263

264264
**Returns:**
265265
float

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ public final System.Collections.Generic.List<IExcelDataCell> getCells(String for
6666

6767
Retrieves a collection of cells from the workbook that match the specified formula.
6868

69+
--------------------
70+
71+
> ```
72+
> ExcelDataWorkbook wb = new ExcelDataWorkbook(testFile);
73+
> List<IExcelDataCell> cells = wb.getCells("Sheet1!A2:A6", false);
74+
> System.out.println(cells.size()); //Output: 5
75+
> ```
76+
6977
**Parameters:**
7078
| Parameter | Type | Description |
7179
| --- | --- | --- |

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ Retrieves the byte array representing the font data for a specified font style a
301301
> // Retrieve all fonts used in the presentation
302302
> IFontData[] fonts = pres.getFontsManager().getFonts();
303303
> // Get the byte array representing the regular style of the first font in the presentation
304-
> byte[] fontBytes = pres.getFontsManager().getFontBytes(fonts[0], FontStyle.Regular);
304+
> byte[] fontBytes = pres.getFontsManager().getFontBytes(fonts[0], FontStyleType.Regular);
305305
> } finally {
306306
> if (pres != null) pres.dispose();
307307
> }
@@ -311,7 +311,7 @@ Retrieves the byte array representing the font data for a specified font style a
311311
| Parameter | Type | Description |
312312
| --- | --- | --- |
313313
| fontData | [IFontData](../../com.aspose.slides/ifontdata) | The font data object containing the information about the font [FontData](../../com.aspose.slides/fontdata). |
314-
| fontStyle | int | The style of the font for which the data is to be retrieved [FontStyle](../../com.aspose.slides/fontstyle). |
314+
| fontStyle | int | The style of the font for which the data is to be retrieved [FontStyleType](../../com.aspose.slides/fontstyletype). |
315315
316316
**Returns:**
317317
byte[] - A byte array containing the font data for the specified font style. If the font data or style is not found, returns null.
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: FontStyleType
3+
second_title: Aspose.Slides for Java API Reference
4+
description: Defines formatting styles that can be applied to text.
5+
type: docs
6+
url: /com.aspose.slides/fontstyletype/
7+
---
8+
**Inheritance:**
9+
java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
10+
```
11+
public final class FontStyleType extends System.Enum
12+
```
13+
14+
Defines formatting styles that can be applied to text.
15+
## Fields
16+
17+
| Field | Description |
18+
| --- | --- |
19+
| [Regular](#Regular) | Standard text. |
20+
| [Bold](#Bold) | Bold text. |
21+
| [Italic](#Italic) | Italic text. |
22+
| [Underline](#Underline) | Underlined text. |
23+
| [Strikeout](#Strikeout) | Text crossed out with a horizontal line. |
24+
### Regular {#Regular}
25+
```
26+
public static final int Regular
27+
```
28+
29+
30+
Standard text.
31+
32+
### Bold {#Bold}
33+
```
34+
public static final int Bold
35+
```
36+
37+
38+
Bold text.
39+
40+
### Italic {#Italic}
41+
```
42+
public static final int Italic
43+
```
44+
45+
46+
Italic text.
47+
48+
### Underline {#Underline}
49+
```
50+
public static final int Underline
51+
```
52+
53+
54+
Underlined text.
55+
56+
### Strikeout {#Strikeout}
57+
```
58+
public static final int Strikeout
59+
```
60+
61+
62+
Text crossed out with a horizontal line.
63+

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Gets chart data range.
223223
> ```
224224
> Presentation pres = new Presentation();
225225
> {
226-
> IChart chart = pres.getSlides().get_Item(0).getShapes().addChart(ChartType.PercentsStackedBar, 0, 0, 100, 100);
226+
> IChart chart = pres.getSlides().get_Item(0).getShapes().addChart(ChartType.PercentsStackedBar, 100, 100, 500, 400);
227227
> String result = ((ChartData)chart.getChartData()).getRange();
228228
> }
229229
> ```

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ Retrieves the byte array representing the font data for a specified font style a
269269
> // Retrieve all fonts used in the presentation
270270
> IFontData[] fonts = pres.getFontsManager().getFonts();
271271
> // Get the byte array representing the regular style of the first font in the presentation
272-
> byte[] fontBytes = pres.getFontsManager().getFontBytes(fonts[0], FontStyle.Regular);
272+
> byte[] fontBytes = pres.getFontsManager().getFontBytes(fonts[0], FontStyleType.Regular);
273273
> } finally {
274274
> if (pres != null) pres.dispose();
275275
> }
@@ -279,7 +279,7 @@ Retrieves the byte array representing the font data for a specified font style a
279279
| Parameter | Type | Description |
280280
| --- | --- | --- |
281281
| fontData | [IFontData](../../com.aspose.slides/ifontdata) | The font data object containing the information about the font [IFontData](../../com.aspose.slides/ifontdata). |
282-
| fontStyle | int | The style of the font for which the data is to be retrieved [FontStyle](../../com.aspose.slides/fontstyle). |
282+
| fontStyle | int | The style of the font for which the data is to be retrieved [FontStyleType](../../com.aspose.slides/fontstyletype). |
283283

284284
**Returns:**
285285
byte[] - A byte array containing the font data for the specified font style. If the font data or style is not found, returns null.
@@ -299,7 +299,7 @@ Determines the embedding level of a font from the given byte array and font name
299299
> // Retrieve all fonts used in the presentation
300300
> IFontData[] fontDatas = pres.getFontsManager().getFonts();
301301
> // Get the byte array representing the regular style of the first font in the presentation
302-
> byte[] bytes = pres.getFontsManager().getFontBytes(fontDatas[0], FontStyle.Regular);
302+
> byte[] bytes = pres.getFontsManager().getFontBytes(fontDatas[0], FontStyleType.Regular);
303303
> // Determine the embedding level of the font
304304
> int embeddingLevel = pres.getFontsManager().getFontEmbeddingLevel(bytes, fontDatas[0].getFontName());
305305
> } finally {

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public final int getPosition()
194194
```
195195

196196

197-
Specifies the position of the legend on a chart. Non-NaN values of X, Y, Width, Heigt properties override effect of this property. Read/write [LegendPositionType](../../com.aspose.slides/legendpositiontype).
197+
Specifies the position of the legend on a chart. Non-NaN values of X, Y, Width, Height properties override effect of this property. Read/write [LegendPositionType](../../com.aspose.slides/legendpositiontype).
198198

199199
**Returns:**
200200
int
@@ -204,7 +204,7 @@ public final void setPosition(int value)
204204
```
205205

206206

207-
Specifies the position of the legend on a chart. Non-NaN values of X, Y, Width, Heigt properties override effect of this property. Read/write [LegendPositionType](../../com.aspose.slides/legendpositiontype).
207+
Specifies the position of the legend on a chart. Non-NaN values of X, Y, Width, Height properties override effect of this property. Read/write [LegendPositionType](../../com.aspose.slides/legendpositiontype).
208208

209209
**Parameters:**
210210
| Parameter | Type | Description |
@@ -247,7 +247,7 @@ public final float getActualX()
247247
```
248248

249249

250-
Specifies actual x location (left) of the chart element relative to the left top corner of the chart. Call method IChart.ValidateChartLayout() before to get actual values. Read float.
250+
Specifies actual x location (left) of the chart element relative to the left top corner of the chart. Call method IChart.validateChartLayout() before to get actual values. Read float.
251251

252252
**Returns:**
253253
float
@@ -257,7 +257,7 @@ public final float getActualY()
257257
```
258258

259259

260-
Specifies actual top of the chart element relative to the left top corner of the chart. Call method IChart.ValidateChartLayout() before to get actual values. Read float.
260+
Specifies actual top of the chart element relative to the left top corner of the chart. Call method IChart.validateChartLayout() before to get actual values. Read float.
261261

262262
**Returns:**
263263
float
@@ -267,7 +267,7 @@ public final float getActualWidth()
267267
```
268268

269269

270-
Specifies actual width of the chart element. Call method IChart.ValidateChartLayout() before to get actual values. Read float.
270+
Specifies actual width of the chart element. Call method IChart.validateChartLayout() before to get actual values. Read float.
271271

272272
**Returns:**
273273
float
@@ -277,7 +277,7 @@ public final float getActualHeight()
277277
```
278278

279279

280-
Specifies actual height of the chart element. Call method IChart.ValidateChartLayout() before to get actual values. Read float.
280+
Specifies actual height of the chart element. Call method IChart.validateChartLayout() before to get actual values. Read float.
281281

282282
**Returns:**
283283
float

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Adds an output element for the font.
119119
| --- | --- | --- |
120120
| path | java.lang.String | Output path. |
121121
| fontData | [IFontData](../../com.aspose.slides/ifontdata) | Font to output. |
122-
| fontStyle | int | Font style. |
122+
| fontStyle | int | Font style ([FontStyleType](../../com.aspose.slides/fontstyletype)). |
123123

124124
**Returns:**
125125
[IOutputFile](../../com.aspose.slides/ioutputfile) - [IOutputFile](../../com.aspose.slides/ioutputfile) object for the font.

0 commit comments

Comments
 (0)