Class: Birt::Core::TableCellLabel
- Inherits:
-
BaseReport
- Object
- BaseReport
- Birt::Core::TableCellLabel
- Defined in:
- lib/birt/core/table/table_cell_label.rb
Instance Attribute Summary collapse
-
#text_properties ⇒ Object
Returns the value of attribute text_properties.
Attributes inherited from BaseReport
Instance Method Summary collapse
-
#initialize(x_ele) {|_self| ... } ⇒ TableCellLabel
constructor
A new instance of TableCellLabel.
Methods inherited from BaseReport
Constructor Details
#initialize(x_ele) {|_self| ... } ⇒ TableCellLabel
Returns a new instance of TableCellLabel.
5 6 7 8 9 10 11 12 13 |
# File 'lib/birt/core/table/table_cell_label.rb', line 5 def initialize(x_ele) self.text_properties = Array.new super(x_ele) do x_ele.get_elements(xpath="text-property").each { |tp| self.text_properties.push Birt::Core::TextProperty.new(tp) } end yield(self) if block_given? end |
Instance Attribute Details
#text_properties ⇒ Object
Returns the value of attribute text_properties.
3 4 5 |
# File 'lib/birt/core/table/table_cell_label.rb', line 3 def text_properties @text_properties end |