Lines Matching full:table
7 * Class for handling the table column element.
14 // Which column number in the corresponding table is this?
23 $this->setClass ('table-column');
32 return ('table:table-column');
41 return '<table:table-column table:style-name="'.$this->getStyleName().'"/>';
50 return '</table:table-column>';
55 * As a table column we are not.
65 * As a table column our parent is the table element.
70 $table = $previous;
71 while (isset($table)) {
72 if ($table->getClass() == 'table') {
75 $table = $table->getParent();
77 $this->setParent($table);
79 if (!isset($table)) {
86 $table_column_styles = $table->getTableColumnStyles();
87 $auto_columns = $table->getTableAutoColumns();
88 $max_columns = $table->getTableMaxColumns();
89 $row_count = $table->getRowCount();
90 $curr_column = $table->getTableCurrentColumn();
99 // and also set it in the table (if not done yet)
100 $style_name = $table->getTableColumnStyleName($curr_column);
102 $style_name = 'odt_auto_style_table_column_'.$table->getCount().'_'.($curr_column+1);
103 $table->setTableColumnStyleName($curr_column, $style_name);
111 $table->setTableCurrentColumn($curr_column);
115 $table->setTableMaxColumns($max_columns + 1);
123 * column style name in its corresponding table.
126 * pointers in the table and use them to query the names.
132 $table = $this->getParent();
133 if (isset($table)) {
134 $table->setTableColumnStyleName($this->columnNumber, $value);
141 * Return the table to which this column belongs.