forked from aspose-slides/Aspose.Slides-for-Java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExamples.xml
More file actions
1837 lines (1801 loc) · 89.2 KB
/
Examples.xml
File metadata and controls
1837 lines (1801 loc) · 89.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<Data>
<Folders>
<Folder>
<Title>Programmers Guide</Title>
<Description>Programmers Guide provides code samples about key programming concepts to build Java and other applications that use Aspose.Slides.</Description>
<FolderName>programmersguide</FolderName>
<Order>1</Order>
<Folders>
<Folder>
<Title>Working with Presentation</Title>
<Description>This section includes the following examples:
- Opening a Presentation
- Saving a Presentation
- Managing Presentation Properties
- Converting PPT to PPTX
- Accessing OpenDocument Presentation
- Converting Presentation to PDF
- Converting Presentation to TIFF
- Converting Presentation to XPS
- Converting Presentation to HTML
- Converting Presentation with Notes to Tiff
- Printing a Presentation</Description>
<FolderName>workingwithpresentation</FolderName>
<Order>1</Order>
<Examples>
<Example>
<Title>Converting PPT to PPTX</Title>
<Description>Aspose.Slides for Java now facilitates the developers to access the PPT using Presentation class instance and converting that to respective PPTX format. In this example, we will convert PPT file to PPTX using Aspose.Slides for Java</Description>
<FolderName>convertingppttopptx</FolderName>
<Order>1</Order>
<DocLink>
<DisplayName>Converting PPT to PPTX</DisplayName>
<Url>Converting+PPT+to+PPTX</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Presentation1.ppt</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Accessing OpenDocument Presentation</Title>
<Description>Aspose.Slides for Java now facilitates the developers to access the OpenDocument Presentations (ODP) using Presentation class in read only mode. However, you can save the presentation in PPTX or PPT format.</Description>
<FolderName>accessingopendocument</FolderName>
<Order>2</Order>
<DocLink>
<DisplayName>Accessing OpenDocument Presentation</DisplayName>
<Url>Accessing+OpenDocument+Presentation</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Source.odp</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Converting Presentation to PDF</Title>
<Description>PDF documents are widely used as a standard format of exchanging documents between organizations, government sectors and individuals. It's a popular format so developers are often asked to convert Microsoft PowerPoint presentation files to PDF documents. Realizing this possible requirement, Aspose.Slides for Java supports converting presentations to PDF documents without using any other component.</Description>
<FolderName>convertingtopdf</FolderName>
<Order>3</Order>
<DocLink>
<DisplayName>Converting Presentation to PDF</DisplayName>
<Url>Converting+Presentation+to+PDF</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\output.pdf</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Converting Presentation to HTML</Title>
<Description>HTML is one of several widely used format for exchanging data. Aspose.Slides for Java provides support for converting a presentation to HTML which is an embedded SVG.</Description>
<FolderName>convertingpresentationtohtml</FolderName>
<Order>9</Order>
<DocLink>
<DisplayName>Converting Presentation to HTML</DisplayName>
<Url>Converting+Presentation+to+HTML</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\demo.html</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Converting Presentation with Notes to Tiff</Title>
<Description>TIFF is one of several widely used image formats that Aspose.Slides for Java supports for converting a presentation with notes to images. You can also generate slide thumbnails in the Notes Slide view.</Description>
<FolderName>convertingpresentationwithnotestotiff</FolderName>
<Order>10</Order>
<DocLink>
<DisplayName>Converting Presentation with Notes to Tiff</DisplayName>
<Url>Converting+Presentation+with+Notes+to+Tiff</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\TestNotes.tiff</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
</Examples>
<Folders>
<Folder>
<Title>Opening a Presentation</Title>
<Description>Using Aspose.Slides for Java, developers can not only create PowerPoint presentations from scratch but also access or modify the existing ones. In this section, we will discuss the simplest approach to open and access an existing presentation.
- Opening a Presentation.
- Opening a Password Protected Presentation.
- Accessing the Document Properties of a Password Protected Presentation without Password.</Description>
<FolderName>openingapresentation</FolderName>
<Order>4</Order>
<Examples>
<Example>
<Title>Opening a Presentation</Title>
<Description>Aspose.Slides for Java provides Presentation class that is used to open an existing presentation. It offers few overloaded constructors and we can make use of one of the suitable constructors of Presentation class to create its object based on an existing presentation.In the example given below, we have passed the name of the presentation file (to be opened) to the constructor of Presentation class. After the file is opened, we get the total number of slides present in the presentation.</Description>
<FolderName>openingapresentation</FolderName>
<Order>1</Order>
<DocLink>
<DisplayName>Opening a Presentation</DisplayName>
<Url>Opening+a+Presentation</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Opening a Password Protected Presentation</Title>
<Description>Aspose.Slides for Java provides facility to open password protected presentation using Presentation class. It offers few overloaded constructors and we can make use of one of the suitable constructors of Presentation class to create its object based on an existing presentation.In the example given below, we are accessing the password protected presentation. We will using LoadOptions class object to set the access password and then will use Presentation class to open presentation.</Description>
<FolderName>openingpasswordpresentation</FolderName>
<Order>2</Order>
<DocLink>
<DisplayName>Opening a Presentation</DisplayName>
<Url>Opening+a+Presentation</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Accessing the Document Properties of a Password Protected Presentation without Password.</Title>
<Description>Aspose.Slides for Java provides facility to access the Document Properties of the presentation in password protected presentation without supplying password using Presentation class. It offers few overloaded constructors and we can make use of one of the suitable constructors of Presentation class to create its object based on an existing presentation.In the example given below, we are accessing the Document Properties of a password protected presentation. We will using LoadOptions class object to set the presentation access properties.</Description>
<FolderName>accessingdocumentproperties</FolderName>
<Order>3</Order>
<DocLink>
<DisplayName>Opening a Presentation</DisplayName>
<Url>Opening+a+Presentation</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\demoPassDocument.pptx</Path>
</DataFile>
</InputFiles>
<Type>Console</Type>
</Example>
</Examples>
</Folder>
<Folder>
<Title>Saving a Presentation</Title>
<Description>The Presentation class holds the contents of a presentation. Whether you are creating a presentation from scratch or modifying an existing one, you want to save your presentation when you're finished.
- Save to file.
- Save with password protection.
- Saving a password protected presentation with read access to document properties.
- Save as read only.
- Remove write protection.</Description>
<FolderName>savingapresentation</FolderName>
<Order>5</Order>
<Examples>
<Example>
<Title>Save to file</Title>
<Description>Save a presentation to files by calling the Presentation class Write method. Simply pass the file name to the Write method as a string.</Description>
<FolderName>savetofile</FolderName>
<Order>1</Order>
<DocLink>
<DisplayName>Saving a Presentation</DisplayName>
<Url>Saving+a+Presentation</Url>
</DocLink>
<OutputFiles>
<DataFile>
<Path>..\data\Saved.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Save with password protection</Title>
<Description>It's possible to save presentations with password protection. The presentation class exposes the Encrypt method which sets the password for the presentation. To do this, simply pass the password to the Encrypt method and then use the Write method exposed by the Presentation class as a string to save the presentation.</Description>
<FolderName>savewithpasswordprotection</FolderName>
<Order>2</Order>
<DocLink>
<DisplayName>Saving a Presentation</DisplayName>
<Url>Saving+a+Presentation</Url>
</DocLink>
<OutputFiles>
<DataFile>
<Path>..\data\demoPass.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Saving a Password Protected Presentation with Read Access to Document Properties</Title>
<Description>It's possible to save presentations with password protection. But in that case access to the presentation's document properties is also prohibited. Aspose.Slides offers a mechanism for password protecting a presentation but still being able to access the document properties in PowerPoint. The Presentation exposes the EncryptDocumentProperties property that takes a Boolean value to allow or disallow access to the document properties in password protected mode. By default, its value is set to true.</Description>
<FolderName>savingapresentationproperties</FolderName>
<Order>3</Order>
<DocLink>
<DisplayName>Saving a Presentation</DisplayName>
<Url>Saving+a+Presentation</Url>
</DocLink>
<OutputFiles>
<DataFile>
<Path>..\data\demoPassDocument.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Save As Read Only</Title>
<Description>Developers can now save presentations with write protection to allow the presentation to be read in read only mode. The Presentation class exposes the SetWriteProtection(string Password) method with which it is possible to save the presentation in read only mode by applying write protection on it. To do so, call the method and set the write protection password.</Description>
<FolderName>saveasreadonly</FolderName>
<Order>4</Order>
<DocLink>
<DisplayName>Saving a Presentation</DisplayName>
<Url>Saving+a+Presentation</Url>
</DocLink>
<OutputFiles>
<DataFile>
<Path>..\data\demoWriteProtected.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Removing Write Protection from a Presentation</Title>
<Description>Spose.Slides for Java provides a facility for accessing write protected presentation through the Presentation class. The IsWriteProtected property identifies whether a presentation is write protected or not. Then if it is write protected, the protection can be removed using the RemoveWriteProtection() method.</Description>
<FolderName>removingwriteprotection</FolderName>
<Order>5</Order>
<DocLink>
<DisplayName>Saving a Presentation</DisplayName>
<Url>Saving+a+Presentation</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\demoWriteProtected.pptx</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\newDemo.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
</Examples>
</Folder>
<Folder>
<Title>Managing Presentation Properties</Title>
<Description>Microsoft PowerPoint provides a feature to add some properties to the presentation files. These document properties allow some useful information to be stored along with the documents (presentation files). There are two kinds of document properties as follows:
- System Defined (Built-in) Properties
- User Defined (Custom) Properties
Built-in properties contain general information about the document like document title, author's name, document statistics and so on. Custom properties are those ones, which are defined by the users as Name/Value pairs, where both name and value are defined by the user. Using Aspose.Slides for Java, developers can access and modify the values of built-in properties as well as custom properties.</Description>
<FolderName>managingpresentationproperties</FolderName>
<Order>6</Order>
<Examples>
<Example>
<Title>Accessing Built-in Properties</Title>
<Description>These properties as exposed by IDocumentProperties object.</Description>
<FolderName>accessingbuiltinproperties</FolderName>
<Order>1</Order>
<DocLink>
<DisplayName>Managing Presentation Properties</DisplayName>
<Url>Managing+Presentation+Properties</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Modifying Built-in Properties</Title>
<Description>Modifying the built-in properties of presentation files is as easy as that of accessing them. You can simply assign a string value to any desired property and the property value would be modified. In the example given below, we have demonstrated that how we can modify the built-in document properties of the presentation file.</Description>
<FolderName>modifyingbuiltinproperties</FolderName>
<Order>2</Order>
<DocLink>
<DisplayName>Managing Presentation Properties</DisplayName>
<Url>Managing+Presentation+Properties</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\DocProps.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Accessing and Modifying Custom Properties</Title>
<Description>Aspose.Slides for Java also allows developers to access the values of custom properties. An example is given below that shows how can you access and modify all of these custom properties for a presentation.</Description>
<FolderName>accessingmodifyingproperties</FolderName>
<Order>3</Order>
<DocLink>
<DisplayName>Managing Presentation Properties</DisplayName>
<Url>Managing+Presentation+Properties</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\CustomDemoModified.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
</Examples>
</Folder>
<Folder>
<Title>Converting Presentation to TIFF</Title>
<Description>TIFF format is known by its flexibility to accommodate multipage images and data. Keeping in view the importance and popularity of TIFF format, Aspose.Slides for Java provides the support for converting presentations into TIFF document.
There are two different tiff export options:
- Converting Presentation to TIFF with default size.
- Converting Presentation to TIFF with custom size.</Description>
<FolderName>convertingpresentationtotiff</FolderName>
<Order>7</Order>
<Examples>
<Example>
<Title>Converting Presentation to TIFF with default size</Title>
<Description>Aspose.Slides helps you convert a presentation into TIFF document with default options.</Description>
<FolderName>convertingwithdefaultsize</FolderName>
<Order>1</Order>
<DocLink>
<DisplayName>Converting Presentation to TIFF</DisplayName>
<Url>Converting+Presentation+to+TIFF</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\demo.tiff</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Converting Presentation to TIFF with custom size</Title>
<Description>You can convert a presentation into TIFF document with customized image size using TiffOptions class.</Description>
<FolderName>convertingwithcustomsize</FolderName>
<Order>2</Order>
<DocLink>
<DisplayName>Converting Presentation to TIFF</DisplayName>
<Url>Converting+Presentation+to+TIFF</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\demo.tiff</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
</Examples>
</Folder>
<Folder>
<Title>Converting Presentation to XPS</Title>
<Description>The Save method exposed by Presentation class can be used to convert the whole presentation into XPS document.
Further, XpsOptions class exposes SaveMetafileAsPng property that can be set to true or false as per requirement.</Description>
<FolderName>convertingpresentationtoxps</FolderName>
<Order>8</Order>
<Examples>
<Example>
<Title>Converting Presentation to XPS without XpsOptions</Title>
<Description>You can convert a presentation into XPS document without using options provided by XpsOptions class.</Description>
<FolderName>convertingwithoutxpsoptions</FolderName>
<Order>1</Order>
<DocLink>
<DisplayName>Converting Presentation to XPS</DisplayName>
<Url>Converting+Presentation+to+XPS</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\demo.xps</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Converting Presentation to XPS with XpsOptions</Title>
<Description>You can convert a presentation into XPS document using options provided by XpsOptions class.</Description>
<FolderName>convertingwiithxpsoptions</FolderName>
<Order>2</Order>
<DocLink>
<DisplayName>Converting Presentation to XPS</DisplayName>
<Url>Converting+Presentation+to+XPS</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\demo.xps</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
</Examples>
</Folder>
</Folders>
</Folder>
<Folder>
<Title>Working With Slides in Presentation</Title>
<Description>This section includes the following examples:
- Adding Slides to Presentation
- Accessing Slides of a Presentation
- Removing Slides from a Presentation
- Cloning Slides in Presentation
- Changing the Position of a Slide
- Setting the Background Color to Slides
- Setting the Background Color to a Gradient to Slides
- Setting the Image as Background to Slides
- Creating Slides Thumbnail Image
- Managing Slides Transitions
- Creating Slides SVG Image
- Working with Slide Comments
- Managing Slide Transitions</Description>
<FolderName>workingwithslidesinpresentation</FolderName>
<Order>2</Order>
<Examples>
<Example>
<Title>Adding Slides To Presentation</Title>
<Description>Each PowerPoint presentation file contains Master / Layout slide and other Normal slides. It means that a presentation file contains at least one or more slides. It is important to know that presentation files without slides are not supported by Aspose.Slides for Java. Each slide has unique Id and all the Normal Slides are arranged in an order specified by the zero based index.</Description>
<FolderName>addingslidestopresentation</FolderName>
<Order>1</Order>
<DocLink>
<DisplayName>Adding Slides To Presentation</DisplayName>
<Url>Adding+Slides+to+Presentation</Url>
</DocLink>
<OutputFiles>
<DataFile>
<Path>..\data\EmptySlide.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Accessing Slides of A Presentation</Title>
<Description>Each slide in a presentation has a unique Id. On the other hand, all the slides in the presentation are arranged in the order of the slide position starting from 0, that is, slide at position 1 will be accessible through 0 index of ISlideCollection associated with a Presentation object.</Description>
<FolderName>accessingslidesofapresentation</FolderName>
<Order>2</Order>
<DocLink>
<DisplayName>Accessing Slides of A Presentation</DisplayName>
<Url>Accessing+Slides+of+a+Presentation</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Creating Slides SVG Image</Title>
<Description>Aspose.Slides for Java is used to create presentation files, complete with slides. These slides can be viewed by opening presentations using Microsoft PowerPoint. But sometimes, developers may also need to view slides as SVG images in their favorite image viewer. In such cases, Aspose.Slides for Java lets you export an individual slide to an SVG image.</Description>
<FolderName>creatingslidessvgimage</FolderName>
<Order>11</Order>
<DocLink>
<DisplayName>Creating Slides SVG Image</DisplayName>
<Url>Creating+Slides+SVG+Image</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\Aspose.svg</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
</Examples>
<Folders>
<Folder>
<Title>Removing Slides From A Presentation</Title>
<Description>Presentation class encapsulates a ISlideCollection that acts as a repository of all slides that are the part of the presentation. You can remove a slide from this Slides collection in two ways:
- Using Slide Reference
- Using Slide Index</Description>
<FolderName>removingslidesfromapresentation</FolderName>
<Order>3</Order>
<Examples>
<Example>
<Title>Using Slide Reference</Title>
<Description>In this example, we will see how we can remove a slide using a slide reference.</Description>
<FolderName>usingslidereference</FolderName>
<Order>1</Order>
<DocLink>
<DisplayName>Removing Slides from a Presentation</DisplayName>
<Url>Removing+Slides+from+a+Presentation</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\modified.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Using Slide Index</Title>
<Description>In this example, we will see how we can remove a slide using its index position in the slides collection of the presentation,</Description>
<FolderName>usingslideindex</FolderName>
<Order>2</Order>
<DocLink>
<DisplayName>Removing Slides from a Presentation</DisplayName>
<Url>Removing+Slides+from+a+Presentation</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\modified.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
</Examples>
</Folder>
<Folder>
<Title>Cloning Slides in Presentation</Title>
<Description>Cloning is the process of making an exact copy or replica of something. Aspose.Slides for Java makes it possible to make a copy or clone of any slide and then insert s that cloned slide to the current or any other opened presentation. The process of slide cloning creates a new slide that can be modified by developers without changing the original slide.</Description>
<FolderName>cloningslidesinpresentation</FolderName>
<Order>4</Order>
<Examples>
<Example>
<Title>In Another Presentation with Master Slide from Source Presentation at the End of the Existing Slides</Title>
<Description>You can clone a slide with master slide from one presentation from and use it in another presentation. For that, you need to clone the desired master slide from source presentation to destination presentation first. Then you need to use that master slide for cloning slide with master slide.</Description>
<FolderName>anotherpresentationwithmaster</FolderName>
<Order>5</Order>
<DocLink>
<DisplayName>Cloning Slides in Presentation</DisplayName>
<Url>Cloning+Slides+in+Presentation</Url>
</DocLink>
<Type>Console</Type>
</Example>
</Examples>
</Folder>
<Folder>
<Title>Creating Slides Thumbnail Image</Title>
<Description>Aspose.Slides for Java is used to create presentation files containing slides. These slides can be viewed by opening presentation files using Microsoft PowerPoint. But sometimes, developers may need to view slides as images using their favorite image viewer. In such cases, Aspose.Slides for Java help you generate thumbnail images of the slides.</Description>
<FolderName>creatingslidesthumbnailimage</FolderName>
<Order>9</Order>
<Examples>
<Example>
<Title>Generating a Thumbnail from a Slide with User Defined Dimensions</Title>
<Description>To generate the thumbnail of any desired slide using Aspose.Slides for Java:
- Create an instance of the Presentation class.
- Obtain the reference of any desired slide by using its ID or index.
- Get the X and Y scaling factors based on user defined X and Y dimensions.
- Get the thumbnail image of the referenced slide on a specified scale.
- Save the thumbnail image in any desired image format.</Description>
<FolderName>generatingthumbnailfromslidewithuserdefineddimensions</FolderName>
<Order>2</Order>
<DocLink>
<DisplayName>Creating Slides Thumbnail Image</DisplayName>
<Url>Creating+Slides+Thumbnail+Image</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\Thumbnail2.jpg</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Generating a Thumbnail from a Slide in Notes Slides View</Title>
<Description>To generate the thumbnail of any desired slide in Notes Slide View using Aspose.Slides for Java:
- Create an instance of the Presentation class.
- Obtain the reference of any desired slide by using its ID or index.
- Get the thumbnail image of the referenced slide on a specified scale in Notes Slide view.
- Save the thumbnail image in any desired image format.</Description>
<FolderName>generatingthumbnailfromslideinnotesslidesview</FolderName>
<Order>3</Order>
<DocLink>
<DisplayName>Creating Slides Thumbnail Image</DisplayName>
<Url>Creating+Slides+Thumbnail+Image</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Aspose.pptx</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\Notes_tnail.jpg</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
</Examples>
</Folder>
</Folders>
</Folder>
<Folder>
<Title>Working With Shapes</Title>
<Description>This section includes the following topics:
- Adding Line Shape to Slide
- Finding a Shape in a Slide
- Applying Animations on Shapes inside Slide
- Formatting Lines of the Shapes
- Filling Shapes with Gradient
- Filling Shapes with Pattern
- Filling Shapes with Picture
- Filling Shapes with Solid Color
- Rotating Shapes
- Adding Picture Frame to Slide
- Adding Audio Frame to Slide
- Adding Video Frame to Slide
- Working with OLE Object Frames
- Adding Ellipse Shape to Slide
- Adding Rectangle Shape to Slide
- Adding an Embedded Video Frame to Slide</Description>
<FolderName>workingwithshapes</FolderName>
<Order>3</Order>
<Examples>
<Example>
<Title>Applying Animations On Shapes Inside Slide</Title>
<Description>Animation is one of the most important parts of the presentations that make them more attractive and meaningful. Aspose.Slides for Java also allows developers to apply different kinds of animation effects on different kinds of shapes. There is a separate namespace Aspose.Slides.Pptx.Animation that provides classes to handle the animations on PPTX presentations.</Description>
<FolderName>applyinganimationsonshapesinsideslide</FolderName>
<Order>3</Order>
<DocLink>
<DisplayName>Applying Animations on Shapes inside Slide</DisplayName>
<Url>Applying+Animations+on+Shapes+inside+Slide</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\AnimExample.pptx</Path>
</DataFile>
</InputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Filling Shapes With Gradient</Title>
<Description>In this example, we will see how we can fill the shapes with the gradient of two colors using Aspose.Slides for Java.</Description>
<FolderName>fillingshapesgradient</FolderName>
<Order>5</Order>
<DocLink>
<DisplayName>Filling Shapes with Gradient</DisplayName>
<Url>Filling+Shapes+with+Gradient</Url>
</DocLink>
<Type>Console</Type>
</Example>
<Example>
<Title>Filling Shapes With Pattern</Title>
<Description>You can use the patterns to fill the shapes in more attractive styles. Aspose.Slides for Java offers more than 45 pre-defined pattern styles that can be used by developers to enrich their presentations.</Description>
<FolderName>fillingshapespattern</FolderName>
<Order>6</Order>
<DocLink>
<DisplayName>Filling Shapes with Pattern</DisplayName>
<Url>Filling+Shapes+with+Pattern</Url>
</DocLink>
<Type>Console</Type>
</Example>
<Example>
<Title>Filling Shapes With Picture</Title>
<Description>In this example, we will see how we can fill the shapes with picture using Aspose.Slides for Java.</Description>
<FolderName>fillingshapespicture</FolderName>
<Order>7</Order>
<DocLink>
<DisplayName>Filling Shapes with Picture</DisplayName>
<Url>Filling+Shapes+with+Picture</Url>
</DocLink>
<Type>Console</Type>
</Example>
<Example>
<Title>Rotating Shapes</Title>
<Description>In this example, we will see how we can rotate the shapes in the presntation using Aspose.Slides for Java.</Description>
<FolderName>rotatingshapes</FolderName>
<Order>8</Order>
<DocLink>
<DisplayName>Rotating Shapes</DisplayName>
<Url>Rotating+Shapes</Url>
</DocLink>
<Type>Console</Type>
</Example>
<Example>
<Title>Adding an Embedded Video Frame To Slide</Title>
<Description>Developers can also embed and play video files in the slides to enrich their presentations. Aspose.Slides for Java supports adding Embedded Video Frames to the slides that make it possible for developers to add videos to their presentations.</Description>
<FolderName>embeddedvideoframe</FolderName>
<Order>15</Order>
<DocLink>
<DisplayName>Adding an Embedded Video Frame to Slide</DisplayName>
<Url>Adding+an+Embedded+Video+Frame+to+Slide</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\Wildlife.wmv</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\VideoFrame.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Calculating Connector Line Angle</Title>
<Description>In this example, we will see how we can calculate the angle of connector line added in slide using Aspose.Slides for Java.</Description>
<FolderName>connectorlineangle</FolderName>
<Order>16</Order>
<DocLink>
<DisplayName>Calculating Connector Line Angle</DisplayName>
<Url>Calculating+Connector+Line+Angle</Url>
</DocLink>
<Type>Console</Type>
</Example>
</Examples>
<Folders>
<Folder>
<Title>Adding Line Shape To Slide</Title>
<Description>Aspose.Slides for Java supports adding different kinds of shapes to the slides. In this topic, we will start working with shapes by adding lines to the slides. Using Aspose.Slides for Java , developers can not only create simple lines , but some fancy lines can also be drawn on the slides.</Description>
<FolderName>addinglineshapetoslide</FolderName>
<Order>1</Order>
<Examples>
<Example>
<Title>Adding Arrow Shaped Line To Slide</Title>
<Description>Aspose.Slides for Java allows developers to configure some properties of the line to make it look more appealing. In this example, we will see how we can add arrow shaped line to the slide using Aspose.Slides for Java.</Description>
<FolderName>addingarrowshapedlinetoslide</FolderName>
<Order>2</Order>
<DocLink>
<DisplayName>Adding Line Shape to Slide</DisplayName>
<Url>Adding+Line+Shape+to+Slide</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\LineShape2.pptx</Path>
</DataFile>
</InputFiles>
<Type>Console</Type>
</Example>
</Examples>
</Folder>
<Folder>
<Title>Formatting Lines Of The Shapes</Title>
<Description>This section includes the following topics:
- Formatting the Lines of Shapes
- Formatting the Join Styles</Description>
<FolderName>formattinglines</FolderName>
<Order>4</Order>
<Examples>
<Example>
<Title>Formatting The Lines Of Shapes</Title>
<Description>Using Aspose.Slides for Java, you can change the format settings of the lines with which a shape is obtained. For example, you can change the width of the line, modify the color of the line, apply different kinds of styles on the lines etc.</Description>
<FolderName>formattinglines</FolderName>
<Order>1</Order>
<DocLink>
<DisplayName>Formatting Lines of the Shapes</DisplayName>
<Url>Formatting+Lines+of+the+Shapes</Url>
</DocLink>
<Type>Console</Type>
</Example>
<Example>
<Title>FormattingThe Join Styles</Title>
<Description>In this example, we will see how we can format the join styles using Aspose.Slides for Java.</Description>
<FolderName>formattingjoinstyles</FolderName>
<Order>2</Order>
<DocLink>
<DisplayName>Formatting Lines of the Shapes</DisplayName>
<Url>Formatting+Lines+of+the+Shapes</Url>
</DocLink>
<Type>Console</Type>
</Example>
</Examples>
</Folder>
<Folder>
<Title>Adding Picture Frame To Slide</Title>
<Description>Picture frame is also one of the shapes offered by Aspose.Slides for Java . Adding picture frame to a slide is bit trickier than simple shapes. A picture frame is like a picture in a frame. You can add any desired picture to your slide as a picture frame.</Description>
<FolderName>addingpictureframe</FolderName>
<Order>9</Order>
<Examples>
<Example>
<Title>Adding Simple Picture Frames To Slides</Title>
<Description>In this example, we will see how we can add simple picture frames to the slides using Aspose.Slides for Java.</Description>
<FolderName>addingsimplepictureframes</FolderName>
<Order>1</Order>
<DocLink>
<DisplayName>Adding Picture Frame to Slide</DisplayName>
<Url>Adding+Picture+Frame+to+Slide</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\aspose-logo.jpg</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\RectPicFrame.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
</Examples>
</Folder>
<Folder>
<Title>Working With OLE Object Frames</Title>
<Description>OLE stands for Object Linking & Embedding . It's a Microsoft technology that allows objects created in one application to be embedded in another application. Aspose.Slides for Java supports adding OLE Objects to the slides in the form of OLE Object Frames.
This article explains different examples of working with Ole frames:
- Adding an OLE Object Frame to a Slide
- Accessing an OLE Object Frame from a Slide
- Changing an OLE Object data from a Slide</Description>
<FolderName>oleobjectframes</FolderName>
<Order>12</Order>
<Examples>
<Example>
<Title>Adding An OLE Object Frame To A Slide</Title>
<Description>In this example, we will see how we can add an OLE object frame to a slide using Aspose.Slides for Java.</Description>
<FolderName>addingoleobjectframe</FolderName>
<Order>1</Order>
<DocLink>
<DisplayName>Working With OLE Object Frames</DisplayName>
<Url>Working+with+OLE+Object+Frames</Url>
</DocLink>
<InputFiles>
<DataFile>
<Path>..\data\book1.xlsx</Path>
</DataFile>
</InputFiles>
<OutputFiles>
<DataFile>
<Path>..\data\OleEmbed.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
</Examples>
</Folder>
<Folder>
<Title>Adding Ellipse Shape To Slide</Title>
<Description>Aspose.Slides for Java provides an easier set of APIs to draw different kinds of shapes with just a few lines of code. This section includes the following topics:
- Adding Simple Ellipse in the Slide
- Adding Formatted Ellipse to the Slide</Description>
<FolderName>addingellipseshape</FolderName>
<Order>13</Order>
<Examples>
<Example>
<Title>Adding Simple Ellipse in the Slide</Title>
<Description>In this example, we will see how we can add a simple ellipse to the first slide using Aspose.Slides for Java.</Description>
<FolderName>simpleellipse</FolderName>
<Order>1</Order>
<DocLink>
<DisplayName>Adding Ellipse Shape to Slide</DisplayName>
<Url>Adding+Ellipse+Shape+to+Slide</Url>
</DocLink>
<OutputFiles>
<DataFile>
<Path>..\data\EllipseShp1.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Adding Formatted Ellipse in the Slide</Title>
<Description>In this example, we will see how we can add a formatted ellipse to the first slide of the presentation using Aspose.Slides for Java.</Description>
<FolderName>formattedellipse</FolderName>
<Order>2</Order>
<DocLink>
<DisplayName>Adding Ellipse Shape to Slide</DisplayName>
<Url>Adding+Ellipse+Shape+to+Slide</Url>
</DocLink>
<OutputFiles>
<DataFile>
<Path>..\data\EllipseShp2.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
</Examples>
</Folder>
<Folder>
<Title>Adding Rectangle Shape to Slide</Title>
<Description>This section includes the following topics:
- Adding Simple Rectangle in the Slide
- Adding Formatted Rectangle to Slide</Description>
<FolderName>rectangleshape</FolderName>
<Order>14</Order>
<Examples>
<Example>
<Title>Adding Simple Rectangle in the Slide</Title>
<Description>In this example, we will see how we can add simple rectangle to the first slide of the presentation using Aspose.Slides for Java.</Description>
<FolderName>simplerectangle</FolderName>
<Order>1</Order>
<DocLink>
<DisplayName>Adding Rectangle Shape to Slide</DisplayName>
<Url>Adding+Rectangle+Shape+to+Slide</Url>
</DocLink>
<OutputFiles>
<DataFile>
<Path>..\data\RectShp1.pptx</Path>
</DataFile>
</OutputFiles>
<Type>Console</Type>
</Example>
<Example>
<Title>Adding Formatted Rectangle To Slide</Title>
<Description>In this example, we will see how we can add the formatted rectangle to the slide using Aspose.Slides for ,NET.</Description>
<FolderName>formattedrectangle</FolderName>
<Order>2</Order>