com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class BaseOperatorCollection

    • Constructor Detail

      • BaseOperatorCollection

        public BaseOperatorCollection()
    • Method Detail

      • get_Item

        public abstract Operator get_Item(int index)

        Gets operator by its index.

        Parameters:
        index - Index of operator. Numbering is starts from 1.
        Returns:
        Operator from requested index
      • set_Item

        public abstract void set_Item(int index,
                                      Operator value)

        Sets operator by its index.

        Parameters:
        index - Index of operator. Numbering is starts from 1.
        value - Operator.
      • toList

        public abstract com.aspose.ms.System.Collections.Generic.List<Operator> toList()

        Returns opetator list.

        Returns:
        opetator list.
      • size

        public abstract int size()

        Gets count of operators in the collection.

        Returns:
        integer value
      • isEmpty

        public boolean isEmpty()

        Returns TRUE if the collection is empty.

        Returns:
        boolean value
      • isReadOnly

        public abstract boolean isReadOnly()

        Returns true if collection is read only.

        Returns:
        boolean value
      • isFastTextExtractionMode

        public abstract boolean isFastTextExtractionMode()

        Indicates whether collection is limited to fast text extraction

        Returns:
        boolean value
      • suppressUpdate

        public abstract void suppressUpdate()

        Suppresses update contents data. The contents stream is not updated until ResumeUpdate is called.

      • resumeUpdate

        public abstract void resumeUpdate()

        Resumes document update. Updates contents stream in case there are any pending changes.

      • insert

        public abstract void insert(int index,
                                    Operator op)

        Inserts operator into collection.

        Parameters:
        index - Index where new operator must be added
        op - Operator which will be insterted
      • add

        public abstract void add(Operator op)

        Adds new operator into collection.

        Parameters:
        op - Operator which must be added
      • remove

        public abstract boolean remove(Operator item)

        Removes operator from collection.

        Parameters:
        item - Operator instance
        Returns:
        boolean value
      • contains

        public abstract boolean contains(Operator item)

        Check if the item is in collection.

        Parameters:
        item - Operator instance
        Returns:
        boolean value
      • clear

        public abstract void clear()

        Clears collection.

      • getUnrestricted

        public abstract Operator getUnrestricted(int index)

        For internal usage only

        Parameters:
        index - int value
        Returns:
        Operator object
      • updateData

        public abstract void updateData()

        internal

      • deleteUnrestricted

        public abstract void deleteUnrestricted(int index)

        internal

        Parameters:
        index - int value
      • cancelUpdate

        public abstract void cancelUpdate()

        Cancels last update. This method may be called when the change should not raise contents update.