Class: Birt::Core::TableCellLabel

Inherits:
BaseReport show all
Defined in:
lib/birt/core/table/table_cell_label.rb

Instance Attribute Summary collapse

Attributes inherited from BaseReport

#id

Instance Method Summary collapse

Methods inherited from BaseReport

#elem_text

Constructor Details

#initialize(x_ele) {|_self| ... } ⇒ TableCellLabel

Returns a new instance of TableCellLabel.

Yields:

  • (_self)

Yield Parameters:



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_propertiesObject

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