\PHPExcel_Writer_OpenDocument_Content

PHPExcel_Writer_OpenDocument_Content

Copyright (c) 2006 - 2015 PHPExcel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Summary

Methods
Properties
Constants
setParentWriter()
getParentWriter()
__construct()
write()
No public properties found
NUMBER_COLS_REPEATED_MAX
NUMBER_ROWS_REPEATED_MAX
No protected methods found
No protected properties found
N/A
writeSheets()
writeRows()
writeCells()
writeCellSpan()
$parentWriter
N/A

Constants

NUMBER_COLS_REPEATED_MAX

NUMBER_COLS_REPEATED_MAX = 1024

NUMBER_ROWS_REPEATED_MAX

NUMBER_ROWS_REPEATED_MAX = 1048576

Properties

Methods

setParentWriter()

setParentWriter(\PHPExcel_Writer_IWriter  $pWriter = null) 

Set parent IWriter object

Parameters

\PHPExcel_Writer_IWriter $pWriter

Throws

\PHPExcel_Writer_Exception

getParentWriter()

getParentWriter() : \PHPExcel_Writer_IWriter

Get parent IWriter object

Throws

\PHPExcel_Writer_Exception

Returns

\PHPExcel_Writer_IWriter

__construct()

__construct(\PHPExcel_Writer_IWriter  $pWriter = null) 

Set parent IWriter object

Parameters

\PHPExcel_Writer_IWriter $pWriter

Throws

\PHPExcel_Writer_Exception

write()

write(\PHPExcel  $pPHPExcel = null) : string

Write content.xml to XML format

Parameters

\PHPExcel $pPHPExcel

Throws

\PHPExcel_Writer_Exception

Returns

string —

XML Output

writeCellSpan()

writeCellSpan(\PHPExcel_Shared_XMLWriter  $objWriter, integer  $curColumn, integer  $prevColumn) 

Write span

Parameters

\PHPExcel_Shared_XMLWriter $objWriter
integer $curColumn
integer $prevColumn