Skip to content

Commit 52d7438

Browse files
committed
Aspose.Slides for Android 25.3 API references
1 parent f64c82e commit 52d7438

File tree

43 files changed

+2901
-163
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+2901
-163
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ url: /com.aspose.slides/
7272
| [Camera](../com.aspose.slides/camera) | Represents Camera. |
7373
| [CameraPresetType](../com.aspose.slides/camerapresettype) | Constants which define camera preset type. |
7474
| [CannotCombine2DAnd3DChartsException](../com.aspose.slides/cannotcombine2dand3dchartsexception) | Exception which thrown when trying to combine 2D and 3D chart types. |
75+
| [Captions](../com.aspose.slides/captions) | Represents the WebVTT closed captions. |
76+
| [CaptionsCollection](../com.aspose.slides/captionscollection) | Represents a collection of the closed captions. |
7577
| [CategoryAxisType](../com.aspose.slides/categoryaxistype) | Represents a type of a category axis. |
7678
| [Cell](../com.aspose.slides/cell) | Represents a cell of a table. |
7779
| [CellCircularReferenceException](../com.aspose.slides/cellcircularreferenceexception) | The exception that is thrown when one or more circular references are detected where a formula refers to its own cell either directly or indirectly. |
@@ -249,6 +251,7 @@ url: /com.aspose.slides/
249251
| [HSL](../com.aspose.slides/hsl) | Represents a Hue/Saturation/Luminance effect. |
250252
| [HandoutLayoutingOptions](../com.aspose.slides/handoutlayoutingoptions) | Represents the handout presentation layout mode for export. |
251253
| [HandoutType](../com.aspose.slides/handouttype) | Specifies how many slides and in what sequence will be placed on the page. |
254+
| [HeadingPair](../com.aspose.slides/headingpair) | Represents a 'Heading pair' property of the document. |
252255
| [Html5Options](../com.aspose.slides/html5options) | Represents a HTML5 exporting options. |
253256
| [HtmlExternalResolver](../com.aspose.slides/htmlexternalresolver) | Callback object used by HTML import routine to obtain referrenced objects such as images. |
254257
| [HtmlFormatter](../com.aspose.slides/htmlformatter) | Represents HTML file template. |
@@ -269,6 +272,7 @@ url: /com.aspose.slides/
269272
| [Images](../com.aspose.slides/images) | Methods to instantiate and work with [IImage](../com.aspose.slides/iimage). |
270273
| [InOutTransition](../com.aspose.slides/inouttransition) | In-Out slide transition effect. |
271274
| [Ink](../com.aspose.slides/ink) | Represents an ink object on a slide. |
275+
| [InkActions](../com.aspose.slides/inkactions) | Represents the root of ink actions. |
272276
| [InkBrush](../com.aspose.slides/inkbrush) | Represents an inkBrush object. |
273277
| [InkOptions](../com.aspose.slides/inkoptions) | Provides options that control the look of Ink objects in exported document. |
274278
| [InkTrace](../com.aspose.slides/inktrace) | Represents an Trace object. |
@@ -706,6 +710,8 @@ url: /com.aspose.slides/
706710
| [IBulletFormatEffectiveData](../com.aspose.slides/ibulletformateffectivedata) | Immutable object which contains effective paragraph bullet formatting properties. |
707711
| [ICamera](../com.aspose.slides/icamera) | Represents Camera. |
708712
| [ICameraEffectiveData](../com.aspose.slides/icameraeffectivedata) | Immutable object which contains effective camera properties. |
713+
| [ICaptions](../com.aspose.slides/icaptions) | Represents the WebVTT closed captions. |
714+
| [ICaptionsCollection](../com.aspose.slides/icaptionscollection) | Represents a collection of the closed captions. |
709715
| [ICell](../com.aspose.slides/icell) | Represents a cell in a table. |
710716
| [ICellCollection](../com.aspose.slides/icellcollection) | Represents a collection of cells. |
711717
| [ICellFormat](../com.aspose.slides/icellformat) | Represents format of a table cell. |
@@ -853,6 +859,7 @@ url: /com.aspose.slides/
853859
| [IGroupShapeLock](../com.aspose.slides/igroupshapelock) | Determines which operations are disabled on the parent GroupShape. |
854860
| [IHSL](../com.aspose.slides/ihsl) | Represents a Hue/Saturation/Luminance effect. |
855861
| [IHSLEffectiveData](../com.aspose.slides/ihsleffectivedata) | Represents a Hue/Saturation/Luminance effect. |
862+
| [IHeadingPair](../com.aspose.slides/iheadingpair) | Represents a 'Heading pair' property of the document. |
856863
| [IHtml5Options](../com.aspose.slides/ihtml5options) | Represents a HTML5 exporting options. |
857864
| [IHtmlExternalResolver](../com.aspose.slides/ihtmlexternalresolver) | Callback interface used by HTML import routine to obtain referrenced objects such as images. |
858865
| [IHtmlFormatter](../com.aspose.slides/ihtmlformatter) | Represents HTML file template. |
@@ -871,6 +878,7 @@ url: /com.aspose.slides/
871878
| [IImageTransformOperationFactory](../com.aspose.slides/iimagetransformoperationfactory) | Allows to create image effects' instances |
872879
| [IInOutTransition](../com.aspose.slides/iinouttransition) | In-Out slide transition effect. |
873880
| [IInk](../com.aspose.slides/iink) | Represents an ink object on a slide. |
881+
| [IInkActions](../com.aspose.slides/iinkactions) | Represents an ink object on a slide. |
874882
| [IInkBrush](../com.aspose.slides/iinkbrush) | Represents trace brush. |
875883
| [IInkOptions](../com.aspose.slides/iinkoptions) | Provides options that control the look of Ink objects in exported document. |
876884
| [IInkTrace](../com.aspose.slides/iinktrace) | Represents handwritten line in an Ink object. |

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

Lines changed: 301 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,16 @@ Represents an audio clip on a slide.
7272
| [setLinkPathLong(String value)](#setLinkPathLong-java.lang.String-) | Returns or sets the name of an audio file which is linked to an AudioFrame. |
7373
| [getEmbeddedAudio()](#getEmbeddedAudio--) | Returns or sets embedded audio object. |
7474
| [setEmbeddedAudio(IAudio value)](#setEmbeddedAudio-com.aspose.slides.IAudio-) | Returns or sets embedded audio object. |
75+
| [getFadeInDuration()](#getFadeInDuration--) | Specifies the time duration for the initial fade-in of the media in milliseconds. |
76+
| [setFadeInDuration(float value)](#setFadeInDuration-float-) | Specifies the time duration for the initial fade-in of the media in milliseconds. |
77+
| [getFadeOutDuration()](#getFadeOutDuration--) | Specifies the time duration for the ending fade-out of the media in milliseconds. |
78+
| [setFadeOutDuration(float value)](#setFadeOutDuration-float-) | Specifies the time duration for the ending fade-out of the media in milliseconds. |
79+
| [getVolumeValue()](#getVolumeValue--) | Returns or sets the audio volume in percents. |
80+
| [setVolumeValue(float value)](#setVolumeValue-float-) | Returns or sets the audio volume in percents. |
81+
| [getTrimFromStart()](#getTrimFromStart--) | Specifies the time duration to be removed from the beginning of the media during playback, in milliseconds. |
82+
| [setTrimFromStart(float value)](#setTrimFromStart-float-) | Specifies the time duration to be removed from the beginning of the media during playback, in milliseconds. |
83+
| [getTrimFromEnd()](#getTrimFromEnd--) | Specifies the time duration to be removed from the end of the media during playback, in milliseconds. |
84+
| [setTrimFromEnd(float value)](#setTrimFromEnd-float-) | Specifies the time duration to be removed from the end of the media during playback, in milliseconds. |
7585
### getAudioCdStartTrack() {#getAudioCdStartTrack--}
7686
```
7787
public final int getAudioCdStartTrack()
@@ -430,3 +440,294 @@ Returns or sets embedded audio object. Read/write [IAudio](../../com.aspose.slid
430440
| --- | --- | --- |
431441
| value | [IAudio](../../com.aspose.slides/iaudio) | |
432442
443+
### getFadeInDuration() {#getFadeInDuration--}
444+
```
445+
public final float getFadeInDuration()
446+
```
447+
448+
449+
Specifies the time duration for the initial fade-in of the media in milliseconds. Read/write float.
450+
451+
--------------------
452+
453+
> ```
454+
> Example:
455+
>
456+
> Presentation pres = new Presentation();
457+
> try {
458+
> FileInputStream audioStream = new FileInputStream("sampleaudio.mp3");
459+
> IAudio audio = pres.getAudios().addAudio(audioStream, LoadingStreamBehavior.ReadStreamAndRelease);
460+
> IAudioFrame audioFrame = pres.getSlides().get_Item(0).getShapes().addAudioFrameEmbedded(50, 50, 100, 100, audio);
461+
> // Set the duration of the starting fade for 200ms
462+
> audioFrame.setFadeInDuration(200f);
463+
> pres.save("AudioFrameFade_out.pptx", SaveFormat.Pptx);
464+
> } finally {
465+
> if (pres != null) pres.dispose();
466+
> }
467+
> ```
468+
469+
**Returns:**
470+
float
471+
### setFadeInDuration(float value) {#setFadeInDuration-float-}
472+
```
473+
public final void setFadeInDuration(float value)
474+
```
475+
476+
477+
Specifies the time duration for the initial fade-in of the media in milliseconds. Read/write float.
478+
479+
--------------------
480+
481+
> ```
482+
> Example:
483+
>
484+
> Presentation pres = new Presentation();
485+
> try {
486+
> FileInputStream audioStream = new FileInputStream("sampleaudio.mp3");
487+
> IAudio audio = pres.getAudios().addAudio(audioStream, LoadingStreamBehavior.ReadStreamAndRelease);
488+
> IAudioFrame audioFrame = pres.getSlides().get_Item(0).getShapes().addAudioFrameEmbedded(50, 50, 100, 100, audio);
489+
> // Set the duration of the starting fade for 200ms
490+
> audioFrame.setFadeInDuration(200f);
491+
> pres.save("AudioFrameFade_out.pptx", SaveFormat.Pptx);
492+
> } finally {
493+
> if (pres != null) pres.dispose();
494+
> }
495+
> ```
496+
497+
**Parameters:**
498+
| Parameter | Type | Description |
499+
| --- | --- | --- |
500+
| value | float | |
501+
502+
### getFadeOutDuration() {#getFadeOutDuration--}
503+
```
504+
public final float getFadeOutDuration()
505+
```
506+
507+
508+
Specifies the time duration for the ending fade-out of the media in milliseconds. Read/write float.
509+
510+
--------------------
511+
512+
> ```
513+
> Example:
514+
>
515+
> Presentation pres = new Presentation();
516+
> try {
517+
> FileInputStream audioStream = new FileInputStream("sampleaudio.mp3");
518+
> IAudio audio = pres.getAudios().addAudio(audioStream, LoadingStreamBehavior.ReadStreamAndRelease);
519+
> IAudioFrame audioFrame = pres.getSlides().get_Item(0).getShapes().addAudioFrameEmbedded(50, 50, 100, 100, audio);
520+
> // Set the duration of the ending fade for 500ms
521+
> audioFrame.setFadeOutDuration(500f);
522+
> pres.save("AudioFrameFade_out.pptx", SaveFormat.Pptx);
523+
> } finally {
524+
> if (pres != null) pres.dispose();
525+
> }
526+
> ```
527+
528+
**Returns:**
529+
float
530+
### setFadeOutDuration(float value) {#setFadeOutDuration-float-}
531+
```
532+
public final void setFadeOutDuration(float value)
533+
```
534+
535+
536+
Specifies the time duration for the ending fade-out of the media in milliseconds. Read/write float.
537+
538+
--------------------
539+
540+
> ```
541+
> Example:
542+
>
543+
> Presentation pres = new Presentation();
544+
> try {
545+
> FileInputStream audioStream = new FileInputStream("sampleaudio.mp3");
546+
> IAudio audio = pres.getAudios().addAudio(audioStream, LoadingStreamBehavior.ReadStreamAndRelease);
547+
> IAudioFrame audioFrame = pres.getSlides().get_Item(0).getShapes().addAudioFrameEmbedded(50, 50, 100, 100, audio);
548+
> // Set the duration of the ending fade for 500ms
549+
> audioFrame.setFadeOutDuration(500f);
550+
> pres.save("AudioFrameFade_out.pptx", SaveFormat.Pptx);
551+
> } finally {
552+
> if (pres != null) pres.dispose();
553+
> }
554+
> ```
555+
556+
**Parameters:**
557+
| Parameter | Type | Description |
558+
| --- | --- | --- |
559+
| value | float | |
560+
561+
### getVolumeValue() {#getVolumeValue--}
562+
```
563+
public final float getVolumeValue()
564+
```
565+
566+
567+
Returns or sets the audio volume in percents. Read/write float.
568+
569+
--------------------
570+
571+
> ```
572+
> Example:
573+
>
574+
> Presentation pres = new Presentation();
575+
> try {
576+
> FileInputStream audioStream = new FileInputStream("sampleaudio.mp3");
577+
> IAudio audio = pres.getAudios().addAudio(audioStream, LoadingStreamBehavior.ReadStreamAndRelease);
578+
> IAudioFrame audioFrame = pres.getSlides().get_Item(0).getShapes().addAudioFrameEmbedded(50, 50, 100, 100, audio);
579+
> // Set the audio volume for 85%
580+
> audioFrame.setVolumeValue(85f);
581+
> pres.save("AudioFrameValue_out.pptx", SaveFormat.Pptx);
582+
> } finally {
583+
> if (pres != null) pres.dispose();
584+
> }
585+
> ```
586+
587+
**Returns:**
588+
float
589+
### setVolumeValue(float value) {#setVolumeValue-float-}
590+
```
591+
public final void setVolumeValue(float value)
592+
```
593+
594+
595+
Returns or sets the audio volume in percents. Read/write float.
596+
597+
--------------------
598+
599+
> ```
600+
> Example:
601+
>
602+
> Presentation pres = new Presentation();
603+
> try {
604+
> FileInputStream audioStream = new FileInputStream("sampleaudio.mp3");
605+
> IAudio audio = pres.getAudios().addAudio(audioStream, LoadingStreamBehavior.ReadStreamAndRelease);
606+
> IAudioFrame audioFrame = pres.getSlides().get_Item(0).getShapes().addAudioFrameEmbedded(50, 50, 100, 100, audio);
607+
> // Set the audio volume for 85%
608+
> audioFrame.setVolumeValue(85f);
609+
> pres.save("AudioFrameValue_out.pptx", SaveFormat.Pptx);
610+
> } finally {
611+
> if (pres != null) pres.dispose();
612+
> }
613+
> ```
614+
615+
**Parameters:**
616+
| Parameter | Type | Description |
617+
| --- | --- | --- |
618+
| value | float | |
619+
620+
### getTrimFromStart() {#getTrimFromStart--}
621+
```
622+
public final float getTrimFromStart()
623+
```
624+
625+
626+
Specifies the time duration to be removed from the beginning of the media during playback, in milliseconds. Read/write float.
627+
628+
--------------------
629+
630+
> ```
631+
> Example:
632+
>
633+
> Presentation pres = new Presentation();
634+
> try {
635+
> FileInputStream audioStream = new FileInputStream("sampleaudio.mp3");
636+
> IAudio audio = pres.getAudios().addAudio(audioStream, LoadingStreamBehavior.ReadStreamAndRelease);
637+
> IAudioFrame audioFrame = pres.getSlides().get_Item(0).getShapes().addAudioFrameEmbedded(50, 50, 100, 100, audio);
638+
> // Set the start trimming time 1.5 seconds
639+
> audioFrame.setTrimFromStart(1500f);
640+
> } finally {
641+
> if (pres != null) pres.dispose();
642+
> }
643+
> ```
644+
645+
**Returns:**
646+
float
647+
### setTrimFromStart(float value) {#setTrimFromStart-float-}
648+
```
649+
public final void setTrimFromStart(float value)
650+
```
651+
652+
653+
Specifies the time duration to be removed from the beginning of the media during playback, in milliseconds. Read/write float.
654+
655+
--------------------
656+
657+
> ```
658+
> Example:
659+
>
660+
> Presentation pres = new Presentation();
661+
> try {
662+
> FileInputStream audioStream = new FileInputStream("sampleaudio.mp3");
663+
> IAudio audio = pres.getAudios().addAudio(audioStream, LoadingStreamBehavior.ReadStreamAndRelease);
664+
> IAudioFrame audioFrame = pres.getSlides().get_Item(0).getShapes().addAudioFrameEmbedded(50, 50, 100, 100, audio);
665+
> // Set the start trimming time 1.5 seconds
666+
> audioFrame.setTrimFromStart(1500f);
667+
> } finally {
668+
> if (pres != null) pres.dispose();
669+
> }
670+
> ```
671+
672+
**Parameters:**
673+
| Parameter | Type | Description |
674+
| --- | --- | --- |
675+
| value | float | |
676+
677+
### getTrimFromEnd() {#getTrimFromEnd--}
678+
```
679+
public final float getTrimFromEnd()
680+
```
681+
682+
683+
Specifies the time duration to be removed from the end of the media during playback, in milliseconds. Read/write float.
684+
685+
--------------------
686+
687+
> ```
688+
> Example:
689+
>
690+
> Presentation pres = new Presentation();
691+
> try {
692+
> FileInputStream audioStream = new FileInputStream("sampleaudio.mp3");
693+
> IAudio audio = pres.getAudios().addAudio(audioStream, LoadingStreamBehavior.ReadStreamAndRelease);
694+
> IAudioFrame audioFrame = pres.getSlides().get_Item(0).getShapes().addAudioFrameEmbedded(50, 50, 100, 100, audio);
695+
> // Set the end trimming time 2 seconds
696+
> audioFrame.setTrimFromEnd(2000f);
697+
> } finally {
698+
> if (pres != null) pres.dispose();
699+
> }
700+
> ```
701+
702+
**Returns:**
703+
float
704+
### setTrimFromEnd(float value) {#setTrimFromEnd-float-}
705+
```
706+
public final void setTrimFromEnd(float value)
707+
```
708+
709+
710+
Specifies the time duration to be removed from the end of the media during playback, in milliseconds. Read/write float.
711+
712+
--------------------
713+
714+
> ```
715+
> Example:
716+
>
717+
> Presentation pres = new Presentation();
718+
> try {
719+
> FileInputStream audioStream = new FileInputStream("sampleaudio.mp3");
720+
> IAudio audio = pres.getAudios().addAudio(audioStream, LoadingStreamBehavior.ReadStreamAndRelease);
721+
> IAudioFrame audioFrame = pres.getSlides().get_Item(0).getShapes().addAudioFrameEmbedded(50, 50, 100, 100, audio);
722+
> // Set the end trimming time 2 seconds
723+
> audioFrame.setTrimFromEnd(2000f);
724+
> } finally {
725+
> if (pres != null) pres.dispose();
726+
> }
727+
> ```
728+
729+
**Parameters:**
730+
| Parameter | Type | Description |
731+
| --- | --- | --- |
732+
| value | float | |
733+

0 commit comments

Comments
 (0)