Interface TableFormatTemplate

All Superinterfaces:
Comparable<StoreElement>, GomSourceProvider, HistoryProvider, IDProvider, PackagePoolItem, PreviewImageProvider, StoreElement, TemplateStoreElement, Workflowable

Interface providing means to operate on table format templates.
Since:
4.0.120
  • Field Details

  • Method Details

    • getDefaultStyleTemplate

      @Nullable @Nullable StyleTemplate getDefaultStyleTemplate()
      Returns the StyleTemplate used for any table cell if not explicitly overridden using a StyleTemplateLink.
      Since:
      4.0.120
    • setDefaultStyleTemplate

      void setDefaultStyleTemplate(@Nullable @Nullable StyleTemplate template)
      Provide the StyleTemplate that should be used for any table cell which style isn't explicitly overriden using a StyleTemplateLink definition
      Since:
      4.0.120
    • addLink

      StyleTemplateLink addLink(@NotNull @NotNull StyleTemplate template)
      Provide a StyleTemplate which should be used for table cells defined in the returned StyleTemplateLink
      Since:
      4.0.120
    • getMinimumRowCount

      int getMinimumRowCount()
      Returns the minimum row count.
      Since:
      4.0.120
    • setMinimumRowCount

      void setMinimumRowCount(int value)
      Set the minimum row count.
      Since:
      4.0.120
    • getMinimumColumnCount

      int getMinimumColumnCount()
      Returns the minimum column count.
      Since:
      4.0.120
    • setMinimumColumnCount

      void setMinimumColumnCount(int value)
      Set the minimum column count.
      Since:
      4.0.120
    • getMaximumRowCount

      int getMaximumRowCount()
      Returns the maximum row count.
      Hint: In case of a value lower than minimum row count Integer.MAX_VALUE is returned.
      Since:
      4.0.120
    • setMaximumRowCount

      void setMaximumRowCount(int value)
      Set the maximum row count.
      Since:
      4.0.120
    • getMaximumColumnCount

      int getMaximumColumnCount()
      Returns the maximum column count.
      Hint: In case of a value lower than minimum column count Integer.MAX_VALUE is returned.
      Since:
      4.0.120
    • setMaximumColumnCount

      void setMaximumColumnCount(int value)
      Set the maximum column count.
      Since:
      4.0.120
    • getStyleTemplate

      @Nullable @Nullable StyleTemplateLink getStyleTemplate(int row, boolean lastRow, int column, boolean lastColumn)
      Get the first matching style template link for a specific row and column. If there is no matching template the default template link is returned.
      Parameters:
      row - a row number, starting with 0
      lastRow - provide true if the row is the last row
      column - a column number, starting with 0, or -1 to get the row template
      lastColumn - provide true if the column is the last column
      Returns:
      a matching style template link or the default template link
      Since:
      4.0.122