com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface ISectionCollection

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      ISection addEmptySection(java.lang.String name, int index)
      Add empty section to specified position of the collection.
      ISection addSection(java.lang.String name, ISlide startedFromSlide)
      Add new section started form specific slide.
      ISection appendEmptySection(java.lang.String name)
      Add empty section to the end of the collection.
      void clear()
      Removes all sections from the collection.
      ISection get_Item(int index)
      Gets the element at the specified index.
      int indexOf(ISection section)
      Returns an index of the specified section in the collection.
      void removeSection(ISection section)
      Remove section.
      void removeSectionWithSlides(ISection section)
      Remove section and slides contained in the section.
      void reorderSectionWithSlides(ISection section, int index)
      Moves section and its slides from the collection to the specified position.
      • Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable

        iterator
      • Methods inherited from interface com.aspose.ms.System.Collections.ICollection

        copyTo, getSyncRoot, isSynchronized, size
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • get_Item

        ISection get_Item(int index)

        Gets the element at the specified index. Read-only ISection.

      • addSection

        ISection addSection(java.lang.String name,
                            ISlide startedFromSlide)

        Add new section started form specific slide.

        Parameters:
        name - Name of the section
        startedFromSlide - First slide of section
        Returns:
        Added section.
      • addEmptySection

        ISection addEmptySection(java.lang.String name,
                                 int index)

        Add empty section to specified position of the collection.

        Parameters:
        name - Name of the section
        index - Index of new section.
        Returns:
        Added section.
      • removeSectionWithSlides

        void removeSectionWithSlides(ISection section)

        Remove section and slides contained in the section.

        Parameters:
        section - The section to remove from the collection.
      • removeSection

        void removeSection(ISection section)

        Remove section. Slides contained in the section will be merged into previous section.

        Parameters:
        section - The section to remove from the collection.
      • reorderSectionWithSlides

        void reorderSectionWithSlides(ISection section,
                                      int index)

        Moves section and its slides from the collection to the specified position.

        Parameters:
        index - Target index.
        section - Section to move.
      • appendEmptySection

        ISection appendEmptySection(java.lang.String name)

        Add empty section to the end of the collection.

        Parameters:
        name - Name of the section
        Returns:
        Added section.
      • indexOf

        int indexOf(ISection section)

        Returns an index of the specified section in the collection.

        Parameters:
        section - Section to find.
        Returns:
        Index of a section or -1 if section not from this collection.
      • clear

        void clear()

        Removes all sections from the collection.