Class TableConfig

java.lang.Object
com.deltaxml.msword.config.TableConfig

public class TableConfig extends Object
Configuration for table comparison.
  • Constructor Details

    • TableConfig

      public TableConfig()
      Create a new TableConfig instance. These parameters control how tables are compared.
    • TableConfig

      public TableConfig(boolean tableProcessingEnabled)
      Creates a new TableConfig instance, setting the value of the tableProcessingEnabled parameter.

      Contains parameters managing table processing.

      Parameters:
      tableProcessingEnabled - the value of the tableProcessingEnabled parameter.
  • Method Details

    • isTableProcessingEnabled

      public boolean isTableProcessingEnabled()
      Gets the value of the tableProcessingEnabled parameter.
      Returns:
      true if table processing is enabled, false if disabled
    • setTableProcessingEnabled

      public void setTableProcessingEnabled(boolean value)
      Specify whether to compare tables.
      Parameters:
      value - true to enable table processing, false to disable
    • isTableOrderlessColumns

      public boolean isTableOrderlessColumns()
      Gets the value of the tableOrderlessColumns parameter.
      Returns:
      the value of the tableOrderlessColumns parameter
    • setTableOrderlessColumns

      public void setTableOrderlessColumns(boolean value)
      Specify whether to treat table column order as significant (ordered) or insignificant (orderless). The default setting is ordered comparison.

      Setting orderless comparison allows changes in table column order to be ignored, allowing the comparison to highlight actual data changes in table cells without excessive noise when columns have moved left or right.

      N.B. Setting column comparison to orderless will mean the resulting column order will be the order from the "B" document, and that the "A" document order can not be returned to by rejecting changes in the output document.

      Parameters:
      value - set to true for orderless column comparison, false for ordered column comparison
    • isTableOrderlessRows

      public boolean isTableOrderlessRows()
      Gets the value of the tableOrderlessRows parameter.
      Returns:
      the value of the tableOrderlessRows parameter
    • setTableOrderlessRows

      public void setTableOrderlessRows(boolean value)
      Specify whether to treat table row order as significant (ordered) or insignificant (orderless). The default setting is ordered comparison.

      Setting orderless comparison allows changes in table row order to be ignored, allowing the comparison to highlight actual data changes in table cells without excessive noise when rows have moved up or down or have been rearranged or grouped.

      N.B. Setting row comparison to orderless will mean the resulting row order will be the order from the "B" document, and that the "A" document order can not be returned to by rejecting changes in the output document.

      Parameters:
      value - set to true for orderless row comparison, false for ordered row comparison