Up to [LON-CAPA] / loncom / interface / spreadsheet
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Current tag: version_0_99_0
Added output selector and implemented excel output. Moved $spreadsheet->display() to Spreadsheet.pm instead of having it reside three times in the descendents of the spreadsheet object. Moved $spreadsheet->outsheet_excel() to Spreadsheet.pm for the same reason. Created Spreadsheet::output_selector, which allows the user to select the output mode they desire. Created $spreadsheet->excel_output_row which takes care of writing a row to an excel worksheet. classcalc.pm, studentcalc.pm, and assesscalc.pm each had the same work done on them: Created &excel_rows(), which writes the body of the spreadsheets to an excel file. Rewrote &get_title to return an array of title lines. Created &get_html_title to return an HTML version of the results of &get_title. classcalc.pm and Spreadsheet.pm each have the following change: Created &html_header to return appropriate HTML for the spreadsheet.