Smart.Framework Logo

final class \SmartExportToOpenOffice
{ } ->

Class: SmartExportToOpenOffice - Exports (structured) Data to OpenOffice ODS Spreadsheet.


class Methods

public function __construct ( $y_font_size = "9pt", $y_styles = false ) {} @ 
public function ODS_Mime_Header ( ) {} -> STRING
@return: {STRING} 'application/vnd.oasis.opendocument.spreadsheet'
Get the ODS Document Mime Type Header Data
public function ODS_Disposition_Header ( STRING $y_filename = "file.ods", ENUM $y_disp = "attachment" ) {} -> STRING
@return: {STRING} 'attachment; filename="somedoc.ods"' or 'inline; filename="somedoc.ods"'
@param: {STRING} $y_filename: The ODS Document file name: default is: file.ods
@param: {ENUM} $y_disp: The content disposition, default is: inline ; can be also: attachment
Get the ODS Document FileName Header Data
public function ODS_SpreadSheet ( STRING $y_table_name, STRING $y_arr_fields, STRING $y_arr_data, $y_arr_process = [], $y_arr_totals = [], $y_arr_finals = [], $y_arr_widths = [], $y_arr_highlights = [] ) {} -> STRING
@param: {STRING} $y_table_name: The Table Name
@param: {STRING} $y_arr_fields: Array of Header Fields
@param: {STRING} $y_arr_data: Array of Data
Generate the ODS Document on the fly from an array of data

class Properties


class Constants



documentation generated on: 2023-10-19 23:15:58 +0000


Smart.Framework © 2009-2023 unix-world.org