Skip to content

Commit

Permalink
MDL-14249, to keep ods lib exactly the same with excellib, some dummy…
Browse files Browse the repository at this point in the history
… function added
  • Loading branch information
dongsheng committed Apr 16, 2008
1 parent 5508ecf commit d1a734f
Showing 1 changed file with 59 additions and 1 deletion.
60 changes: 59 additions & 1 deletion lib/odslib.class.php
Expand Up @@ -193,6 +193,18 @@ function write_date($row, $col, $date, $format=0) {
$this->data[$row][$col]->format = $format;
}

/**
* Write one formula somewhere in the worksheet
*
* @param integer $row Zero indexed row
* @param integer $col Zero indexed column
* @param string $formula The formula to write
* @param mixed $format The XF format for the cell
*/
function write_formula($row, $col, $formula, $format=null) {
// not implement
}

/* Write one blanck somewhere in the worksheet
* @param integer $row Zero indexed row
* @param integer $col Zero indexed column
Expand Down Expand Up @@ -272,6 +284,52 @@ function set_column($firstcol, $lastcol, $width, $format = 0, $hidden = false, $

}
}
/**
* Set the option to hide gridlines on the printed page.
*
* @access public
*/
function hide_gridlines() {
// not implement
}

/**
* Set the option to hide gridlines on the worksheet (as seen on the screen).
*
* @access public
*/
function hide_screen_gridlines() {
// not implement
}

/**
* Insert a 24bit bitmap image in a worksheet.
*
* @access public
* @param integer $row The row we are going to insert the bitmap into
* @param integer $col The column we are going to insert the bitmap into
* @param string $bitmap The bitmap filename
* @param integer $x The horizontal position (offset) of the image inside the cell.
* @param integer $y The vertical position (offset) of the image inside the cell.
* @param integer $scale_x The horizontal scale
* @param integer $scale_y The vertical scale
*/
function insert_bitmap($row, $col, $bitmap, $x = 0, $y = 0, $scale_x = 1, $scale_y = 1) {
// not implement
}
/**
* Merges the area given by its arguments.
* merging than the normal setAlign('merge').
*
* @access public
* @param integer $first_row First row of the area to merge
* @param integer $first_col First column of the area to merge
* @param integer $last_row Last row of the area to merge
* @param integer $last_col Last column of the area to merge
*/
function merge_cells($first_row, $first_col, $last_row, $last_col) {
// not implement
}

}

Expand Down Expand Up @@ -794,4 +852,4 @@ function get_ods_manifest() {
<manifest:file-entry manifest:media-type="text/xml" manifest:full-path="meta.xml"/>
</manifest:manifest>';
}
?>
?>

0 comments on commit d1a734f

Please sign in to comment.