syntax = "proto3";

package wix.rich_content.v1;
import "wix/api/validations.proto";
import "google/protobuf/wrappers.proto";

message TableCellData {

  enum VerticalAlignment {
    TOP = 0; // Top alignment
    MIDDLE = 1; // Middle alignment
    BOTTOM = 2; // Bottom alignment
}
  message CellStyle {
    VerticalAlignment vertical_alignment = 1; // Vertical alignment for the cell's text.
    google.protobuf.StringValue background_color = 2 [(wix.api.format) = COLOR_HEX]; // Cell background color as a hexadecimal value.
  }
  message BorderColors {
    google.protobuf.StringValue left = 1 [(wix.api.format) = COLOR_HEX]; // Left border color as a hexadecimal value.
    google.protobuf.StringValue right = 2 [(wix.api.format) = COLOR_HEX]; // Right border color as a hexadecimal value.
    google.protobuf.StringValue top = 3 [(wix.api.format) = COLOR_HEX]; // Top border color as a hexadecimal value.
    google.protobuf.StringValue bottom = 4 [(wix.api.format) = COLOR_HEX]; // Bottom border color as a hexadecimal value.
  }
  CellStyle cell_style = 1; // Styling for the cell's background color and text alignment.
  BorderColors border_colors = 2; // The cell's border colors.
}

