com.aspose.cells

Class VerticalPageBreakCollection

  • java.lang.Object
  • All Implemented Interfaces:
    java.lang.Iterable
    public class VerticalPageBreakCollection 
    extends CollectionBase

Encapsulates a collection of VerticalPageBreak objects.

Property Getters/Setters Summary
intgetCount()
VerticalPageBreakget(int index)
Gets the VerticalPageBreak element at the specified index.
VerticalPageBreakget(java.lang.String cellName)
Gets the VerticalPageBreak element with the specified cell name.
 
Method Summary
intadd(int column)
Adds a vertical page break to the collection.
intadd(int row, int column)
Adds a vertical page break to the collection.
intadd(int startRow, int endRow, int column)
Adds a vertical page break to the collection.
intadd(java.lang.Object value)
Reserved for internal use.
intadd(java.lang.String cellName)
Adds a vertical page break to the collection.
voidclear()
booleancontains(java.lang.Object value)
Reserved for internal use.
intindexOf(java.lang.Object value)
Reserved for internal use.
java.util.Iteratoriterator()
voidremoveAt(int index)
Removes the VPageBreak element at a specified name.
 

    • Property Getters/Setters Detail

      • getCount

        public int getCount()
        
      • get

        public VerticalPageBreak get(int index)
        
        Gets the VerticalPageBreak element at the specified index.
        Parameters:
        index - The zero based index of the element.
        Returns:
        The element at the specified index.
      • get

        public VerticalPageBreak get(java.lang.String cellName)
        
        Gets the VerticalPageBreak element with the specified cell name.
        Parameters:
        cellName - Cell name.
        Returns:
        The element with the specified cell name.
    • Method Detail

      • add

        public int add(int startRow, int endRow, int column)
        Adds a vertical page break to the collection. This method is used to add a vertical pagebreak within a print area.
        Parameters:
        startRow - Start row index, zero based.
        endRow - End row index, zero based.
        column - Column index, zero based.
        Returns:
        VerticalPageBreak object index.
      • add

        public int add(int column)
        Adds a vertical page break to the collection. Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently.
        Parameters:
        column - Cell column index, zero based.
        Returns:
        VerticalPageBreak object index.
      • add

        public int add(int row, int column)
        Adds a vertical page break to the collection. Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently.
        Parameters:
        row - Cell row index, zero based.
        column - Cell column index, zero based.
        Returns:
        VerticalPageBreak object index.
      • add

        public int add(java.lang.String cellName)
        Adds a vertical page break to the collection. Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently.
        Parameters:
        cellName - Cell name.
        Returns:
        VerticalPageBreak object index.
      • removeAt

        public void removeAt(int index)
        Removes the VPageBreak element at a specified name.
        Parameters:
        index - Element index, zero based.
      • clear

        public void clear()
      • iterator

        public java.util.Iterator iterator()
      • contains

        public boolean contains(java.lang.Object value)
        Reserved for internal use.
      • add

        public int add(java.lang.Object value)
        Reserved for internal use.
      • indexOf

        public int indexOf(java.lang.Object value)
        Reserved for internal use.