Class ApplyFontOperation

All Implemented Interfaces:
IBmPostUndoRedoHandler, IBmTask<Void>

public final class ApplyFontOperation extends BaseApplyFormatOperation
Operation of applying font
  • Constructor Details

  • Method Details

    • getConvertedFormatIndex

      protected Integer getConvertedFormatIndex(Map<Integer,Integer> convertedFormats, int srcFormatIndex, boolean applyFormat)
      Description copied from class: BaseApplyFormatOperation
      Get converted format index
      Specified by:
      getConvertedFormatIndex in class BaseApplyFormatOperation
      Parameters:
      convertedFormats - collection of converted format indexes
      srcFormatIndex - format index to be converted
      applyFormat - need to apply format
      Returns:
      converted format index
    • applyToCell

      protected void applyToCell(Map<Integer,Integer> convertedFormatsApply, Cell cell, boolean applyFormat)
      Description copied from class: BaseApplyFormatOperation
      Apply to cell
      Specified by:
      applyToCell in class BaseApplyFormatOperation
      Parameters:
      convertedFormatsApply - collection of converted format indexes
      cell - cell to apply format to
      applyFormat - need to apply format
    • applyToCell

      protected void applyToCell(Map<Integer,Integer> convertedFormatsApply, int rowIndex, int columnIndex, boolean applyFormat)
      Description copied from class: BaseApplyFormatOperation
      Apply to cell
      Specified by:
      applyToCell in class BaseApplyFormatOperation
      Parameters:
      convertedFormatsApply - collection of converted format indexes
      rowIndex - row index
      columnIndex - columns index
      applyFormat - need to apply format