Class: PdflibMini::Handle::TableCell
- Includes:
- InfoReader
- Defined in:
- lib/pdflib_mini/handle/table_cell.rb
Constant Summary collapse
- INFO_KEYWORD =
[ PdflibMini::Info::INFO_KEYWORD_TABLE_5_19, PdflibMini::Info::INFO_KEYWORD_TABLE_6_3, ].reduce([], :+)
Instance Method Summary collapse
-
#delete_table(*args) ⇒ Object
5.3 Table Formatting delete_table(int table, string optlist).
-
#fit_table(*args) ⇒ Object
5.3 Table Formatting string fit_table(int table, float llx, float lly, float urx, float ury, string optlist).
-
#info_table(keyword, _) ⇒ Object
5.3 Table Formatting float info_table(int table, string keyword).
-
#initialize(table_cell, p) ⇒ TableCell
constructor
A new instance of TableCell.
Methods included from InfoReader
Methods inherited from Base
Constructor Details
#initialize(table_cell, p) ⇒ TableCell
Returns a new instance of TableCell.
15 16 17 18 |
# File 'lib/pdflib_mini/handle/table_cell.rb', line 15 def initialize(table_cell, p) super(table_cell) @p = p end |
Instance Method Details
#delete_table(*args) ⇒ Object
5.3 Table Formatting delete_table(int table, string optlist)
34 35 36 |
# File 'lib/pdflib_mini/handle/table_cell.rb', line 34 def delete_table(*args) @p.delete_table(self, *args) end |
#fit_table(*args) ⇒ Object
5.3 Table Formatting string fit_table(int table, float llx, float lly, float urx, float ury, string optlist)
22 23 24 |
# File 'lib/pdflib_mini/handle/table_cell.rb', line 22 def fit_table(*args) @p.fit_table(self, *args) end |
#info_table(keyword, _) ⇒ Object
5.3 Table Formatting float info_table(int table, string keyword)
28 29 30 |
# File 'lib/pdflib_mini/handle/table_cell.rb', line 28 def info_table(keyword, _) @p.info_table(self, keyword) end |