Class: Uniword::Properties::Borders

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/uniword/properties/borders.rb

Overview

Paragraph borders container

Represents <w:pBdr> element containing top, bottom, left, and right border definitions.

Examples:

Creating borders

borders = Borders.new(
  top: Border.new(style: 'single', size: 4, color: 'auto'),
  bottom: Border.new(style: 'single', size: 4, color: 'auto')
)