MasterSlideCollection
Vue de l’ensemble
‘MasterSlideCollection’ est une classe dans Aspose.Sliides FOSS pour Java. hérite de: ‘IMasterLide Collection’, ‘Iterable
Représente une collection de master slides dans une présentation.
Cette classe fournit 15 méthodes pour travailler avec des objets MasterSlideCollection dans les programmes Java. Les méthodologies disponibles comprennent: MasterSLide Collection, add , addClone ; asICollection‘ ; 'asIEnumerable; cloneLayoutPart : cloneMesterParts .get,, getMaxMastLayoutIdInPresentation.getNextLAYUTFileNumber., getNextMasteFilNumeret 3 méthode supplémentaires. Tous les membres publics sont accessibles à toute application Java après l'installation de l’Aspose.Sliides FOSS pour le package Java . Propriétés :maxMostLoyutIdePresences, nxtLydeFitnumeFimber.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
nextMasterFileNumber | int | Read | Finds the next available master slide file number in the package. |
nextLayoutFileNumber | int | Read | Finds the next available layout slide file number in the package. |
maxMasterLayoutIdInPresentation | long | Read | Finds the maximum ID across all master slide IDs and layout IDs in the presentation. |
méthodes
| Signature | Description |
|---|---|
MasterSlideCollection() | Creates an empty MasterSlideCollection. |
initInternal(presentation: IPresentation, opcPackage: OpcPackage, presentationPart: PresentationPart, masterSlides: List<IMasterSlide>) | Performs internal initialization for the master slide collection. |
get(index: int) → IMasterSlide | |
size() → int | |
asICollection() → List<IMasterSlide> | Returns the master slides as a List |
asIEnumerable() → Iterable<IMasterSlide> | |
iterator() → Iterator<IMasterSlide> | Returns an iterator over the master slides |
addClone(sourceMaster: IMasterSlide) → IMasterSlide | Creates a clone of the given master slide and adds it to the collection |
add(master: IMasterSlide) | Adds a master slide to the collection. |
getNextMasterFileNumber() → int | Finds the next available master slide file number in the package. |
getNextLayoutFileNumber() → int | Finds the next available layout slide file number in the package. |
cloneMasterPart(sourcePackage: OpcPackage, sourcePartName: String, destPackage: OpcPackage, destPartName: String) → Map<String, String> | Clones a master slide part and its related resources (except layouts) from one |
| package to another. | |
cloneLayoutPart(sourcePackage: OpcPackage, sourcePartName: String, destPackage: OpcPackage, destPartName: String, destMasterPartName: String) | Clones a layout slide part from one package to another. |
getMaxMasterLayoutIdInPresentation() → long | Finds the maximum ID across all master slide IDs and layout IDs in the presentation. |
updateMasterLayoutRelationships(sourcePackage: OpcPackage, sourceMasterPartName: String, destMasterPartName: String, layoutMapping: Map<String, String>, sourceLayoutRids: Map<String, String>) | Updates a master slide’s relationships and XML to point to cloned layouts. |
Voir aussi
- Aspose.Slides - référence API d’entreprise