Class: Uniword::Wordprocessingml::TableCell
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Uniword::Wordprocessingml::TableCell
- Defined in:
- lib/uniword/wordprocessingml/table_cell.rb
Overview
Table cell
Generated from OOXML schema: wordprocessingml.yml Element: <w:tc>
Instance Attribute Summary collapse
-
#header ⇒ Object
Non-serialized runtime flag: true if this cell originated from <th>.
Instance Method Summary collapse
-
#accept(visitor) ⇒ Object
Accept visitor.
-
#text ⇒ String
Get cell text content.
Instance Attribute Details
#header ⇒ Object
Non-serialized runtime flag: true if this cell originated from <th>
18 19 20 |
# File 'lib/uniword/wordprocessingml/table_cell.rb', line 18 def header @header end |
Instance Method Details
#accept(visitor) ⇒ Object
Accept visitor
38 39 40 |
# File 'lib/uniword/wordprocessingml/table_cell.rb', line 38 def accept(visitor) visitor.visit_table_cell(self) end |
#text ⇒ String
Get cell text content
45 46 47 |
# File 'lib/uniword/wordprocessingml/table_cell.rb', line 45 def text paragraphs.map(&:text).join("\n") end |