Class AbstractBookAdv

    • Constructor Detail

      • AbstractBookAdv

        public AbstractBookAdv()
    • Method Detail

      • sendModelEvent

        public abstract void sendModelEvent​(ModelEvent event)
      • getId

        public abstract String getId()
      • clearDefaultCellStyles

        public abstract void clearDefaultCellStyles()
      • clearNamedStyles

        public abstract void clearNamedStyles()
      • initDefaultCellStyles

        public abstract void initDefaultCellStyles()
      • setDefaultChartSeriesColors

        public abstract void setDefaultChartSeriesColors​(List<SColor> colors)
      • getDefaultChartSeriesColors

        public abstract List<SColor> getDefaultChartSeriesColors()
      • createTableName

        public abstract SName createTableName​(STable table)
      • addTable

        public abstract void addTable​(STable table)
      • getTable

        public abstract STable getTable​(String name)
      • removeTable

        public abstract STable removeTable​(String name)
      • initDefaultFont

        public abstract void initDefaultFont()
      • getCharWidth

        public abstract int getCharWidth()
      • clearExtraStyles

        public abstract void clearExtraStyles()
      • getOrAddFont

        public abstract SFont getOrAddFont​(SFont font)
        Get the font which stored in this book, or add it into the book if not found, then you can use SBook.searchFont(FontMatcher) to search and reuse this style.
        Since:
        5.3.0
      • isPostProcessing

        public abstract boolean isPostProcessing()
      • setPostProcessing

        public abstract void setPostProcessing​(boolean b)
      • hasSubtotalExpression

        public abstract boolean hasSubtotalExpression()
      • resetSubtotalExpressionCache

        public abstract void resetSubtotalExpressionCache()
      • startBatchNotificationMode

        public abstract void startBatchNotificationMode()
        Starts a batch mode for event notification in a workbook. Note: all the subsequence event will put in a queue or be ignored it if that event has a duplicated one already inside the queue, and then all the events are triggered until stopBatchNotificationMode() is invoked.

        Usage:

        
         try {
            book.startBatchNotificationMode();
            // do something here to send events.
          } finally {
            book.stopBatchNotificationMode(); // ensure this will be invoked finally
          }
          

        Since:
        5.1.0
        See Also:
        stopBatchNotificationMode()
      • stopBatchNotificationMode

        public abstract void stopBatchNotificationMode()
        Stops the batch mode for event notification when triggers all of the events in a queue.
        Since:
        5.1.0