~ubuntu-branches/ubuntu/jaunty/moodle/jaunty

« back to all changes in this revision

Viewing changes to lib/odslib.class.php

  • Committer: Bazaar Package Importer
  • Author(s): Jordan Mantha, Matt Oquist
  • Date: 2009-02-25 15:16:22 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20090225151622-0ekt1liwhv2obfza
Tags: 1.9.4.dfsg-0ubuntu1
* Merge with Debian git (Closes LP: #322961, #239481, #334611):
  - use Ubuntu's smarty lib directory for linking
  - use internal yui library 
  - add update-notifier support back in

[Matt Oquist]
  * renamed prerm script
  * significantly rewrote postinst and other maintainer scripts to improve
    user experience and package maintainability
    (Closes LP: #225662, #325450, #327843, #303078, #234609)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php // $Id: odslib.class.php,v 1.9 2006/12/25 18:22:28 skodak Exp $
 
1
<?php // $Id: odslib.class.php,v 1.10.2.1 2008/04/16 07:05:06 dongsheng Exp $
2
2
 
3
3
///////////////////////////////////////////////////////////////////////////
4
4
//                                                                       //
7
7
// Moodle - Modular Object-Oriented Dynamic Learning Environment         //
8
8
//          http://moodle.com                                            //
9
9
//                                                                       //
10
 
// Copyright (C) 2001-3001 Martin Dougiamas        http://dougiamas.com  //
 
10
// Copyright (C) 1999 onwards Martin Dougiamas        http://dougiamas.com  //
11
11
//           (C) 2001-3001 Eloy Lafuente (stronk7) http://contiento.com  //
12
12
//           (C) 2001-3001 Petr Skoda (skodak)                           //
13
13
//                                                                       //
193
193
        $this->data[$row][$col]->format = $format;
194
194
    }
195
195
 
 
196
    /**
 
197
     * Write one formula somewhere in the worksheet
 
198
     *
 
199
     * @param integer $row    Zero indexed row
 
200
     * @param integer $col    Zero indexed column
 
201
     * @param string  $formula The formula to write
 
202
     * @param mixed   $format The XF format for the cell
 
203
     */
 
204
    function write_formula($row, $col, $formula, $format=null) {
 
205
        // not implement
 
206
    }
 
207
 
196
208
    /* Write one blanck somewhere in the worksheet
197
209
     * @param integer $row    Zero indexed row
198
210
     * @param integer $col    Zero indexed column
273
285
        }
274
286
    }
275
287
 
 
288
    /**
 
289
    * Set the option to hide gridlines on the printed page.
 
290
    *
 
291
    * @access public
 
292
    */
 
293
    function hide_gridlines() {
 
294
        // not implement
 
295
    }
 
296
 
 
297
    /**
 
298
    * Set the option to hide gridlines on the worksheet (as seen on the screen).
 
299
    *
 
300
    * @access public
 
301
    */
 
302
    function hide_screen_gridlines() {
 
303
        // not implement
 
304
    }
 
305
    
 
306
    /**
 
307
    * Insert a 24bit bitmap image in a worksheet.
 
308
    *
 
309
    * @access public
 
310
    * @param integer $row     The row we are going to insert the bitmap into
 
311
    * @param integer $col     The column we are going to insert the bitmap into
 
312
    * @param string  $bitmap  The bitmap filename
 
313
    * @param integer $x       The horizontal position (offset) of the image inside the cell.
 
314
    * @param integer $y       The vertical position (offset) of the image inside the cell.
 
315
    * @param integer $scale_x The horizontal scale
 
316
    * @param integer $scale_y The vertical scale
 
317
    */
 
318
    function insert_bitmap($row, $col, $bitmap, $x = 0, $y = 0, $scale_x = 1, $scale_y = 1) {
 
319
        // not implement
 
320
    }
 
321
    /**
 
322
    * Merges the area given by its arguments.
 
323
    * merging than the normal setAlign('merge').
 
324
    *
 
325
    * @access public
 
326
    * @param integer $first_row First row of the area to merge
 
327
    * @param integer $first_col First column of the area to merge
 
328
    * @param integer $last_row  Last row of the area to merge
 
329
    * @param integer $last_col  Last column of the area to merge
 
330
    */
 
331
    function merge_cells($first_row, $first_col, $last_row, $last_col) {
 
332
        // not implement
 
333
    }
276
334
}
277
335
 
278
336
/**
794
852
 <manifest:file-entry manifest:media-type="text/xml" manifest:full-path="meta.xml"/>
795
853
</manifest:manifest>';
796
854
}
797
 
?>
 
 
b'\\ No newline at end of file'
 
855
?>